Home.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881
  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-y-line-chart-normal height="18.519vh" v-if="Powertrend" :list="Powertrend.value"
  176. :yAxises="PowertrendYAxises" :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" :units="MonthCompare.units"
  220. :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 MultipleYLineChartNormal from "../../../../components/chart/line/multiple-y-line-chart-normal.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. Panel3,
  256. SvgIcon,
  257. HoverBarChart,
  258. MultipleBarChart,
  259. NormalLineChart,
  260. LightMatrix,
  261. BtnGroupDouble,
  262. Station,
  263. MultipleBarLineChart,
  264. MultipleYLineChartNormal
  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. PowertrendYAxises: [{
  320. name: "功率",
  321. min: 0,
  322. // max: 500,
  323. unit: "(万kWh)",
  324. position: "left",
  325. },
  326. {
  327. name: "风速",
  328. min: 0,
  329. max: 30,
  330. unit: "(m/s)",
  331. position: "right",
  332. },
  333. ],
  334. // 月发电量对比
  335. MonthCompare: {
  336. data: [{
  337. title: "月发电量",
  338. yAxisIndex: 0,
  339. value: [],
  340. },
  341. {
  342. title: "月预测电量",
  343. yAxisIndex: 0,
  344. value: [],
  345. },
  346. ],
  347. units: ["(万KWh)", ""],
  348. },
  349. selectIndex: 0,
  350. rowIndex: 0,
  351. btnGroupsss: [{
  352. icon: "svg-wind-site",
  353. btns: [],
  354. },
  355. {
  356. icon: "svg-photovoltaic",
  357. btns: [],
  358. },
  359. ],
  360. };
  361. },
  362. // 函数
  363. methods: {
  364. getWp() {
  365. let that = this;
  366. that.API.requestData({
  367. method: "GET",
  368. subUrl: "powercompare/windfarmAllAjax",
  369. success(res) {
  370. let btnGroups = [{
  371. icon: "svg-wind-site",
  372. btns: [],
  373. },
  374. {
  375. icon: "svg-photovoltaic",
  376. btns: [],
  377. },
  378. ];
  379. res.data.forEach((ele, index) => {
  380. if (ele.id.indexOf("FDC") !== -1) {
  381. btnGroups[0].btns.push({
  382. text: ele.name,
  383. code: ele.id,
  384. });
  385. } else {
  386. btnGroups[1].btns.push({
  387. text: ele.name,
  388. code: ele.id,
  389. });
  390. }
  391. });
  392. that.btnGroupsss = btnGroups;
  393. that.renderBtnActiveIndex();
  394. },
  395. });
  396. },
  397. renderBtnActiveIndex() {
  398. this.btnGroupsss.forEach((pEle, pIndex) => {
  399. pEle.btns.forEach((cEle, cIndex) => {
  400. if (cEle.code === this.wpId) {
  401. this.rowIndex = pIndex;
  402. this.selectIndex = cIndex;
  403. }
  404. });
  405. });
  406. },
  407. select(res) {
  408. this.$router.replace({
  409. path: `/monitor/windsite/home/${res.code}`,
  410. });
  411. },
  412. // 根据风机状态码返回对应 class
  413. getColor(fjzt) {
  414. switch (fjzt) {
  415. case 0:
  416. return "green";
  417. case 1:
  418. return "purple";
  419. case 2:
  420. return "red";
  421. case 3:
  422. return "gray";
  423. case 4:
  424. return "orange";
  425. case 5:
  426. return "purple";
  427. case 6:
  428. return "write";
  429. }
  430. },
  431. // 请求服务
  432. requestData(showLoading) {
  433. this.requestWpInfo(showLoading);
  434. },
  435. // 获取场站监视数据
  436. requestWpInfo(showLoading) {
  437. let that = this;
  438. that.API.requestData({
  439. showLoading,
  440. method: "POST",
  441. subUrl: "monitor/findWpInfoBywpId",
  442. data: {
  443. wpId: that.wpId,
  444. },
  445. success(res) {
  446. if (res.data) {
  447. that.tqmap = res.data.tqmap;
  448. let fjmap = [];
  449. let keys = ["value2", "value1", "value5", "value4", "value7", "value6", "value9"];
  450. let Powertrend = {
  451. // 图表所用单位
  452. units: ["(万KWh)", "(风速)"],
  453. value: [{
  454. title: "实发功率",
  455. smooth: true, // 使用单位
  456. value: [],
  457. },
  458. {
  459. title: "理论功率",
  460. smooth: true, // 使用单位
  461. value: [],
  462. },
  463. {
  464. title: "保证功率",
  465. smooth: true, // 使用单位
  466. value: [],
  467. },
  468. {
  469. title: "4小时预测功率",
  470. smooth: true, // 使用单位
  471. value: [],
  472. },
  473. {
  474. title: "24小时预测功率",
  475. smooth: true, // 使用单位
  476. value: [],
  477. },
  478. {
  479. title: "平均风速",
  480. smooth: true, // 使用单位
  481. value: [],
  482. },
  483. {
  484. title: "最有功率律",
  485. smooth: true, // 使用单位
  486. value: [],
  487. },
  488. ],
  489. };
  490. let dayPieChartKey = [{
  491. key: "gzssdl",
  492. name: "故障损失电量",
  493. },
  494. {
  495. key: "jxssdl",
  496. name: "检修损失电量",
  497. },
  498. {
  499. key: "qfssdl",
  500. name: "性能损失电量",
  501. },
  502. {
  503. key: "slssdl",
  504. name: "受累损失电量",
  505. },
  506. {
  507. key: "xdssdl",
  508. name: "限电损失电量",
  509. },
  510. ];
  511. // 饼图 1 数据
  512. let dayData = [];
  513. // 饼图 2 数据
  514. let monthData = [];
  515. // 饼图 2 数据
  516. let yearData = [];
  517. res.data.fjjzmap.fjmap[0].forEach((ele) => {
  518. fjmap.push({
  519. tag: ele.wtnum,
  520. wtId: ele.wtId,
  521. wpId: ele.wpId,
  522. color: that.getColor(ele.fjzt),
  523. });
  524. });
  525. keys.forEach((key, keyIndex) => {
  526. res.data.glvos.forEach((ele) => {
  527. Powertrend.value[keyIndex].value.push({
  528. text: new Date(ele.time).formatDate("hh:mm"),
  529. value: ele[key],
  530. });
  531. });
  532. });
  533. dayPieChartKey.forEach((ele) => {
  534. dayData.push({
  535. value: res.data.wxssmap["r" + ele.key],
  536. unit: "万kwh",
  537. name: ele.name,
  538. });
  539. monthData.push({
  540. value: res.data.wxssmap["y" + ele.key] || 0,
  541. unit: "万kwh",
  542. name: ele.name,
  543. });
  544. yearData.push({
  545. value: res.data.wxssmap["n" + ele.key] || 0,
  546. unit: "万kwh",
  547. name: ele.name,
  548. });
  549. });
  550. that.fjmap = fjmap;
  551. that.Powertrend = Powertrend;
  552. that.jczbmap = res.data.jczbmap;
  553. that.pieChartData = {
  554. dayData,
  555. monthData,
  556. yearData,
  557. };
  558. } else {
  559. that.fjmap = [];
  560. that.Powertrend = {};
  561. that.jczbmap = {};
  562. that.pieChartData = {
  563. dayData: [],
  564. monthData: [],
  565. yearData: [],
  566. };
  567. }
  568. },
  569. });
  570. },
  571. // 获取日度损失电量分析
  572. requestLoss(showLoading) {
  573. let that = this;
  574. that.API.requestData({
  575. showLoading,
  576. method: "POST",
  577. subUrl: "monitor/findLossWpBar",
  578. data: {
  579. wpId: that.wpId,
  580. },
  581. success(res) {
  582. let dayLost = [];
  583. res.data.forEach((ele) => {
  584. dayLost.push({
  585. text: ele.timestr,
  586. value: ele.value1,
  587. });
  588. });
  589. that.dayLost = dayLost;
  590. },
  591. });
  592. },
  593. // 获取完成电量
  594. requestPower(showLoading) {
  595. let that = this;
  596. that.API.requestData({
  597. showLoading,
  598. method: "POST",
  599. subUrl: "monitor/findPowerWpBar",
  600. data: {
  601. wpId: that.wpId,
  602. },
  603. success(res) {
  604. let data = [{
  605. title: "发电量",
  606. yAxisIndex: 0,
  607. value: [],
  608. },
  609. {
  610. title: "预测电量",
  611. yAxisIndex: 0,
  612. value: [],
  613. },
  614. ];
  615. let lineData = {
  616. name: "风速",
  617. unit: "km",
  618. data: [],
  619. };
  620. res.data.forEach((ele) => {
  621. data[0].value.push({
  622. text: ele.timestr,
  623. value: ele.value1 || 0,
  624. });
  625. data[1].value.push({
  626. text: ele.timestr,
  627. value: ele.value2 || 0,
  628. });
  629. lineData.data.push(ele.value3 || 0);
  630. });
  631. that.CompleteElectricity.data = data;
  632. that.CompleteElectricity.lineData = lineData;
  633. },
  634. });
  635. },
  636. // 获取月发电量对比
  637. requestMonthPower(showLoading) {
  638. let that = this;
  639. that.API.requestData({
  640. showLoading,
  641. method: "POST",
  642. subUrl: "monitor/findMonthPowerWpBar",
  643. data: {
  644. wpId: that.wpId,
  645. },
  646. success(res) {
  647. let data = [{
  648. title: "月发电量",
  649. yAxisIndex: 0,
  650. value: [],
  651. },
  652. {
  653. title: "月预测电量",
  654. yAxisIndex: 0,
  655. value: [],
  656. },
  657. ];
  658. let lineData = {
  659. name: "风速",
  660. unit: "km",
  661. data: [],
  662. };
  663. res.data.forEach((ele) => {
  664. data[0].value.push({
  665. text: ele.timestr,
  666. value: ele.value1,
  667. });
  668. data[1].value.push({
  669. text: ele.timestr,
  670. value: ele.value2,
  671. });
  672. lineData.data.push(ele.value3 || 0);
  673. });
  674. that.MonthCompare.data = data;
  675. that.MonthCompare.lineData = lineData;
  676. },
  677. });
  678. },
  679. },
  680. created() {
  681. let that = this;
  682. that.wpId = that.$route.params.wpId;
  683. that.$nextTick(() => {
  684. that.getWp();
  685. that.requestData(false);
  686. that.requestLoss(false);
  687. that.requestPower(false);
  688. that.requestMonthPower(false);
  689. that.timmer = setInterval(() => {
  690. that.requestData(false);
  691. }, 60000);
  692. that.timmer2 = setInterval(() => {
  693. that.nowTime = new Date().formatDate("hh:mm:ss");
  694. }, 1000);
  695. });
  696. },
  697. mounted() {},
  698. unmounted() {
  699. clearInterval(this.timmer);
  700. clearInterval(this.timmer2);
  701. this.timmer = null;
  702. this.timmer2 = null;
  703. },
  704. watch: {
  705. $route(res) {
  706. this.wpId = res.params.wpId;
  707. if (res.params.wpId) {
  708. this.requestData(false);
  709. this.renderBtnActiveIndex();
  710. }
  711. },
  712. },
  713. };
  714. </script>
  715. <style lang="less">
  716. .wind-site-home {
  717. .first-info {
  718. display: flex;
  719. }
  720. .wind-site-info {
  721. margin-left: 0.7407vh;
  722. flex: 1 0 auto;
  723. padding: 8px;
  724. &>.row {
  725. height: 100%;
  726. }
  727. .info-item {
  728. text-align: center;
  729. flex: 1;
  730. .value {
  731. font-size: 14px;
  732. margin: 8px 0;
  733. }
  734. .text {
  735. font-size: 12px;
  736. color: @gray;
  737. }
  738. }
  739. }
  740. .wind-running-info {
  741. margin-left: 8px;
  742. padding: 8px;
  743. flex: 1 1 auto;
  744. &>.row {
  745. height: 100%;
  746. }
  747. .fengji {
  748. display: flex;
  749. align-content: center;
  750. flex: 0 0 auto;
  751. .fengji-icon {
  752. padding: 12px;
  753. border-radius: 50%;
  754. box-shadow: inset 1.5px -1px 1px 0px @green;
  755. svg {
  756. width: 32px;
  757. height: 32px;
  758. }
  759. }
  760. .info {
  761. width: 60px;
  762. display: flex;
  763. flex-direction: column;
  764. justify-content: center;
  765. .text {
  766. text-align: center;
  767. font-size: 12px;
  768. margin-bottom: 1.111vh;
  769. }
  770. .value {
  771. text-align: center;
  772. font-size: 24px;
  773. }
  774. }
  775. }
  776. .situation {
  777. flex: 1 1 auto;
  778. margin-left: 1.481vh;
  779. .row+.row {
  780. margin: 0;
  781. }
  782. .status {
  783. flex: 1;
  784. // width: 75px;
  785. display: flex;
  786. // align-items: center;
  787. justify-content: center;
  788. padding: 4px 0;
  789. svg {
  790. width: 18px;
  791. height: 18px;
  792. margin-right: 4px;
  793. }
  794. .text {
  795. font-size: 12px;
  796. flex: auto;
  797. }
  798. .value {
  799. text-align: center;
  800. font-size: 12px;
  801. padding-right: 0.741vh;
  802. }
  803. }
  804. .icon-status {
  805. .text {
  806. font-size: 12px;
  807. font-weight: 600;
  808. }
  809. }
  810. }
  811. }
  812. .light-matrix-panel {
  813. height: 100%;
  814. .panel-body {
  815. height: 100%;
  816. }
  817. }
  818. }
  819. .btn-group-tabs {
  820. display: flex;
  821. flex-direction: row;
  822. }
  823. </style>