Jelajahi Sumber

[Mod 0000] 韩咀风门详情页面模型加载方式优化; 寸草二矿去掉注氮总流量; 局部风机添加远程就地按钮

hongrunxia 2 minggu lalu
induk
melakukan
102c84f6d8

+ 1073 - 1073
src/views/vent/bundle/bundleMonitorTable/index.vue

@@ -49,1123 +49,1123 @@
 </template>
 
 <script setup lang="ts">
-import { ref, onMounted, computed, shallowRef, reactive, nextTick } from 'vue';
-import { columns, Hjtcolumns, Bdcolumns, Bltcolumns, Sgtcolumns, Yjlcolumns, Cctrkcolumns, wlmlcolumns, Cctkcolumns } from './bundle-table.data';
-import { getBundleInfoList, getAllFileList, getAllFileListById } from './bundle-table.api';
-import customHeader from '/@/components/vent/customHeader.vue';
-// import { blastDelta } from './modal/blastDelta.vue';
-import BlastDelta from './modal/blastDelta.vue';
-import BlastDelta1 from './modal/blastDelta1.vue';
-import * as echarts from 'echarts';
-import { Progress } from 'ant-design-vue';
-import { useGlobSetting } from '/@/hooks/setting';
-// import 'ant-design-vue/dist/antd.css'; // 引入样式
-let selectList = ref<any[]>([]);
-let jcddArr = ref<any[]>([]);
-let formSearch = reactive({
-  pageNum: 1,
-  pageSize: 1000,
-  id: '',
-  fileName: '',
-});
-const total = ref(0);
-const { sysOrgCode } = useGlobSetting();
-const qfqCount = ref(0); // 潜伏期
-const latentCount = ref(0); // 缓慢氧化阶段(潜伏期)
-const selfHeatingCount = ref(0); // 加速氧化阶段(自热期)
-const combustionCount = ref(0); // 剧烈氧化阶段(燃烧期)
-const qfqPercent = ref(0); // 潜伏期(潜伏期)
-const latentPercent = ref(0); // 缓慢氧化阶段(潜伏期)
-const selfHeatingPercent = ref(0); // 加速氧化阶段(自热期)
-const combustionPercent = ref(0); // 剧烈氧化阶段(燃烧期)
-let tableData = ref<any[]>([]);
-let modalVisible = ref(false);
-let selectedFileId = ref<string | null>(null);
-const posMonitor = shallowRef({});
-const computedColumns = computed(() => {
-  switch (sysOrgCode) {
-    case 'sdmtjtdltmkhjtj':
-      return Hjtcolumns; // 活鸡兔对应的列配置
-    case 'sdmtjtBdmk':
-      return Bdcolumns; // 保德对应的列配置
-    case 'sdmtjtbltmk':
-      return Bltcolumns; // 补连塔对应的列配置
-    case 'sdmtjtsgtmk':
-      return Sgtcolumns; // 石圪台对应的列配置
-    case 'sdmtjtyjlmk':
-      return Yjlcolumns; // 榆家梁对应的列配置
-    case 'sdmtjtcctrk':
-      return Cctrkcolumns; // 寸草塔二矿对应的列配置
-    case 'sdmtjtwlmlmk':
-      return wlmlcolumns; // 乌兰木伦对应的列配置
-    case 'sdmtjtcctmk':
-      return Cctkcolumns; // 乌兰木伦对应的列配置
-    default:
-      return columns; // 默认情况下返回的列配置
-  }
-});
-function updateChart(data: any) {
-  const chartDom = document.getElementById('barChart');
-  const myChart = echarts.init(chartDom);
-  const categories = data.map((item: any) => item.jcdd);
-  const c2h2MaxValues = data.map((item: any) => parseFloat(item.c2h2_max));
-  const c2h2MinValues = data.map((item: any) => parseFloat(item.c2h2_min));
-  const c2h2AveValues = data.map((item: any) => parseFloat(item.c2h2_ave));
-  const c2h4MaxValues = data.map((item: any) => parseFloat(item.c2h4_max));
-  const c2h4MinValues = data.map((item: any) => parseFloat(item.c2h4_min));
-  const c2h4AveValues = data.map((item: any) => parseFloat(item.c2h4_ave));
-  const c2h6AveValues = data.map((item: any) => parseFloat(item.c2h6_ave));
-  const ch4MaxValues = data.map((item: any) => parseFloat(item.ch4_max));
-  const ch4MinValues = data.map((item: any) => parseFloat(item.ch4_min));
-  const ch4AveValues = data.map((item: any) => parseFloat(item.ch4_ave));
-  const co2MaxValues = data.map((item: any) => parseFloat(item.co2_max));
-  const co2MinValues = data.map((item: any) => parseFloat(item.co2_min));
-  const co2AveValues = data.map((item: any) => parseFloat(item.co2_ave));
-  const coMaxValues = data.map((item: any) => parseFloat(item.co_max));
-  const coMinValues = data.map((item: any) => parseFloat(item.co_min));
-  const coAveValues = data.map((item: any) => parseFloat(item.co_ave));
-  const o2MaxValues = data.map((item: any) => parseFloat(item.o2_max));
-  const o2MinValues = data.map((item: any) => parseFloat(item.o2_min));
-  const o2AveValues = data.map((item: any) => parseFloat(item.o2_ave));
-  const n2MaxValues = data.map((item: any) => parseFloat(item.n2_max));
-  const n2MinValues = data.map((item: any) => parseFloat(item.n2_min));
-  const n2AveValues = data.map((item: any) => parseFloat(item.n2_ave));
-  const no2MaxValues = data.map((item: any) => parseFloat(item.no2_max));
-  const no2MinValues = data.map((item: any) => parseFloat(item.no2_min));
-  const no2AveValues = data.map((item: any) => parseFloat(item.no2_ave));
-  const h2MaxValues = data.map((item: any) => parseFloat(item.h2_max));
-  const h2MinValues = data.map((item: any) => parseFloat(item.h2_min));
-  const h2AveValues = data.map((item: any) => parseFloat(item.h2_ave));
-
-  const getSeriesConfig = (sysOrgCode) => {
+  import { ref, onMounted, computed, shallowRef, reactive, nextTick } from 'vue';
+  import { columns, Hjtcolumns, Bdcolumns, Bltcolumns, Sgtcolumns, Yjlcolumns, Cctrkcolumns, wlmlcolumns, Cctkcolumns } from './bundle-table.data';
+  import { getBundleInfoList, getAllFileList, getAllFileListById } from './bundle-table.api';
+  import customHeader from '/@/components/vent/customHeader.vue';
+  // import { blastDelta } from './modal/blastDelta.vue';
+  import BlastDelta from './modal/blastDelta.vue';
+  import BlastDelta1 from './modal/blastDelta1.vue';
+  import * as echarts from 'echarts';
+  import { Progress } from 'ant-design-vue';
+  import { useGlobSetting } from '/@/hooks/setting';
+  // import 'ant-design-vue/dist/antd.css'; // 引入样式
+  let selectList = ref<any[]>([]);
+  let jcddArr = ref<any[]>([]);
+  let formSearch = reactive({
+    pageNum: 1,
+    pageSize: 1000,
+    id: '',
+    fileName: '',
+  });
+  const total = ref(0);
+  const { sysOrgCode } = useGlobSetting();
+  const qfqCount = ref(0); // 潜伏期
+  const latentCount = ref(0); // 缓慢氧化阶段(潜伏期)
+  const selfHeatingCount = ref(0); // 加速氧化阶段(自热期)
+  const combustionCount = ref(0); // 剧烈氧化阶段(燃烧期)
+  const qfqPercent = ref(0); // 潜伏期(潜伏期)
+  const latentPercent = ref(0); // 缓慢氧化阶段(潜伏期)
+  const selfHeatingPercent = ref(0); // 加速氧化阶段(自热期)
+  const combustionPercent = ref(0); // 剧烈氧化阶段(燃烧期)
+  let tableData = ref<any[]>([]);
+  let modalVisible = ref(false);
+  let selectedFileId = ref<string | null>(null);
+  const posMonitor = shallowRef({});
+  const computedColumns = computed(() => {
     switch (sysOrgCode) {
       case 'sdmtjtdltmkhjtj':
-        return [
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最大值',
-            data: n2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-        ];
-      case 'sdmtjtswmk':
-        return [
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最大值',
-            data: n2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'NO₂最大值',
-            data: no2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'NO₂平均值',
-            data: no2AveValues,
-            type: 'bar',
-          },
-        ];
+        return Hjtcolumns; // 活鸡兔对应的列配置
       case 'sdmtjtBdmk':
-        return [
-          {
-            name: 'O₂最大值',
-            data: o2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最大值',
-            data: n2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最小值',
-            data: n2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO最小值',
-            data: coMinValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最小值',
-            data: co2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最小值',
-            data: ch4MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最小值',
-            data: c2h4MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最小值',
-            data: c2h2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'H₂最大值',
-            data: h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'H₂最小值',
-            data: h2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'H₂平均值',
-            data: h2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'NO₂最大值',
-            data: no2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'NO₂最小值',
-            data: no2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'NO₂平均值',
-            data: no2AveValues,
-            type: 'bar',
-          },
-        ];
-      case 'sdmtjtBltmk':
-        return [
-          {
-            name: 'O₂最大值',
-            data: o2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最大值',
-            data: n2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最小值',
-            data: n2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO最小值',
-            data: coMinValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最小值',
-            data: co2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最小值',
-            data: ch4MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最小值',
-            data: c2h4MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最小值',
-            data: c2h2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-        ];
+        return Bdcolumns; // 保德对应的列配置
+      case 'sdmtjtbltmk':
+        return Bltcolumns; // 补连塔对应的列配置
+      case 'sdmtjtsgtmk':
+        return Sgtcolumns; // 石圪台对应的列配置
       case 'sdmtjtyjlmk':
-        return [
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最大值',
-            data: n2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-        ];
+        return Yjlcolumns; // 榆家梁对应的列配置
       case 'sdmtjtcctrk':
-        return [
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₆平均值',
-            data: c2h6AveValues,
-            type: 'bar',
-          },
-        ];
+        return Cctrkcolumns; // 寸草塔二矿对应的列配置
       case 'sdmtjtwlmlmk':
-        return [
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-        ];
+        return wlmlcolumns; // 乌兰木伦对应的列配置
       case 'sdmtjtcctmk':
-        return [
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂最大值',
-            data: n2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'N₂平均值',
-            data: n2AveValues,
-            type: 'bar',
-          },
-
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-        ];
+        return Cctkcolumns; // 乌兰木伦对应的列配置
       default:
-        return [
-          {
-            name: 'C₂H₂最大值',
-            data: c2h2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₂平均值',
-            data: c2h2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄最大值',
-            data: c2h4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'C₂H₄平均值',
-            data: c2h4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄最大值',
-            data: ch4MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CH₄平均值',
-            data: ch4AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂最大值',
-            data: co2MaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO₂平均值',
-            data: co2AveValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO最大值',
-            data: coMaxValues,
-            type: 'bar',
-          },
-          {
-            name: 'CO平均值',
-            data: coAveValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂最小值',
-            data: o2MinValues,
-            type: 'bar',
-          },
-          {
-            name: 'O₂平均值',
-            data: o2AveValues,
-            type: 'bar',
-          },
-          // {
-          //   name: 'N₂最大值',
-          //   data: n2MaxValues,
-          //   type: 'bar',
-          // },
-          // {
-          //   name: 'N₂平均值',
-          //   data: n2AveValues,
-          //   type: 'bar',
-          // },
-          // {
-          //   name: 'NO₂最大值',
-          //   data: no2MaxValues,
-          //   type: 'bar',
-          // },
-          // {
-          //   name: 'NO₂平均值',
-          //   data: no2AveValues,
-          //   type: 'bar',
-          // },
-        ];
+        return columns; // 默认情况下返回的列配置
     }
-  };
+  });
+  function updateChart(data: any) {
+    const chartDom = document.getElementById('barChart');
+    const myChart = echarts.init(chartDom);
+    const categories = data.map((item: any) => item.jcdd);
+    const c2h2MaxValues = data.map((item: any) => parseFloat(item.c2h2_max));
+    const c2h2MinValues = data.map((item: any) => parseFloat(item.c2h2_min));
+    const c2h2AveValues = data.map((item: any) => parseFloat(item.c2h2_ave));
+    const c2h4MaxValues = data.map((item: any) => parseFloat(item.c2h4_max));
+    const c2h4MinValues = data.map((item: any) => parseFloat(item.c2h4_min));
+    const c2h4AveValues = data.map((item: any) => parseFloat(item.c2h4_ave));
+    const c2h6AveValues = data.map((item: any) => parseFloat(item.c2h6_ave));
+    const ch4MaxValues = data.map((item: any) => parseFloat(item.ch4_max));
+    const ch4MinValues = data.map((item: any) => parseFloat(item.ch4_min));
+    const ch4AveValues = data.map((item: any) => parseFloat(item.ch4_ave));
+    const co2MaxValues = data.map((item: any) => parseFloat(item.co2_max));
+    const co2MinValues = data.map((item: any) => parseFloat(item.co2_min));
+    const co2AveValues = data.map((item: any) => parseFloat(item.co2_ave));
+    const coMaxValues = data.map((item: any) => parseFloat(item.co_max));
+    const coMinValues = data.map((item: any) => parseFloat(item.co_min));
+    const coAveValues = data.map((item: any) => parseFloat(item.co_ave));
+    const o2MaxValues = data.map((item: any) => parseFloat(item.o2_max));
+    const o2MinValues = data.map((item: any) => parseFloat(item.o2_min));
+    const o2AveValues = data.map((item: any) => parseFloat(item.o2_ave));
+    const n2MaxValues = data.map((item: any) => parseFloat(item.n2_max));
+    const n2MinValues = data.map((item: any) => parseFloat(item.n2_min));
+    const n2AveValues = data.map((item: any) => parseFloat(item.n2_ave));
+    const no2MaxValues = data.map((item: any) => parseFloat(item.no2_max));
+    const no2MinValues = data.map((item: any) => parseFloat(item.no2_min));
+    const no2AveValues = data.map((item: any) => parseFloat(item.no2_ave));
+    const h2MaxValues = data.map((item: any) => parseFloat(item.h2_max));
+    const h2MinValues = data.map((item: any) => parseFloat(item.h2_min));
+    const h2AveValues = data.map((item: any) => parseFloat(item.h2_ave));
 
-  const seriesConfig = getSeriesConfig(sysOrgCode);
+    const getSeriesConfig = (sysOrgCode) => {
+      switch (sysOrgCode) {
+        case 'sdmtjtdltmkhjtj':
+          return [
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最大值',
+              data: n2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtswmk':
+          return [
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最大值',
+              data: n2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'NO₂最大值',
+              data: no2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'NO₂平均值',
+              data: no2AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtBdmk':
+          return [
+            {
+              name: 'O₂最大值',
+              data: o2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最大值',
+              data: n2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最小值',
+              data: n2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
 
-  const option = {
-    tooltip: {
-      trigger: 'axis',
-      backgroundColor: 'rgba(28, 72, 105, 0.5)', // 设置 tooltip 背景为透明
-      textStyle: {
-        color: '#ffffff', // 设置 tooltip 字体颜色为白色
-      },
-      axisPointer: {
-        type: 'shadow',
-        label: {
-          show: true,
-          backgroundColor: '#1c4869',
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO最小值',
+              data: coMinValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最小值',
+              data: co2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最小值',
+              data: ch4MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最小值',
+              data: c2h4MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最小值',
+              data: c2h2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'H₂最大值',
+              data: h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'H₂最小值',
+              data: h2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'H₂平均值',
+              data: h2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'NO₂最大值',
+              data: no2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'NO₂最小值',
+              data: no2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'NO₂平均值',
+              data: no2AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtBltmk':
+          return [
+            {
+              name: 'O₂最大值',
+              data: o2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最大值',
+              data: n2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最小值',
+              data: n2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO最小值',
+              data: coMinValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最小值',
+              data: co2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最小值',
+              data: ch4MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最小值',
+              data: c2h4MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最小值',
+              data: c2h2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtyjlmk':
+          return [
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最大值',
+              data: n2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtcctrk':
+          return [
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₆平均值',
+              data: c2h6AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtwlmlmk':
+          return [
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+          ];
+        case 'sdmtjtcctmk':
+          return [
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂最大值',
+              data: n2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'N₂平均值',
+              data: n2AveValues,
+              type: 'bar',
+            },
+
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+          ];
+        default:
+          return [
+            {
+              name: 'C₂H₂最大值',
+              data: c2h2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₂平均值',
+              data: c2h2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄最大值',
+              data: c2h4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'C₂H₄平均值',
+              data: c2h4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄最大值',
+              data: ch4MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CH₄平均值',
+              data: ch4AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂最大值',
+              data: co2MaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO₂平均值',
+              data: co2AveValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO最大值',
+              data: coMaxValues,
+              type: 'bar',
+            },
+            {
+              name: 'CO平均值',
+              data: coAveValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂最小值',
+              data: o2MinValues,
+              type: 'bar',
+            },
+            {
+              name: 'O₂平均值',
+              data: o2AveValues,
+              type: 'bar',
+            },
+            // {
+            //   name: 'N₂最大值',
+            //   data: n2MaxValues,
+            //   type: 'bar',
+            // },
+            // {
+            //   name: 'N₂平均值',
+            //   data: n2AveValues,
+            //   type: 'bar',
+            // },
+            // {
+            //   name: 'NO₂最大值',
+            //   data: no2MaxValues,
+            //   type: 'bar',
+            // },
+            // {
+            //   name: 'NO₂平均值',
+            //   data: no2AveValues,
+            //   type: 'bar',
+            // },
+          ];
+      }
+    };
+
+    const seriesConfig = getSeriesConfig(sysOrgCode);
+
+    const option = {
+      tooltip: {
+        trigger: 'axis',
+        backgroundColor: 'rgba(28, 72, 105, 0.5)', // 设置 tooltip 背景为透明
+        textStyle: {
+          color: '#ffffff', // 设置 tooltip 字体颜色为白色
+        },
+        axisPointer: {
+          type: 'shadow',
+          label: {
+            show: true,
+            backgroundColor: '#1c4869',
+          },
         },
       },
-    },
-    legend: {
-      top: '2%',
-      textStyle: {
-        color: '#ffffffff',
-      },
-      width: '80%', // 设置图例的宽度
-      orient: 'horizontal', // 水平布局
-      pageIconColor: '#ffffff', // 设置翻页图标颜色
-      pageTextStyle: {
-        color: '#ffffff', // 设置翻页文字颜色
+      legend: {
+        top: '2%',
+        textStyle: {
+          color: '#ffffffff',
+        },
+        width: '80%', // 设置图例的宽度
+        orient: 'horizontal', // 水平布局
+        pageIconColor: '#ffffff', // 设置翻页图标颜色
+        pageTextStyle: {
+          color: '#ffffff', // 设置翻页文字颜色
+        },
       },
-    },
-    xAxis: {
-      type: 'category',
-      data: categories,
-      splitLine: { show: true, lineStyle: { color: 'rgba(28, 72, 105, 0.5)' } },
-      axisLabel: {
-        interval: 0, // 显示所有标签
-        color: '#ffffff', // 设置 x 轴字体颜色
-        formatter: function (value: string) {
-          return value.length > 8 ? value.slice(0, 8) + '...' : value; // 截断长标签
+      xAxis: {
+        type: 'category',
+        data: categories,
+        splitLine: { show: true, lineStyle: { color: 'rgba(28, 72, 105, 0.5)' } },
+        axisLabel: {
+          interval: 0, // 显示所有标签
+          color: '#ffffff', // 设置 x 轴字体颜色
+          formatter: function (value: string) {
+            return value.length > 8 ? value.slice(0, 8) + '...' : value; // 截断长标签
+          },
         },
       },
-    },
-    yAxis: {
-      type: 'value',
-      splitLine: { show: true, lineStyle: { color: 'rgba(28, 72, 105, 0.5)' } },
-      axisLabel: {
-        color: '#ffffff',
+      yAxis: {
+        type: 'value',
+        splitLine: { show: true, lineStyle: { color: 'rgba(28, 72, 105, 0.5)' } },
+        axisLabel: {
+          color: '#ffffff',
+        },
       },
-    },
-    dataZoom: [
-      {
-        type: 'slider', // 会创建一个滑块来选择要显示的区域
-        start: 0, // 初始选中范围的起始百分比
-        end: (5 / categories.length) * 100, // 初始选中范围的结束百分比,根据数据条数调整
-        minSpan: (5 / categories.length) * 100, // 最小选中范围,根据数据条数调整
-        maxSpan: (5 / categories.length) * 100, // 最大选中范围,根据数据条数调整
-        show: true,
-        height: 10, // 设置滑块高度
-        bottom: 1, // 设置滑块距离容器底部的距离
-        borderColor: 'transparent', // 设置边框颜色为透明
-        backgroundColor: '#F6F7FB', // 设置背景颜色
-        handleIcon: 'path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z', // 设置手柄图标为圆形
-        handleColor: '#C2D2FF', // 设置手柄颜色
-        handleSize: 13, // 设置手柄大小
-        handleStyle: {
-          borderColor: '#C2D2FF', // 设置手柄边框颜色
+      dataZoom: [
+        {
+          type: 'slider', // 会创建一个滑块来选择要显示的区域
+          start: 0, // 初始选中范围的起始百分比
+          end: (5 / categories.length) * 100, // 初始选中范围的结束百分比,根据数据条数调整
+          minSpan: (5 / categories.length) * 100, // 最小选中范围,根据数据条数调整
+          maxSpan: (5 / categories.length) * 100, // 最大选中范围,根据数据条数调整
+          show: true,
+          height: 10, // 设置滑块高度
+          bottom: 1, // 设置滑块距离容器底部的距离
+          borderColor: 'transparent', // 设置边框颜色为透明
+          backgroundColor: '#F6F7FB', // 设置背景颜色
+          handleIcon: 'path://M512,512m-448,0a448,448,0,1,0,896,0a448,448,0,1,0,-896,0Z', // 设置手柄图标为圆形
+          handleColor: '#C2D2FF', // 设置手柄颜色
+          handleSize: 13, // 设置手柄大小
+          handleStyle: {
+            borderColor: '#C2D2FF', // 设置手柄边框颜色
+          },
+          fillerColor: '#C2D2FF', // 设置选中范围的填充颜色
         },
-        fillerColor: '#C2D2FF', // 设置选中范围的填充颜色
+      ],
+      grid: {
+        top: '21%', // 设置 grid 距离顶部的距离,增加间隔
+        left: '3%',
+        right: '4%',
+        bottom: '3%',
+        containLabel: true,
       },
-    ],
-    grid: {
-      top: '21%', // 设置 grid 距离顶部的距离,增加间隔
-      left: '3%',
-      right: '4%',
-      bottom: '3%',
-      containLabel: true,
-    },
-    series: seriesConfig,
-  };
-  myChart.setOption(option);
-}
-//跳转到爆炸三角形
-function toDetail(record: any) {
-  posMonitor.value = record;
-  modalVisible.value = true;
-}
-//获取束管日报
-async function getTableList(params: any) {
-  let res = await getBundleInfoList({ type: 'bundle', ...params });
-  const content = res.content;
-  let contentArr = JSON.parse(content);
-  // const contentNewArr = computed(() => {
-  //   return contentArr.map((item) => {
-  //     let internalFireWarnLevel = '';
+      series: seriesConfig,
+    };
+    myChart.setOption(option);
+  }
+  //跳转到爆炸三角形
+  function toDetail(record: any) {
+    posMonitor.value = record;
+    modalVisible.value = true;
+  }
+  //获取束管日报
+  async function getTableList(params: any) {
+    let res = await getBundleInfoList({ type: 'bundle', ...params });
+    const content = res.content;
+    let contentArr = JSON.parse(content);
+    // const contentNewArr = computed(() => {
+    //   return contentArr.map((item) => {
+    //     let internalFireWarnLevel = '';
 
-  //     const co = item.co_ave;
-  //     const co2 = item.co2_ave;
-  //     const c2h4 = item.c2h4_ave;
-  //     const c2h2 = item.c2h2_ave;
-  //     const coRatio = co / co2;
+    //     const co = item.co_ave;
+    //     const co2 = item.co2_ave;
+    //     const c2h4 = item.c2h4_ave;
+    //     const c2h2 = item.c2h2_ave;
+    //     const coRatio = co / co2;
 
-  //     if (co >= 0 && co <= 13.75) {
-  //       internalFireWarnLevel = '潜伏期阶段';
-  //     } else if (co > 13.75 && co < 67.2 && coRatio < 0.095) {
-  //       internalFireWarnLevel = '缓慢氧化升温阶段';
-  //     } else if ((co >= 67.2 && co < 1606.3) || (coRatio >= 0.095 && coRatio < 0.322) || c2h4 < 2) {
-  //       internalFireWarnLevel = '加速氧化阶段';
-  //     } else if (co >= 1606.3 || coRatio >= 0.322 || c2h4 >= 2 || c2h2 > 0) {
-  //       internalFireWarnLevel = '剧烈氧化阶段';
-  //     }
+    //     if (co >= 0 && co <= 13.75) {
+    //       internalFireWarnLevel = '潜伏期阶段';
+    //     } else if (co > 13.75 && co < 67.2 && coRatio < 0.095) {
+    //       internalFireWarnLevel = '缓慢氧化升温阶段';
+    //     } else if ((co >= 67.2 && co < 1606.3) || (coRatio >= 0.095 && coRatio < 0.322) || c2h4 < 2) {
+    //       internalFireWarnLevel = '加速氧化阶段';
+    //     } else if (co >= 1606.3 || coRatio >= 0.322 || c2h4 >= 2 || c2h2 > 0) {
+    //       internalFireWarnLevel = '剧烈氧化阶段';
+    //     }
 
-  //     return { ...item, internalFireWarnLevel };
-  //   });
-  // });
-  total.value = contentArr.length;
-  qfqCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '潜伏期阶段').length;
-  latentCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '缓慢氧化升温阶段').length;
-  selfHeatingCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '加速氧化升温阶段').length;
-  combustionCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '剧烈氧化升温阶段').length;
-  qfqPercent.value = (qfqCount.value / total.value) * 100;
-  latentPercent.value = (latentCount.value / total.value) * 100;
-  selfHeatingPercent.value = (selfHeatingCount.value / total.value) * 100;
-  combustionPercent.value = (combustionCount.value / total.value) * 100;
-  tableData.value = contentArr;
-  nextTick(() => {
-    updateChart(contentArr);
-  });
-}
-async function getTableListById(params: any) {
-  let res = await getAllFileListById({ ...params });
-  const content = res.content;
-  let contentArr = JSON.parse(content);
-  total.value = contentArr.length;
-  qfqCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '潜伏期阶段').length;
-  latentCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '缓慢氧化升温阶段').length;
-  selfHeatingCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '加速氧化升温阶段').length;
-  combustionCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '剧烈氧化升温阶段').length;
-  qfqPercent.value = (qfqCount.value / total.value) * 100;
-  latentPercent.value = (latentCount.value / total.value) * 100;
-  selfHeatingPercent.value = (selfHeatingCount.value / total.value) * 100;
-  combustionPercent.value = (combustionCount.value / total.value) * 100;
-  tableData.value = contentArr;
-  nextTick(() => {
-    updateChart(contentArr);
-  });
-}
-//获取所有文件列表
-async function getAllFile() {
-  let res = await getAllFileList({ type: 'bundle' });
-  selectList.value = res.records.map((item: any) => ({
-    id: item.id,
-    fileName: item.fileName,
-  }));
-  jcddArr.value = res.records.map((item: any) => ({
-    id: item.jcdd,
-  }));
-  if (selectList.value.length > 0) {
-    formSearch.id = selectList.value[0].id;
-    getSearch();
+    //     return { ...item, internalFireWarnLevel };
+    //   });
+    // });
+    total.value = contentArr.length;
+    qfqCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '潜伏期阶段').length;
+    latentCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '缓慢氧化升温阶段').length;
+    selfHeatingCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '加速氧化升温阶段').length;
+    combustionCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '剧烈氧化升温阶段').length;
+    qfqPercent.value = (qfqCount.value / total.value) * 100;
+    latentPercent.value = (latentCount.value / total.value) * 100;
+    selfHeatingPercent.value = (selfHeatingCount.value / total.value) * 100;
+    combustionPercent.value = (combustionCount.value / total.value) * 100;
+    tableData.value = contentArr;
+    nextTick(() => {
+      updateChart(contentArr);
+    });
+  }
+  async function getTableListById(params: any) {
+    let res = await getAllFileListById({ ...params });
+    const content = res.content;
+    let contentArr = JSON.parse(content);
+    total.value = contentArr.length;
+    qfqCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '潜伏期阶段').length;
+    latentCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '缓慢氧化升温阶段').length;
+    selfHeatingCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '加速氧化升温阶段').length;
+    combustionCount.value = contentArr.filter((item: any) => item.internalFireWarnLevel === '剧烈氧化升温阶段').length;
+    qfqPercent.value = (qfqCount.value / total.value) * 100;
+    latentPercent.value = (latentCount.value / total.value) * 100;
+    selfHeatingPercent.value = (selfHeatingCount.value / total.value) * 100;
+    combustionPercent.value = (combustionCount.value / total.value) * 100;
+    tableData.value = contentArr;
+    nextTick(() => {
+      updateChart(contentArr);
+    });
   }
-}
-// 处理文件点击事件
-function handleFileClick(item: any) {
-  formSearch.id = item.id;
-  formSearch.fileName = item.fileName;
-  selectedFileId.value = item.id;
-  getSearch();
-}
-//查询
-function getSearch() {
-  // const selectedFile = selectList.value.find((item) => item.id === formSearch.id);
-  const params = {
-    id: formSearch.id,
-    // fileName: selectedFile ? selectedFile.fileName : '',
-  };
-  getTableListById(params);
-}
-onMounted(() => {
-  getTableList({ type: 'bundle' });
-  getAllFile().then(() => {
+  //获取所有文件列表
+  async function getAllFile() {
+    let res = await getAllFileList({ type: 'bundle' });
+    selectList.value = res.records.map((item: any) => ({
+      id: item.id,
+      fileName: item.fileName,
+    }));
+    jcddArr.value = res.records.map((item: any) => ({
+      id: item.jcdd,
+    }));
     if (selectList.value.length > 0) {
       formSearch.id = selectList.value[0].id;
-      selectedFileId.value = selectList.value[0].id;
       getSearch();
     }
+  }
+  // 处理文件点击事件
+  function handleFileClick(item: any) {
+    formSearch.id = item.id;
+    formSearch.fileName = item.fileName;
+    selectedFileId.value = item.id;
+    getSearch();
+  }
+  //查询
+  function getSearch() {
+    // const selectedFile = selectList.value.find((item) => item.id === formSearch.id);
+    const params = {
+      id: formSearch.id,
+      // fileName: selectedFile ? selectedFile.fileName : '',
+    };
+    getTableListById(params);
+  }
+  onMounted(() => {
+    getTableList({ type: 'bundle' });
+    getAllFile().then(() => {
+      if (selectList.value.length > 0) {
+        formSearch.id = selectList.value[0].id;
+        selectedFileId.value = selectList.value[0].id;
+        getSearch();
+      }
+    });
   });
-});
 </script>
 
 <style lang="less" scoped>
-@import '/@/design/theme.less';
-
-.content-container {
-  display: flex;
-  width: 100%;
-  height: 100%;
-  padding-top: 54px;
-}
+  @import '/@/design/theme.less';
 
-.file-list {
-  width: 20%;
-  padding: 10px;
-  margin-right: 10px;
-  margin-bottom: 50px;
-  border: 1px solid #99e8ff66;
-  background: #27546e1a;
-  box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
-  -moz-box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
-  -webkit-box-shadow: 0px 0px 50px 1px rgb(149 235 255 / 5%) inset;
-}
+  .content-container {
+    display: flex;
+    width: 100%;
+    height: 100%;
+    padding-top: 54px;
+  }
 
-.file-list ul {
-  list-style: none;
-  padding: 0;
-}
+  .file-list {
+    width: 20%;
+    padding: 10px;
+    margin-right: 10px;
+    margin-bottom: 50px;
+    border: 1px solid #99e8ff66;
+    background: #27546e1a;
+    box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
+    -moz-box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
+    -webkit-box-shadow: 0px 0px 50px 1px rgb(149 235 255 / 5%) inset;
+  }
 
-.file-list li {
-  color: #fff;
-  padding: 5px;
-  cursor: pointer;
-}
+  .file-list ul {
+    list-style: none;
+    padding: 0;
+  }
 
-.file-list li:hover,
-.file-list li.selected {
-  background: #1c4869;
-}
+  .file-list li {
+    color: #fff;
+    padding: 5px;
+    cursor: pointer;
+  }
 
-.table-container {
-  margin-top: 10px;
-  width: 80%;
-  box-sizing: border-box;
-}
-.data-container {
-  margin-top: 40px;
-  display: flex;
-  width: 100%;
-  height: 100%;
-}
+  .file-list li:hover,
+  .file-list li.selected {
+    background: #1c4869;
+  }
 
-.bar-chart {
-  flex: 3; /* 占据 3/4 的空间 */
-  width: 100%;
-  height: 400px;
-}
+  .table-container {
+    margin-top: 10px;
+    width: 80%;
+    box-sizing: border-box;
+  }
+  .data-container {
+    margin-top: 40px;
+    display: flex;
+    width: 100%;
+    height: 100%;
+  }
 
-.data-content {
-  flex: 1; /* 占据 1/4 的空间 */
-  height: 400px;
-  display: flex;
-  flex-direction: column; /* 垂直排列进度条 */
-  // align-items: center; /* 水平居中 */
-  margin: 10px;
-  .title {
-    font-size: 18px;
-    font-weight: 600;
-    color: #fff;
-    margin-bottom: 20px;
+  .bar-chart {
+    flex: 3; /* 占据 3/4 的空间 */
+    width: 100%;
+    height: 400px;
   }
-  .explain {
-    color: var(--vent-table-action-link);
-    margin-top: 18px;
+
+  .data-content {
+    flex: 1; /* 占据 1/4 的空间 */
+    height: 400px;
+    display: flex;
+    flex-direction: column; /* 垂直排列进度条 */
+    // align-items: center; /* 水平居中 */
+    margin: 10px;
+    .title {
+      font-size: 18px;
+      font-weight: 600;
+      color: #fff;
+      margin-bottom: 20px;
+    }
+    .explain {
+      color: var(--vent-table-action-link);
+      margin-top: 18px;
+    }
   }
-}
 
-.dustMonitor {
-  width: 100%;
-  height: 100%;
-  padding: 10px 10px 15px 10px;
-  box-sizing: border-box;
-  position: relative;
-}
+  .dustMonitor {
+    width: 100%;
+    height: 100%;
+    padding: 10px 10px 15px 10px;
+    box-sizing: border-box;
+    position: relative;
+  }
 
-.yellow-progress .ant-progress-bg {
-  background-color: yellow !important;
-}
+  .yellow-progress .ant-progress-bg {
+    background-color: yellow !important;
+  }
 
-:deep(.zxm-table-thead > tr > th:last-child) {
-  border-right: 1px solid #91e9fe !important;
-}
+  :deep(.zxm-table-thead > tr > th:last-child) {
+    border-right: 1px solid #91e9fe !important;
+  }
 
-:deep(.zxm-picker-input > input) {
-  color: #fff;
-}
+  :deep(.zxm-picker-input > input) {
+    color: #fff;
+  }
 
-:deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
-  border: 1px solid var(--vent-form-item-border) !important;
-  background-color: #ffffff00 !important;
-}
+  :deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
+    border: 1px solid var(--vent-form-item-border) !important;
+    background-color: #ffffff00 !important;
+  }
 
-:deep(.zxm-select-selection-item) {
-  color: #fff !important;
-}
-.blast-delta-container {
-  margin: 50px;
-  display: flex;
-  justify-content: space-between;
-}
-.progress {
-  width: 100%;
-  height: 20px;
-  margin-top: 10px;
-}
-.progress-label {
-  margin-top: 20px;
-  text-align: left;
-  margin-bottom: 5px;
-  color: #fff;
-}
-::deep .progress-text {
-  color: #fff !important; /* 自定义百分比文字颜色 */
-}
+  :deep(.zxm-select-selection-item) {
+    color: #fff !important;
+  }
+  .blast-delta-container {
+    margin: 50px;
+    display: flex;
+    justify-content: space-between;
+  }
+  .progress {
+    width: 100%;
+    height: 20px;
+    margin-top: 10px;
+  }
+  .progress-label {
+    margin-top: 20px;
+    text-align: left;
+    margin-bottom: 5px;
+    color: #fff;
+  }
+  ::deep .progress-text {
+    color: #fff !important; /* 自定义百分比文字颜色 */
+  }
 </style>

+ 3 - 3
src/views/vent/monitorManager/deviceMonitor/components/device/device.api.ts

@@ -15,8 +15,8 @@ enum Api {
   exportXlsUrl = '/monitor/exportXls',
   queryNowGasInsInfo = '/safety/gasDayReport/queryNowGasInsInfo', //查询当前各班瓦斯巡检信息
   queryNowGasSta = '/safety/gasDayReport/queryNowGasSta',
-   queryReportData='/safety/reportLocalData/queryReportData',//查询瓦斯日报列表
-   getDeviceListBySubId = '/safety/ventanalyDeviceInfo/getDeviceListBySubId',//查询分站
+  queryReportData = '/safety/reportLocalData/queryReportData', //查询瓦斯日报列表
+  getDeviceListBySubId = '/safety/ventanalyDeviceInfo/getDeviceListBySubId', //查询分站
 }
 //分站全部列表
 export const getListAll = () => defHttp.post({ url: Api.getDeviceListBySubId });
@@ -54,4 +54,4 @@ export const queryNowGasSta = (params) => defHttp.post({ url: Api.queryNowGasSta
  * 瓦斯日报列表
  * @param params
  */
-export const queryReportData = (params) => defHttp.post({ url: Api.queryReportData,params },);
+export const queryReportData = (params) => defHttp.post({ url: Api.queryReportData, params });

+ 9 - 1
src/views/vent/monitorManager/deviceMonitor/components/device/device.data.ts

@@ -547,7 +547,15 @@ export const noWarningArr = [
 ]; // 无预警详情的
 export const haveSysDetailArr = ['forcFan', 'pulping']; //有场景详情的
 // export const haveSysDetailArr = ['']; //有场景详情的
-
+// 无定位
+export const noLocationArr = () => {
+  const { sysOrgCode } = useGlobSetting();
+  if (sysOrgCode === 'sdmtjtcctrk') {
+    return ['location', 'vehicle'];
+  } else {
+    return [];
+  }
+};
 export const noHistoryArr = () =>
   History_Type['type'] == 'remote'
     ? ['surface_history', 'majorpath', 'gasDayReport', 'dustDayReport', 'bundleDayReport', 'bundleSpyDayReport', 'gasDay', 'gate_linkdlfm']

+ 21 - 46
src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

@@ -282,7 +282,7 @@
                 :scroll="{ y: scroll.y - 110 }"
                 style="margin-top: 60px"
               >
-                <template #action="{ record }">
+                <template v-if="!noLocationList.includes('location')" #action="{ record }">
                   <TableAction
                     :actions="[
                       {
@@ -307,7 +307,7 @@
                 :form-config="vehicleFormConfig"
                 :scroll="{ y: scroll.y - 110 }"
               >
-                <template #action="{ record }">
+                <template v-if="!noLocationList.includes('location')" #action="{ record }">
                   <TableAction
                     :actions="[
                       {
@@ -645,6 +645,7 @@
     noHistoryArr,
     getMonitorComponent,
     vehicleFormConfig,
+    noLocationArr
   } from './device.data';
   import mainPath from './modal/mainPath.vue';
   import { formConfig } from '../../../safetyMonitor/safety.data';
@@ -657,25 +658,12 @@
   import { useGo } from '/@/hooks/web/usePage';
   import { useGlobSetting } from '/@/hooks/setting';
 
-  //瓦斯巡检查询参数
-  const addressData = ref(''); //巡检地点
-  const personData = ref(''); //巡检员
-  const instypeData = ref('2'); //巡检类型
-  const classData = ref('night'); //巡检班次
-  const gaspatrolData = ref<any[]>([]);
-  const inspectJd = ref<any>('');
-  const inspectList = reactive<any[]>([
-    { label: '第一次巡检已检数', val: 0 },
-    { label: '第一次巡检未检数', val: 0 },
-    { label: '第二次巡检已检数', val: 0 },
-    { label: '第二次巡检未检数', val: 0 },
-  ]);
-  const stationData = ref<any[]>([]);
+
+  type DeviceType = { deviceType: string; deviceName: string; datalist: any[] };
   const glob = useGlobSetting();
   // import { BorderBox8 as DvBorderBox8 } from '@kjgl77/datav-vue3';
 
   const { FiberModal, BundleModal, DustModal, BallvalveModal, AtomizingModal, GaspatrolModal, WisdomBallModal } = getMonitorComponent();
-  type DeviceType = { deviceType: string; deviceName: string; datalist: any[] };
 
   const props = defineProps({
     pageData: {
@@ -698,20 +686,13 @@
     },
   };
   const router = useRouter();
-
   const actions = getActions();
-  // actions.setGlobalState({ pageObj: { pageType: 'home' } });
   const locationForm = reactive({
     strname: '',
     department: '',
     stationname: '',
   });
-
-  const safetymonitorForm = reactive({
-    dataTypeName: '',
-    strinstallpos: '',
-  });
-
+  const noLocationList = noLocationArr()
   const monitorTable = ref();
   const historyTable = ref();
   const alarmHistoryTable = ref();
@@ -748,6 +729,20 @@
   const treeData = ref<TreeProps['treeData']>([]);
   let departmentInfo: Null | Object = null;
   let startMonitorTimer = 0;
+    //瓦斯巡检查询参数
+  const addressData = ref(''); //巡检地点
+  const personData = ref(''); //巡检员
+  const instypeData = ref('2'); //巡检类型
+  const classData = ref('night'); //巡检班次
+  const gaspatrolData = ref<any[]>([]);
+  const inspectJd = ref<any>('');
+  const inspectList = reactive<any[]>([
+    { label: '第一次巡检已检数', val: 0 },
+    { label: '第一次巡检未检数', val: 0 },
+    { label: '第二次巡检已检数', val: 0 },
+    { label: '第二次巡检未检数', val: 0 },
+  ]);
+  const stationData = ref<any[]>([]);
   let searchReportParam = ref('gasDayNight'); //瓦斯日报查询条件-非布尔台
   let searchReportParam1 = ref('gasDay1'); //瓦斯日报查询条件-布尔台
   let reportTableData = ref<any[]>([]); //瓦斯日报列表数据
@@ -1121,7 +1116,7 @@
     console.log(res, '瓦斯日报列表');
     reportTableData.value = JSON.parse(res.content) || [];
   }
-
+  // 详情跳转
   function goDetail(record?) {
     if (record) {
       activeID.value = record.deviceID;
@@ -1367,26 +1362,6 @@
       message.success('设置成功');
     }, 600);
   }
-
-  // function clearMonitor() {
-  //   clearTimeout(timer);
-  //   timer = undefined;
-  //   if (startMonitorTimer) {
-  //     clearTimeout(startMonitorTimer);
-  //   }
-  //   dataSource.value = [];
-  //   startMonitorTimer = setTimeout(() => {
-  //     expandedKeys.value = keys;
-  //     selectedKeys.value = keys;
-  //     treeNodeTitle.value = e.node.title;
-  //     activeKey.value = '1';
-  //     timer = null;
-  //     if (e.node.children?.length < 1) {
-  //       getMonitor(true);
-  //     }
-  //   }, 1000);
-  // }show
-
   watch(
     () => props.pageData,
     async (pageObj) => {

File diff ditekan karena terlalu besar
+ 674 - 620
src/views/vent/monitorManager/fanLocalMonitor/index.vue


+ 1 - 2
src/views/vent/monitorManager/gateMonitor/index.vue

@@ -334,8 +334,7 @@
   import { useGlobSetting } from '/@/hooks/setting';
 
   const { hasPermission } = usePermission();
-  // const { sysOrgCode } = useGlobSetting();
-  const sysOrgCode = 'zmhjhzmy';
+  const { sysOrgCode } = useGlobSetting();
   const globalConfig = inject('globalConfig');
 
   const { currentRoute } = useRouter();

+ 5 - 5
src/views/vent/monitorManager/nitrogen/nitrogen.dataCc_2.ts

@@ -138,11 +138,11 @@ export const preFanMonitorData = [
   },
 ];
 export const totalData = [
-  {
-    title: '总出风管流量',
-    code: 'TotalOutPipeFlow',
-    unit: 'm³/h',
-  },
+  // {
+  //   title: '总出风管流量',
+  //   code: 'TotalOutPipeFlow',
+  //   unit: 'm³/h',
+  // },
   {
     title: '总出风管压力',
     code: 'TotalOutPipePre',

+ 4 - 4
src/views/vent/monitorManager/windowMonitor/index.vue

@@ -18,7 +18,7 @@
   <div class="scene-box">
     <div class="top-box">
       <div class="top-center" style="display: flex">
-        <div class="row" v-if="Number(selectData.nwindow) > 1">
+        <div class="row" v-if="Number(selectData.nwindownum) == 2">
           <div v-if="hasPermission('window:AreaControl')" class="button-box" @click="setArea(1)">设定前窗面积</div>
           <div v-if="hasPermission('window:AreaControl')" class="button-box" @click="setArea(2)">设定后窗面积</div>
           <div v-if="hasPermission('window:showAngle')" class="button-box" @click="setAngle(1)">设定前窗角度</div>
@@ -33,14 +33,14 @@
           <!-- <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(3)">自主联动控制开启</div>
           <div v-if="hasPermission('window:ldkz')" class="button-box" @click="setArea(4)">自主联动控制停止</div> -->
         </div>
-        <div class="row" v-if="hasPermission('window:fourAreaControl') && selectData.windowModal == 'sdFc4'">
+        <div class="row" v-if="hasPermission('window:fourAreaControl') && Number(selectData.nwindownum) == 4">
           <div class="button-box" @click="setControl('frontSetValue1', '前窗1面积设置')">前窗1面积</div>
           <div class="button-box" @click="setControl('frontSetValue2', '前窗2面积设置')">前窗2面积</div>
           <div class="button-box" @click="setControl('frontSetValue3', '后窗1面积设置')">后窗1面积</div>
           <div class="button-box" @click="setControl('frontSetValue4', '后窗2面积设置')">后窗2面积</div>
         </div>
 
-        <div class="row" v-if="Number(selectData.nwindow) == 1">
+        <div class="row" v-if="Number(selectData.nwindownum) == 1">
           <div v-if="hasPermission('window:AreaControl')" class="button-box" @click="setArea(1)">设定风窗面积</div>
           <div v-if="hasPermission('window:showAngle')" class="button-box" @click="setAngle(1)">设定风窗角度</div>
         </div>
@@ -50,7 +50,7 @@
         <div v-if="hasPermission('window:gasldkz')" class="button-box" @click="setArea('ldkzStart')">瓦斯超限调控开启</div>
         <div v-if="hasPermission('window:controlFull')" class="button-box" @click="setArea(5)">一键全开</div>
         <div v-if="hasPermission('window:controlFull')" class="button-box" @click="setArea(6)">一键全关</div>
-        <div class="row" v-if="hasPermission('window:fourFlControl')">
+        <div class="row" v-if="hasPermission('window:fourFlControl') && Number(selectData.nwindownum) == 4">
           <div class="button-box" @click="setControl('air1', '前窗1风量设置')">设定前窗1风量</div>
           <div class="button-box" @click="setControl('air2', '前窗2风量设置')">设定前窗2风量</div>
           <div class="button-box" @click="setControl('air3', '后窗1风量设置')">设定后窗1风量</div>

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini