index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  1. <template>
  2. <div class="dustMonitor">
  3. <customHeader>色谱仪报表分析</customHeader>
  4. <div class="content-container">
  5. <div class="file-list">
  6. <ul>
  7. <li v-for="item in selectList" :key="item.id" :class="{ selected: item.id === selectedFileId }" @click="handleFileClick(item)">
  8. {{ item.fileName }}
  9. </li>
  10. </ul>
  11. </div>
  12. <div class="table-container">
  13. <a-table :columns="computedColumns" :data-source="tableData" size="small" :pagination="false" :scroll="{ y: 300 }" class="tableW">
  14. <template #bodyCell="{ column, record }">
  15. <template v-if="column.dataIndex === 'action'">
  16. <a class="action-link" @click="toDetail(record)">数据分析</a>
  17. </template>
  18. </template>
  19. </a-table>
  20. <div class="data-container">
  21. <div id="lineChart" class="line-chart"></div>
  22. <div class="data-content">
  23. <div class="title">煤自燃阶段统计分析</div>
  24. <div class="explain">测点共计{{ total }}个</div>
  25. <div class="progress-label">潜伏期阶段:{{ qfqCount }}</div>
  26. <Progress :percent="qfqPercent" size="default" strokeColor="green" :show-info="true" :format="() => qfqCount" />
  27. <div class="progress-label">缓慢氧化升温阶段:{{ latentCount }}</div>
  28. <Progress :percent="latentPercent" size="default" strokeColor="yellow" :show-info="true" :format="() => latentCount" />
  29. <div class="progress-label">加速氧化升温阶段:{{ selfHeatingCount }}</div>
  30. <Progress :percent="selfHeatingPercent" size="default" strokeColor="orange‌" :show-info="true" :format="() => selfHeatingCount" />
  31. <div class="progress-label">剧烈氧化升温阶段:{{ combustionCount }}</div>
  32. <Progress :percent="combustionPercent" size="default" strokeColor="red" :show-info="true" :format="() => combustionCount" />
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. <a-modal style="width: 600px; height: 300px" title="爆炸三角形" v-model:visible="modalVisible" :draggable="true" :footer="null">
  38. <div class="blast-delta-container">
  39. <BlastDelta :posMonitor="posMonitor" />
  40. </div>
  41. </a-modal>
  42. </div>
  43. </template>
  44. <script setup lang="ts">
  45. import { ref, onMounted, computed, reactive, shallowRef } from 'vue';
  46. import { columns, Hjtcolumns, Bdcolumns, Bltcolumns, Sgtcolumns, Yjlcolumns, Cctrkcolumns, Wlmlcolumns } from './bundleSpy-table.data';
  47. import { getbundleSpyInfoList, getAllFileList, getAllFileListById } from './bundleSpy-table.api';
  48. import customHeader from '/@/components/vent/customHeader.vue';
  49. import * as echarts from 'echarts';
  50. import BlastDelta from './modal/blastDelta.vue';
  51. import { Progress } from 'ant-design-vue';
  52. import { useGlobSetting } from '/@/hooks/setting';
  53. // import 'ant-design-vue/dist/antd.css'; // 引入样式
  54. let selectList = ref<any[]>([]);
  55. let formSearch = reactive({
  56. pageNum: 1,
  57. pageSize: 1000,
  58. id: '',
  59. fileName: '',
  60. });
  61. const total = ref(0);
  62. const { sysOrgCode } = useGlobSetting();
  63. const qfqCount = ref(0); // 潜伏期
  64. const latentCount = ref(0); // 缓慢氧化阶段(潜伏期)
  65. const selfHeatingCount = ref(0); // 加速氧化阶段(自热期)
  66. const combustionCount = ref(0); // 剧烈氧化阶段(燃烧期)
  67. const qfqPercent = ref(0); // 潜伏期(潜伏期)
  68. const latentPercent = ref(0); // 缓慢氧化阶段(潜伏期)
  69. const selfHeatingPercent = ref(0); // 加速氧化阶段(自热期)
  70. const combustionPercent = ref(0); // 剧烈氧化阶段(燃烧期)
  71. let tableData = ref<any[]>([]);
  72. let selectedFileId = ref<string | null>(null);
  73. let modalVisible = ref(false);
  74. const posMonitor = shallowRef({});
  75. const computedColumns = computed(() => {
  76. switch (sysOrgCode) {
  77. case 'sdmtjtdltmkhjtj':
  78. return Hjtcolumns; // 活鸡兔对应的列配置
  79. case 'sdmtjtBdmk':
  80. return Bdcolumns; // 保德对应的列配置
  81. case 'sdmtjtbltmk':
  82. return Bltcolumns; // 补连塔对应的列配置
  83. case 'sdmtjtsgtmk':
  84. return Sgtcolumns; // 石圪台对应的列配置
  85. case 'sdmtjtyjlmk':
  86. return Yjlcolumns; // 榆家梁对应的列配置
  87. case 'sdmtjtcctrk':
  88. return Cctrkcolumns; // 寸草塔二矿对应的列配置
  89. case 'sdmtjtwlmlmk':
  90. return Wlmlcolumns; // 乌兰木伦对应的列配置
  91. default:
  92. return columns; // 默认情况下返回的列配置
  93. }
  94. });
  95. //获取色谱仪报表
  96. async function getTableList(params: any) {
  97. let res = await getbundleSpyInfoList({ type: 'bundleSpy', ...params });
  98. const content = res.content;
  99. let contentArr = JSON.parse(content);
  100. // const contentNewArr = computed(() => {
  101. // return contentArr.map((item) => {
  102. // let internalFireWarnLevel = '';
  103. // const co = item.co_ave;
  104. // const co2 = item.co2_ave;
  105. // const c2h4 = item.c2h4_ave;
  106. // const c2h2 = item.c2h2_ave;
  107. // const coRatio = co / co2;
  108. // if (co >= 0 && co <= 13.75) {
  109. // internalFireWarnLevel = '潜伏期阶段';
  110. // } else if (co > 13.75 && co < 67.2 && coRatio < 0.095) {
  111. // internalFireWarnLevel = '缓慢氧化升温阶段';
  112. // } else if ((co >= 67.2 && co < 1606.3) || (coRatio >= 0.095 && coRatio < 0.322) || c2h4 < 2) {
  113. // internalFireWarnLevel = '加速氧化阶段';
  114. // } else if (co >= 1606.3 || coRatio >= 0.322 || c2h4 >= 2 || c2h2 > 0) {
  115. // internalFireWarnLevel = '剧烈氧化阶段';
  116. // }
  117. // return { ...item, internalFireWarnLevel };
  118. // });
  119. // });
  120. total.value = contentArr.length;
  121. qfqCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '潜伏期阶段').length;
  122. latentCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '缓慢氧化升温阶段').length;
  123. selfHeatingCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '加速氧化升温阶段').length;
  124. combustionCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '剧烈氧化升温阶段').length;
  125. qfqPercent.value = (qfqCount.value / total.value) * 100;
  126. latentPercent.value = (latentCount.value / total.value) * 100;
  127. selfHeatingPercent.value = (selfHeatingCount.value / total.value) * 100;
  128. combustionPercent.value = (combustionCount.value / total.value) * 100;
  129. tableData.value = contentArr;
  130. updateChart(contentArr);
  131. }
  132. async function getTableListById(params: any) {
  133. let res = await getAllFileListById({ ...params });
  134. const content = res.content;
  135. let contentArr = JSON.parse(content);
  136. total.value = contentArr.length;
  137. qfqCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '潜伏期阶段').length;
  138. latentCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '缓慢氧化升温阶段').length;
  139. selfHeatingCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '加速氧化升温阶段').length;
  140. combustionCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '剧烈氧化升温阶段').length;
  141. qfqPercent.value = (qfqCount.value / total.value) * 100;
  142. latentPercent.value = (latentCount.value / total.value) * 100;
  143. selfHeatingPercent.value = (selfHeatingCount.value / total.value) * 100;
  144. combustionPercent.value = (combustionCount.value / total.value) * 100;
  145. tableData.value = contentArr;
  146. updateChart(contentArr);
  147. }
  148. //跳转到爆炸三角形
  149. function toDetail(record: any) {
  150. posMonitor.value = record;
  151. console.log(posMonitor.value);
  152. modalVisible.value = true;
  153. }
  154. //折线图
  155. function updateChart(data: any) {
  156. const chartDom = document.getElementById('lineChart');
  157. const myChart = echarts.init(chartDom);
  158. const categories = data.map((item: any) => item.jcdd);
  159. const c2h2AveValues = data.map((item: any) => parseFloat(item.c2h2_ave));
  160. const c2h4AveValues = data.map((item: any) => parseFloat(item.c2h4_ave));
  161. const ch4AveValues = data.map((item: any) => parseFloat(item.ch4_ave));
  162. const co2AveValues = data.map((item: any) => parseFloat(item.co2_ave));
  163. const coAveValues = data.map((item: any) => parseFloat(item.co_ave));
  164. const o2AveValues = data.map((item: any) => parseFloat(item.o2_ave));
  165. const n2AveValues = data.map((item: any) => parseFloat(item.n2_ave));
  166. const c2h6AveValues = data.map((item: any) => parseFloat(item.c2h6_ave));
  167. const c3h8AveValues = data.map((item: any) => parseFloat(item.c3h8_ave));
  168. const ch4AveBqValues = data.map((item: any) => parseFloat(item.ch4_ave_bq));
  169. const o2AveBqValues = data.map((item: any) => parseFloat(item.o2_ave_bq));
  170. const getSeriesConfig = (sysOrgCode) => {
  171. switch (sysOrgCode) {
  172. case 'sdmtjtdltmkhjtj':
  173. return [
  174. {
  175. name: 'CH₄闭内',
  176. data: ch4AveValues,
  177. yAxisIndex: 1,
  178. type: 'bar',
  179. },
  180. {
  181. name: 'O₂闭内',
  182. data: ch4AveValues,
  183. yAxisIndex: 1,
  184. type: 'bar',
  185. },
  186. {
  187. name: 'CO₂闭内',
  188. data: co2AveValues,
  189. yAxisIndex: 1,
  190. type: 'bar',
  191. },
  192. {
  193. name: 'CO闭内',
  194. data: coAveValues,
  195. yAxisIndex: 1,
  196. type: 'bar',
  197. },
  198. {
  199. name: 'CH₄闭前',
  200. data: ch4AveBqValues,
  201. yAxisIndex: 1,
  202. type: 'bar',
  203. },
  204. {
  205. name: 'O₂闭前',
  206. data: o2AveBqValues,
  207. yAxisIndex: 1,
  208. type: 'bar',
  209. },
  210. ];
  211. case 'sdmtjtBdmk':
  212. return [
  213. {
  214. name: 'O₂',
  215. data: o2AveValues,
  216. yAxisIndex: 0,
  217. type: 'bar',
  218. },
  219. {
  220. name: 'N₂',
  221. data: n2AveValues,
  222. yAxisIndex: 0,
  223. type: 'bar',
  224. },
  225. {
  226. name: 'CO',
  227. data: coAveValues,
  228. yAxisIndex: 1,
  229. type: 'bar',
  230. },
  231. {
  232. name: 'CO₂',
  233. data: co2AveValues,
  234. yAxisIndex: 1,
  235. type: 'bar',
  236. },
  237. {
  238. name: 'CH₄',
  239. data: ch4AveValues,
  240. yAxisIndex: 1,
  241. type: 'bar',
  242. },
  243. {
  244. name: 'C2H6',
  245. data: c2h6AveValues,
  246. yAxisIndex: 1,
  247. type: 'bar',
  248. },
  249. {
  250. name: 'C3H8',
  251. data: c3h8AveValues,
  252. yAxisIndex: 1,
  253. type: 'bar',
  254. },
  255. {
  256. name: 'C₂H₄',
  257. data: c2h4AveValues,
  258. type: 'bar',
  259. yAxisIndex: 1,
  260. },
  261. {
  262. name: 'C₂H₂',
  263. data: c2h2AveValues,
  264. type: 'bar',
  265. yAxisIndex: 1,
  266. },
  267. ];
  268. case 'sdmtjtyjlmk':
  269. return [
  270. {
  271. name: 'O₂',
  272. data: o2AveValues,
  273. yAxisIndex: 0,
  274. type: 'bar',
  275. },
  276. {
  277. name: 'N₂',
  278. data: n2AveValues,
  279. yAxisIndex: 0,
  280. type: 'bar',
  281. },
  282. {
  283. name: 'CO',
  284. data: coAveValues,
  285. yAxisIndex: 1,
  286. type: 'bar',
  287. },
  288. {
  289. name: 'CO₂',
  290. data: co2AveValues,
  291. yAxisIndex: 1,
  292. type: 'bar',
  293. },
  294. {
  295. name: 'CH₄',
  296. data: ch4AveValues,
  297. yAxisIndex: 1,
  298. type: 'bar',
  299. },
  300. {
  301. name: 'C2H6',
  302. data: c2h6AveValues,
  303. yAxisIndex: 1,
  304. type: 'bar',
  305. },
  306. {
  307. name: 'C₂H₄',
  308. data: c2h4AveValues,
  309. type: 'bar',
  310. yAxisIndex: 1,
  311. },
  312. {
  313. name: 'C₂H₂',
  314. data: c2h2AveValues,
  315. type: 'bar',
  316. yAxisIndex: 1,
  317. },
  318. ];
  319. case 'sdmtjtcctrk':
  320. return [
  321. {
  322. name: 'CH₄闭内',
  323. data: ch4AveValues,
  324. yAxisIndex: 1,
  325. type: 'bar',
  326. },
  327. {
  328. name: 'O₂闭内',
  329. data: ch4AveValues,
  330. yAxisIndex: 1,
  331. type: 'bar',
  332. },
  333. {
  334. name: 'CO₂闭内',
  335. data: co2AveValues,
  336. yAxisIndex: 1,
  337. type: 'bar',
  338. },
  339. {
  340. name: 'CO闭内',
  341. data: coAveValues,
  342. yAxisIndex: 1,
  343. type: 'bar',
  344. },
  345. {
  346. name: 'CH₄闭前',
  347. data: ch4AveBqValues,
  348. yAxisIndex: 1,
  349. type: 'bar',
  350. },
  351. {
  352. name: 'O₂闭前',
  353. data: o2AveBqValues,
  354. yAxisIndex: 1,
  355. type: 'bar',
  356. },
  357. ];
  358. case 'sdmtjtwlmlmk':
  359. return [
  360. {
  361. name: 'O₂',
  362. data: o2AveValues,
  363. yAxisIndex: 0,
  364. type: 'bar',
  365. },
  366. {
  367. name: 'N₂',
  368. data: n2AveValues,
  369. yAxisIndex: 0,
  370. type: 'bar',
  371. },
  372. {
  373. name: 'CO',
  374. data: coAveValues,
  375. yAxisIndex: 1,
  376. type: 'bar',
  377. },
  378. {
  379. name: 'CO₂',
  380. data: co2AveValues,
  381. yAxisIndex: 1,
  382. type: 'bar',
  383. },
  384. {
  385. name: 'CH₄',
  386. data: ch4AveValues,
  387. yAxisIndex: 1,
  388. type: 'bar',
  389. },
  390. {
  391. name: 'C2H6',
  392. data: c2h6AveValues,
  393. yAxisIndex: 1,
  394. type: 'bar',
  395. },
  396. {
  397. name: 'C₂H₄',
  398. data: c2h4AveValues,
  399. type: 'bar',
  400. yAxisIndex: 1,
  401. },
  402. {
  403. name: 'C₂H₂',
  404. data: c2h2AveValues,
  405. type: 'bar',
  406. yAxisIndex: 1,
  407. },
  408. ];
  409. default:
  410. return [
  411. {
  412. name: 'C₂H₂',
  413. data: c2h2AveValues,
  414. type: 'bar',
  415. yAxisIndex: 1,
  416. },
  417. {
  418. name: 'C₂H₄',
  419. data: c2h4AveValues,
  420. type: 'bar',
  421. yAxisIndex: 1,
  422. },
  423. {
  424. name: 'CH₄',
  425. data: ch4AveValues,
  426. yAxisIndex: 1,
  427. type: 'bar',
  428. },
  429. {
  430. name: 'CO₂',
  431. data: co2AveValues,
  432. yAxisIndex: 1,
  433. type: 'bar',
  434. },
  435. {
  436. name: 'CO',
  437. data: coAveValues,
  438. yAxisIndex: 1,
  439. type: 'bar',
  440. },
  441. {
  442. name: 'O₂',
  443. data: o2AveValues,
  444. yAxisIndex: 0,
  445. type: 'bar',
  446. },
  447. {
  448. name: 'N₂',
  449. data: n2AveValues,
  450. yAxisIndex: 0,
  451. type: 'bar',
  452. },
  453. {
  454. name: 'C2H6',
  455. data: c2h6AveValues,
  456. yAxisIndex: 1,
  457. type: 'bar',
  458. },
  459. ];
  460. }
  461. };
  462. const seriesConfig = getSeriesConfig(sysOrgCode);
  463. const option = {
  464. tooltip: {
  465. trigger: 'axis',
  466. backgroundColor: 'rgba(28, 72, 105, 0.5)', // 设置 tooltip 背景为透明
  467. textStyle: {
  468. color: '#ffffff', // 设置 tooltip 字体颜色为白色
  469. },
  470. axisPointer: {
  471. label: {
  472. show: true,
  473. backgroundColor: '#071c44',
  474. },
  475. },
  476. },
  477. legend: {
  478. top: '5%',
  479. textStyle: {
  480. color: '#ffffffff',
  481. },
  482. width: '80%', // 设置图例的宽度
  483. orient: 'horizontal', // 水平布局
  484. pageIconColor: '#ffffff', // 设置翻页图标颜色
  485. pageTextStyle: {
  486. color: '#ffffff', // 设置翻页文字颜色
  487. },
  488. },
  489. xAxis: {
  490. type: 'category',
  491. data: categories,
  492. splitLine: { show: true, lineStyle: { color: 'rgba(28, 72, 105, 0.5)' } },
  493. axisLabel: {
  494. interval: 0, // 显示所有标签
  495. color: '#ffffff', // 设置 x 轴字体颜色
  496. formatter: function (value: string) {
  497. return value.length > 12 ? value.slice(0, 12) + '...' : value; // 截断长标签
  498. },
  499. },
  500. },
  501. yAxis: [
  502. {
  503. type: 'value',
  504. name: 'O₂/N₂',
  505. max: 100,
  506. splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
  507. axisLabel: {
  508. color: '#ffffff',
  509. },
  510. },
  511. {
  512. type: 'value',
  513. name: '其他气体',
  514. splitLine: { show: true, lineStyle: { color: 'rgba(21,80,126,.5)' } },
  515. axisLabel: {
  516. color: '#ffffff', // 设置 y 轴字体颜色
  517. },
  518. },
  519. ],
  520. dataZoom: [
  521. {
  522. type: 'slider', // 会创建一个滑块来选择要显示的区域
  523. start: 0, // 初始选中范围的起始百分比
  524. end: (5 / categories.length) * 100, // 初始选中范围的结束百分比,根据数据条数调整
  525. minSpan: (5 / categories.length) * 100, // 最小选中范围,根据数据条数调整
  526. maxSpan: (5 / categories.length) * 100, // 最大选中范围,根据数据条数调整
  527. show: true,
  528. height: 10, // 设置滑块高度
  529. bottom: 1, // 设置滑块距离容器底部的距离
  530. borderColor: 'transparent', // 设置边框颜色为透明
  531. backgroundColor: '#F6F7FB', // 设置背景颜色
  532. handleIcon: 'path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z', // 设置手柄图标为圆形
  533. handleColor: '#C2D2FF', // 设置手柄颜色
  534. handleSize: 13, // 设置手柄大小
  535. handleStyle: {
  536. borderColor: '#C2D2FF', // 设置手柄边框颜色
  537. },
  538. fillerColor: '#C2D2FF', // 设置选中范围的填充颜色
  539. },
  540. ],
  541. grid: {
  542. top: '21%', // 设置 grid 距离顶部的距离,增加间隔
  543. left: '3%',
  544. right: '4%',
  545. bottom: '3%',
  546. containLabel: true,
  547. },
  548. series: seriesConfig,
  549. };
  550. myChart.setOption(option);
  551. }
  552. //获取所有文件列表
  553. async function getAllFile() {
  554. let res = await getAllFileList({ type: 'bundleSpy' });
  555. selectList.value = res.records.map((item: any) => ({
  556. id: item.id,
  557. fileName: item.fileName,
  558. }));
  559. if (selectList.value.length > 0) {
  560. formSearch.id = selectList.value[0].id;
  561. getSearch();
  562. }
  563. }
  564. // 处理文件点击事件
  565. function handleFileClick(item: any) {
  566. formSearch.id = item.id;
  567. formSearch.fileName = item.fileName;
  568. selectedFileId.value = item.id;
  569. getSearch();
  570. }
  571. //查询
  572. function getSearch() {
  573. // const selectedFile = selectList.value.find((item) => item.id === formSearch.id);
  574. const params = {
  575. id: formSearch.id,
  576. // fileName: selectedFile ? selectedFile.fileName : '',
  577. };
  578. getTableListById(params);
  579. }
  580. onMounted(() => {
  581. getTableList({ type: 'bundleSpy' });
  582. getAllFile().then(() => {
  583. if (selectList.value.length > 0) {
  584. formSearch.id = selectList.value[0].id;
  585. selectedFileId.value = selectList.value[0].id;
  586. getSearch();
  587. }
  588. });
  589. });
  590. </script>
  591. <style lang="less" scoped>
  592. @import '/@/design/theme.less';
  593. .content-container {
  594. display: flex;
  595. width: 100%;
  596. height: 100%;
  597. padding-top: 54px;
  598. }
  599. .file-list {
  600. width: 20%;
  601. padding: 10px;
  602. margin-right: 10px;
  603. margin-bottom: 50px;
  604. border: 1px solid #99e8ff66;
  605. background: #27546e1a;
  606. box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
  607. -moz-box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
  608. -webkit-box-shadow: 0px 0px 50px 1px rgb(149 235 255 / 5%) inset;
  609. }
  610. .file-list ul {
  611. list-style: none;
  612. padding: 0;
  613. }
  614. .file-list li {
  615. color: #fff;
  616. padding: 5px;
  617. cursor: pointer;
  618. }
  619. .file-list li:hover,
  620. .file-list li.selected {
  621. background: #1c4869;
  622. }
  623. .table-container {
  624. margin-top: 10px;
  625. width: 80%;
  626. box-sizing: border-box;
  627. }
  628. .dustMonitor {
  629. width: 100%;
  630. height: 100%;
  631. padding: 10px 10px 15px 10px;
  632. box-sizing: border-box;
  633. position: relative;
  634. }
  635. :deep(.zxm-table-thead > tr > th:last-child) {
  636. border-right: 1px solid #91e9fe !important;
  637. }
  638. :deep(.zxm-picker-input > input) {
  639. color: #fff;
  640. }
  641. :deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
  642. border: 1px solid var(--vent-form-item-border) !important;
  643. background-color: #ffffff00 !important;
  644. }
  645. :deep(.zxm-select-selection-item) {
  646. color: #fff !important;
  647. }
  648. .data-container {
  649. margin-top: 40px;
  650. display: flex;
  651. width: 100%;
  652. height: 100%;
  653. }
  654. .line-chart {
  655. flex: 3; /* 占据 3/4 的空间 */
  656. width: 100%;
  657. height: 400px;
  658. }
  659. .data-content {
  660. flex: 1; /* 占据 1/4 的空间 */
  661. height: 400px;
  662. display: flex;
  663. flex-direction: column; /* 垂直排列进度条 */
  664. // align-items: center; /* 水平居中 */
  665. margin: 10px;
  666. .title {
  667. font-size: 18px;
  668. font-weight: 600;
  669. color: #fff;
  670. margin-bottom: 20px;
  671. }
  672. .explain {
  673. color: var(--vent-table-action-link);
  674. margin-top: 18px;
  675. }
  676. }
  677. .progress {
  678. width: 100%;
  679. height: 20px;
  680. margin-top: 10px;
  681. }
  682. .progress-label {
  683. margin-top: 20px;
  684. text-align: left;
  685. margin-bottom: 5px;
  686. color: #fff;
  687. }
  688. ::deep .progress-text {
  689. color: #fff !important; /* 自定义百分比文字颜色 */
  690. }
  691. .blast-delta-container {
  692. margin: 50px;
  693. }
  694. .yellow-progress .ant-progress-bg {
  695. background-color: yellow !important;
  696. }
  697. :deep(.zxm-table-thead > tr > th:last-child) {
  698. border-right: 1px solid #91e9fe !important;
  699. }
  700. </style>