Home.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  1. <template>
  2. <div>
  3. <div class="btn-group-tabs">
  4. <BtnGroup2 :btnGroups="btnGroupsss" :rowIndex="rowIndex" :index="selectIndex" @select="select"></BtnGroup2>
  5. </div>
  6. <div class="wind-site-home">
  7. <div class="mg-b-16">
  8. <btn-group-double :btnGroups="btnGroups" :rowIndex="0" :index="1" @select="select" />
  9. </div>
  10. <row>
  11. <wind-site-weather :time="nowTime" :data="tqmap" />
  12. <panel-3 class="wind-site-info">
  13. <row align="middle">
  14. <div class="info-item">
  15. <div class="text">装机容量</div>
  16. <div class="value">{{ jczbmap.zjrl }}</div>
  17. <div class="text">MW</div>
  18. </div>
  19. <div class="info-item">
  20. <div class="text">日发电量</div>
  21. <div class="value">{{ jczbmap.rfdl }}</div>
  22. <div class="text">万KWh</div>
  23. </div>
  24. <div class="info-item">
  25. <div class="text">月发电量</div>
  26. <div class="value">{{ jczbmap.yfdl }}</div>
  27. <div class="text">万KWh</div>
  28. </div>
  29. <div class="info-item">
  30. <div class="text">年发电量</div>
  31. <div class="value">{{ jczbmap.nfdl }}</div>
  32. <div class="text">万KWh</div>
  33. </div>
  34. <div class="info-item">
  35. <div class="text">月利用小时</div>
  36. <div class="value">{{ jczbmap.ylyxs }}</div>
  37. <div class="text">小时</div>
  38. </div>
  39. <div class="info-item">
  40. <div class="text">年利用小时</div>
  41. <div class="value">{{ jczbmap.nlyxs }}</div>
  42. <div class="text">小时</div>
  43. </div>
  44. <div class="info-item">
  45. <div class="text">实时风速</div>
  46. <div class="value">{{ jczbmap.ssfs }}</div>
  47. <div class="text">m/s</div>
  48. </div>
  49. <div class="info-item">
  50. <div class="text">实时功率</div>
  51. <div class="value">{{ jczbmap.sjgl }}</div>
  52. <div class="text">MW</div>
  53. </div>
  54. </row>
  55. </panel-3>
  56. <panel-3 class="wind-running-info">
  57. <row align="middle">
  58. <div class="fengji">
  59. <div class="fengji-icon svg-icon svg-icon-white">
  60. <svg-icon class="" svgid="svg-风机" />
  61. </div>
  62. <div class="info">
  63. <div class="text green">接入风机</div>
  64. <div class="value">{{ jczbmap.jrts }}</div>
  65. </div>
  66. </div>
  67. <div class="situation">
  68. <row class="icon-status">
  69. <div class="status">
  70. <span class="svg-icon svg-icon-green">
  71. <svg-icon svgid="svg-standby" />
  72. </span>
  73. <span class="text green">
  74. 待机
  75. </span>
  76. </div>
  77. <div class="status">
  78. <span class="svg-icon svg-icon-purple">
  79. <svg-icon svgid="svg-normal-power" />
  80. </span>
  81. <span class="text purple">
  82. 运行
  83. </span>
  84. </div>
  85. <div class="status">
  86. <span class="svg-icon svg-icon-pink">
  87. <svg-icon svgid="svg-limit-power" />
  88. </span>
  89. <span class="text pink">
  90. 限电
  91. </span>
  92. </div>
  93. <div class="status">
  94. <span class="svg-icon svg-icon-red">
  95. <svg-icon svgid="svg-gz-downtime" />
  96. </span>
  97. <span class="text red">
  98. 故障
  99. </span>
  100. </div>
  101. <div class="status">
  102. <span class="svg-icon svg-icon-orange">
  103. <svg-icon svgid="svg-jx-downtime" />
  104. </span>
  105. <span class="text orange">
  106. 检修
  107. </span>
  108. </div>
  109. <div class="status">
  110. <span class="svg-icon svg-icon-gray">
  111. <svg-icon svgid="svg-offline" />
  112. </span>
  113. <span class="text gray">
  114. 离线
  115. </span>
  116. </div>
  117. <div class="status">
  118. <span class="svg-icon svg-icon-white">
  119. <svg-icon svgid="svg-intranet-involvement" />
  120. </span>
  121. <span class="text white">
  122. 受累
  123. </span>
  124. </div>
  125. </row>
  126. <row>
  127. <div class="status">
  128. <span class="value">
  129. {{ jczbmap.djnum }}
  130. </span>
  131. </div>
  132. <div class="status">
  133. <span class="value">
  134. {{ jczbmap.zcfdnum }}
  135. </span>
  136. </div>
  137. <div class="status">
  138. <span class="value">
  139. {{ jczbmap.xdjclnum }}
  140. </span>
  141. </div>
  142. <div class="status">
  143. <span class="value">
  144. {{ jczbmap.gztjnum }}
  145. </span>
  146. </div>
  147. <div class="status">
  148. <span class="value">
  149. {{ jczbmap.jxtjnum }}
  150. </span>
  151. </div>
  152. <div class="status">
  153. <span class="value">
  154. {{ jczbmap.dwslnum }}
  155. </span>
  156. </div>
  157. <div class="status">
  158. <span class="value">
  159. {{ jczbmap.lxnum }}
  160. </span>
  161. </div>
  162. </row>
  163. </div>
  164. </row>
  165. </panel-3>
  166. </row>
  167. <div class="first-info mg-t-16 mg-b-16">
  168. <div style="flex:0 1 450px;">
  169. <panel title="场站">
  170. <station height="18.519vh" />
  171. </panel>
  172. </div>
  173. <div class="mg-l-16" style="flex:1 1 auto;" ref="lineChart">
  174. <panel title="72小时功率曲线图">
  175. <multiple-line-chart height="18.519vh" v-if="Powertrend" :list="Powertrend.value"
  176. :units="Powertrend.units" :showLegend="true" />
  177. </panel>
  178. </div>
  179. <div class="mg-l-16" style="flex:0 0 400px;">
  180. <panel class="light-matrix-panel">
  181. <light-matrix :list="fjmap" />
  182. </panel>
  183. </div>
  184. </div>
  185. <row>
  186. <Col :span="8">
  187. <panel title="日度损失电量分析">
  188. <dual-pie-chart :innerData="pieChartData.dayData" :outerData="pieChartData.dayData"
  189. height="21.296vh" />
  190. </panel>
  191. </Col>
  192. <Col :span="8">
  193. <panel title="月度损失电量分析">
  194. <dual-pie-chart :innerData="pieChartData.monthData" :outerData="pieChartData.monthData"
  195. height="21.296vh" />
  196. </panel>
  197. </Col>
  198. <Col :span="8">
  199. <panel title="年度损失电量分析">
  200. <dual-pie-chart :innerData="pieChartData.yearData" :outerData="pieChartData.yearData"
  201. height="21.296vh" />
  202. </panel>
  203. </Col>
  204. </row>
  205. <row>
  206. <Col :span="8">
  207. <panel title="日度损失电量分析">
  208. <hover-bar-chart :list="dayLost" height="21.296vh" />
  209. </panel>
  210. </Col>
  211. <Col :span="8">
  212. <panel title="日发电量对比">
  213. <multiple-bar-line-chart height="21.296vh" :barData="CompleteElectricity.data"
  214. :units="CompleteElectricity.units" :lineData="CompleteElectricity.lineData"/>
  215. </panel>
  216. </Col>
  217. <Col :span="8">
  218. <panel title="月发电量对比">
  219. <multiple-bar-line-chart height="21.296vh" :barData="MonthCompare.data"
  220. :units="MonthCompare.units" :lineData="MonthCompare.lineData"/>
  221. </panel>
  222. </Col>
  223. </row>
  224. </div>
  225. </div>
  226. </template>
  227. <script>
  228. import HoverBarChart from "../../../../components/chart/bar/hover-bar-chart.vue";
  229. import MultipleBarChart from "../../../../components/chart/bar/multiple-bar-chart.vue";
  230. import MultipleBarLineChart from "../../../../components/chart/combination/multiple-bar-line-chart.vue";
  231. import MultipleLineChart from "../../../../components/chart/line/double-line-chart.vue";
  232. import NormalLineChart from "../../../../components/chart/line/normal-line-chart.vue";
  233. import DualPieChart from "../../../../components/chart/pie/dual-pie-chart.vue";
  234. import BtnGroupDouble from "../../../../components/coms/btn/btn-group-double.vue";
  235. import Col from "../../../../components/coms/grid/col.vue";
  236. import Row from "../../../../components/coms/grid/row.vue";
  237. import SvgIcon from "../../../../components/coms/icon/svg-icon.vue";
  238. import Panel from "../../../../components/coms/panel/panel.vue";
  239. import Panel3 from "../../../../components/coms/panel/panel3.vue";
  240. import LightMatrix from "./light-matrix.vue";
  241. import Station from "./Station.vue";
  242. import WindSiteWeather from "./wind-site-weather.vue";
  243. import BtnGroup2 from "@com/coms/btn/btn-group-double.vue";
  244. export default {
  245. // 名称
  246. name: "WindSiteHome",
  247. // 使用组件
  248. components: {
  249. BtnGroup2,
  250. WindSiteWeather,
  251. Row,
  252. Col,
  253. Panel,
  254. DualPieChart,
  255. MultipleLineChart,
  256. Panel3,
  257. SvgIcon,
  258. HoverBarChart,
  259. MultipleBarChart,
  260. NormalLineChart,
  261. LightMatrix,
  262. BtnGroupDouble,
  263. Station,
  264. MultipleBarLineChart
  265. },
  266. // 数据
  267. data() {
  268. return {
  269. timmer: null, // 计时器
  270. timmer2: null,
  271. nowTime: "", // 时间
  272. fjmap: [], // 分机矩阵
  273. tqmap: {}, // 天气数据
  274. glvos: {}, // 72小时功率曲线图
  275. wxssmap: {}, // 五项损失饼图数据
  276. jczbmap: {}, // 顶部基础数据
  277. dayLost: [], // 日度损失电量分析柱状图
  278. donePower: [], // 完成电量柱状图
  279. // 饼图数据
  280. pieChartData: {
  281. // 日度
  282. dayData: [{
  283. title: "",
  284. value: [],
  285. }, ],
  286. // 月度
  287. monthData: [{
  288. title: "",
  289. value: [],
  290. }, ],
  291. // 年度
  292. yearData: [{
  293. title: "",
  294. value: [],
  295. }, ],
  296. },
  297. // 完成电量
  298. CompleteElectricity: {
  299. data: [{
  300. title: "发电量",
  301. yAxisIndex: 0,
  302. value: [],
  303. },
  304. {
  305. title: "预测电量",
  306. yAxisIndex: 0,
  307. value: [],
  308. },
  309. ],
  310. units: ["(万KWh)", ""],
  311. },
  312. // 4小时功率曲线图
  313. Powertrend: {
  314. value: [{
  315. title: "",
  316. value: [],
  317. }, ],
  318. },
  319. // 月发电量对比
  320. MonthCompare: {
  321. data: [{
  322. title: "月发电量",
  323. yAxisIndex: 0,
  324. value: [],
  325. },
  326. {
  327. title: "月预测电量",
  328. yAxisIndex: 0,
  329. value: [],
  330. },
  331. ],
  332. units: ["(万KWh)", ""],
  333. },
  334. selectIndex: 0,
  335. rowIndex: 0,
  336. btnGroupsss: [{
  337. icon: "svg-wind-site",
  338. btns: [],
  339. },
  340. {
  341. icon: "svg-photovoltaic",
  342. btns: [],
  343. },
  344. ],
  345. };
  346. },
  347. // 函数
  348. methods: {
  349. getWp() {
  350. let that = this;
  351. that.API.requestData({
  352. method: "GET",
  353. subUrl: "powercompare/windfarmAllAjax",
  354. success(res) {
  355. let btnGroups = [{
  356. icon: "svg-wind-site",
  357. btns: [],
  358. },
  359. {
  360. icon: "svg-photovoltaic",
  361. btns: [],
  362. },
  363. ];
  364. res.data.forEach((ele, index) => {
  365. if (ele.id.indexOf("FDC") !== -1) {
  366. btnGroups[0].btns.push({
  367. text: ele.name,
  368. code: ele.id,
  369. });
  370. } else {
  371. btnGroups[1].btns.push({
  372. text: ele.name,
  373. code: ele.id,
  374. });
  375. }
  376. });
  377. that.btnGroupsss = btnGroups;
  378. that.renderBtnActiveIndex();
  379. },
  380. });
  381. },
  382. renderBtnActiveIndex() {
  383. this.btnGroupsss.forEach((pEle, pIndex) => {
  384. pEle.btns.forEach((cEle, cIndex) => {
  385. if (cEle.code === this.wpId) {
  386. this.rowIndex = pIndex;
  387. this.selectIndex = cIndex;
  388. }
  389. });
  390. });
  391. },
  392. select(res) {
  393. this.$router.replace({
  394. path: `/monitor/windsite/home/${res.code}`,
  395. });
  396. },
  397. // 根据风机状态码返回对应 class
  398. getColor(fjzt) {
  399. switch (fjzt) {
  400. case 0:
  401. return "green";
  402. case 1:
  403. return "purple";
  404. case 2:
  405. return "red";
  406. case 3:
  407. return "gray";
  408. case 4:
  409. return "orange";
  410. case 5:
  411. return "purple";
  412. case 6:
  413. return "write";
  414. }
  415. },
  416. // 请求服务
  417. requestData(showLoading) {
  418. this.requestWpInfo(showLoading);
  419. },
  420. // 获取场站监视数据
  421. requestWpInfo(showLoading) {
  422. let that = this;
  423. that.API.requestData({
  424. showLoading,
  425. method: "POST",
  426. subUrl: "monitor/findWpInfoBywpId",
  427. data: {
  428. wpId: that.wpId,
  429. },
  430. success(res) {
  431. if (res.data) {
  432. that.tqmap = res.data.tqmap;
  433. let fjmap = [];
  434. let keys = ["value2", "value1", "value5", "value4", "value7", "value6", "value9"];
  435. let Powertrend = {
  436. // 图表所用单位
  437. units: ["(万KWh)", "(风速)"],
  438. value: [{
  439. title: "实发功率",
  440. smooth: true, // 使用单位
  441. value: [],
  442. },
  443. {
  444. title: "理论功率",
  445. smooth: true, // 使用单位
  446. value: [],
  447. },
  448. {
  449. title: "保证功率",
  450. smooth: true, // 使用单位
  451. value: [],
  452. },
  453. {
  454. title: "4小时预测功率",
  455. smooth: true, // 使用单位
  456. value: [],
  457. },
  458. {
  459. title: "24小时预测功率",
  460. smooth: true, // 使用单位
  461. value: [],
  462. },
  463. {
  464. title: "平均风速",
  465. smooth: true, // 使用单位
  466. value: [],
  467. },
  468. {
  469. title: "最有功率律",
  470. smooth: true, // 使用单位
  471. value: [],
  472. },
  473. ],
  474. };
  475. let dayPieChartKey = [{
  476. key: "gzssdl",
  477. name: "故障损失电量",
  478. },
  479. {
  480. key: "jxssdl",
  481. name: "检修损失电量",
  482. },
  483. {
  484. key: "qfssdl",
  485. name: "性能损失电量",
  486. },
  487. {
  488. key: "slssdl",
  489. name: "受累损失电量",
  490. },
  491. {
  492. key: "xdssdl",
  493. name: "限电损失电量",
  494. },
  495. ];
  496. // 饼图 1 数据
  497. let dayData = [];
  498. // 饼图 2 数据
  499. let monthData = [];
  500. // 饼图 2 数据
  501. let yearData = [];
  502. res.data.fjjzmap.fjmap[0].forEach((ele) => {
  503. fjmap.push({
  504. tag: ele.wtnum,
  505. wtId: ele.wtId,
  506. wpId: ele.wpId,
  507. color: that.getColor(ele.fjzt),
  508. });
  509. });
  510. keys.forEach((key, keyIndex) => {
  511. res.data.glvos.forEach((ele) => {
  512. Powertrend.value[keyIndex].value.push({
  513. text: new Date(ele.time).formatDate("hh:mm"),
  514. value: ele[key],
  515. });
  516. });
  517. });
  518. dayPieChartKey.forEach((ele) => {
  519. dayData.push({
  520. value: res.data.wxssmap["r" + ele.key],
  521. unit: "万kwh",
  522. name: ele.name,
  523. });
  524. monthData.push({
  525. value: res.data.wxssmap["y" + ele.key] || 0,
  526. unit: "万kwh",
  527. name: ele.name,
  528. });
  529. yearData.push({
  530. value: res.data.wxssmap["n" + ele.key] || 0,
  531. unit: "万kwh",
  532. name: ele.name,
  533. });
  534. });
  535. that.fjmap = fjmap;
  536. that.Powertrend = Powertrend;
  537. that.jczbmap = res.data.jczbmap;
  538. that.pieChartData = {
  539. dayData,
  540. monthData,
  541. yearData,
  542. };
  543. } else {
  544. that.fjmap = [];
  545. that.Powertrend = {};
  546. that.jczbmap = {};
  547. that.pieChartData = {
  548. dayData: [],
  549. monthData: [],
  550. yearData: [],
  551. };
  552. }
  553. },
  554. });
  555. },
  556. // 获取日度损失电量分析
  557. requestLoss(showLoading) {
  558. let that = this;
  559. that.API.requestData({
  560. showLoading,
  561. method: "POST",
  562. subUrl: "monitor/findLossWpBar",
  563. data: {
  564. wpId: that.wpId,
  565. },
  566. success(res) {
  567. let dayLost = [];
  568. res.data.forEach((ele) => {
  569. dayLost.push({
  570. text: ele.timestr,
  571. value: ele.value1,
  572. });
  573. });
  574. that.dayLost = dayLost;
  575. },
  576. });
  577. },
  578. // 获取完成电量
  579. requestPower(showLoading) {
  580. let that = this;
  581. that.API.requestData({
  582. showLoading,
  583. method: "POST",
  584. subUrl: "monitor/findPowerWpBar",
  585. data: {
  586. wpId: that.wpId,
  587. },
  588. success(res) {
  589. let data = [{
  590. title: "发电量",
  591. yAxisIndex: 0,
  592. value: [],
  593. },
  594. {
  595. title: "预测电量",
  596. yAxisIndex: 0,
  597. value: [],
  598. },
  599. ];
  600. let lineData = {
  601. name: "风速",
  602. unit: "km",
  603. data: [],
  604. };
  605. res.data.forEach((ele) => {
  606. data[0].value.push({
  607. text: ele.timestr,
  608. value: ele.value1 || 0,
  609. });
  610. data[1].value.push({
  611. text: ele.timestr,
  612. value: ele.value2 || 0,
  613. });
  614. lineData.data.push(ele.value3 || 0);
  615. });
  616. that.CompleteElectricity.data = data;
  617. that.CompleteElectricity.lineData = lineData;
  618. },
  619. });
  620. },
  621. // 获取月发电量对比
  622. requestMonthPower(showLoading) {
  623. let that = this;
  624. that.API.requestData({
  625. showLoading,
  626. method: "POST",
  627. subUrl: "monitor/findMonthPowerWpBar",
  628. data: {
  629. wpId: that.wpId,
  630. },
  631. success(res) {
  632. let data = [{
  633. title: "月发电量",
  634. yAxisIndex: 0,
  635. value: [],
  636. },
  637. {
  638. title: "月预测电量",
  639. yAxisIndex: 0,
  640. value: [],
  641. },
  642. ];
  643. let lineData = {
  644. name: "风速",
  645. unit: "km",
  646. data: [],
  647. };
  648. res.data.forEach((ele) => {
  649. data[0].value.push({
  650. text: ele.timestr,
  651. value: ele.value1,
  652. });
  653. data[1].value.push({
  654. text: ele.timestr,
  655. value: ele.value2,
  656. });
  657. lineData.data.push(ele.value3 || 0);
  658. });
  659. that.MonthCompare.data = data;
  660. that.MonthCompare.lineData = lineData;
  661. },
  662. });
  663. },
  664. },
  665. created() {
  666. let that = this;
  667. that.wpId = that.$route.params.wpId;
  668. that.$nextTick(() => {
  669. that.getWp();
  670. that.requestData(false);
  671. that.requestLoss(false);
  672. that.requestPower(false);
  673. that.requestMonthPower(false);
  674. that.timmer = setInterval(() => {
  675. that.requestData(false);
  676. }, 60000);
  677. that.timmer2 = setInterval(() => {
  678. that.nowTime = new Date().formatDate("hh:mm:ss");
  679. }, 1000);
  680. });
  681. },
  682. mounted() {},
  683. unmounted() {
  684. clearInterval(this.timmer);
  685. clearInterval(this.timmer2);
  686. this.timmer = null;
  687. this.timmer2 = null;
  688. },
  689. watch: {
  690. $route(res) {
  691. this.wpId = res.params.wpId;
  692. if (res.params.wpId) {
  693. this.requestData(false);
  694. this.renderBtnActiveIndex();
  695. }
  696. },
  697. },
  698. };
  699. </script>
  700. <style lang="less">
  701. .wind-site-home {
  702. .first-info {
  703. display: flex;
  704. }
  705. .wind-site-info {
  706. margin-left: 0.7407vh;
  707. flex: 1 0 auto;
  708. padding: 8px;
  709. &>.row {
  710. height: 100%;
  711. }
  712. .info-item {
  713. text-align: center;
  714. flex: 1;
  715. .value {
  716. font-size: 14px;
  717. margin: 8px 0;
  718. }
  719. .text {
  720. font-size: 12px;
  721. color: @gray;
  722. }
  723. }
  724. }
  725. .wind-running-info {
  726. margin-left: 8px;
  727. padding: 8px;
  728. flex: 1 1 auto;
  729. &>.row {
  730. height: 100%;
  731. }
  732. .fengji {
  733. display: flex;
  734. align-content: center;
  735. flex: 0 0 auto;
  736. .fengji-icon {
  737. padding: 12px;
  738. border-radius: 50%;
  739. box-shadow: inset 1.5px -1px 1px 0px @green;
  740. svg {
  741. width: 32px;
  742. height: 32px;
  743. }
  744. }
  745. .info {
  746. width: 60px;
  747. display: flex;
  748. flex-direction: column;
  749. justify-content: center;
  750. .text {
  751. text-align: center;
  752. font-size: 12px;
  753. margin-bottom: 1.111vh;
  754. }
  755. .value {
  756. text-align: center;
  757. font-size: 24px;
  758. }
  759. }
  760. }
  761. .situation {
  762. flex: 1 1 auto;
  763. margin-left: 1.481vh;
  764. .row+.row {
  765. margin: 0;
  766. }
  767. .status {
  768. flex: 1;
  769. // width: 75px;
  770. display: flex;
  771. // align-items: center;
  772. justify-content: center;
  773. padding: 4px 0;
  774. svg {
  775. width: 18px;
  776. height: 18px;
  777. margin-right: 4px;
  778. }
  779. .text {
  780. font-size: 12px;
  781. flex: auto;
  782. }
  783. .value {
  784. text-align: center;
  785. font-size: 12px;
  786. padding-right: 0.741vh;
  787. }
  788. }
  789. .icon-status {
  790. .text {
  791. font-size: 12px;
  792. font-weight: 600;
  793. }
  794. }
  795. }
  796. }
  797. .light-matrix-panel {
  798. height: 100%;
  799. .panel-body {
  800. height: 100%;
  801. }
  802. }
  803. }
  804. .btn-group-tabs {
  805. display: flex;
  806. flex-direction: row;
  807. }
  808. </style>