瀏覽代碼

[Feat 0000] 添加火灾-火情预设

houzekong 6 月之前
父節點
當前提交
d57e12ed4b
共有 1 個文件被更改,包括 149 次插入0 次删除
  1. 149 0
      src/views/vent/deviceManager/configurationTable/options.ts

+ 149 - 0
src/views/vent/deviceManager/configurationTable/options.ts

@@ -577,6 +577,155 @@ export const ModulePresetMap: Record<
       size: 'width:450px;height:280px;',
     },
   },
+  '重点区域实时火情(1*2)': {
+    moduleData: {
+      header: {
+        show: false,
+        showSelector: true,
+        showSlot: true,
+        selector: {
+          prop: 'devicePos',
+        },
+        slot: {
+          prop: 'devicePos',
+        },
+      },
+      background: {
+        show: false,
+        type: 'video',
+        link: '',
+      },
+      layout: ['complex_list', 'blast_delta', 'list'],
+      board: [],
+      gallery: [],
+      list: [
+        {
+          type: 'E',
+          readFrom: '',
+          items: [
+            {
+              label: '火情状态',
+              prop: 'fsectarea',
+              color: 'yellow',
+              info: '',
+            },
+            {
+              label: '回采位置',
+              prop: 'stationname',
+              color: 'white',
+              info: '',
+            },
+            {
+              label: '硐室火情',
+              prop: 'stationtype',
+              color: 'blue',
+              info: '',
+            },
+            {
+              label: '联动设备状态',
+              prop: 'typeName',
+              color: 'blue',
+              info: '',
+            },
+            {
+              label: '火情状态',
+              prop: 'fsectarea',
+              color: 'yellow',
+              info: '',
+            },
+            {
+              label: '回采位置',
+              prop: 'stationname',
+              color: 'white',
+              info: '',
+            },
+            {
+              label: '硐室火情',
+              prop: 'stationtype',
+              color: 'blue',
+              info: '',
+            },
+            {
+              label: '联动设备状态',
+              prop: 'typeName',
+              color: 'blue',
+              info: '',
+            },
+            // {
+            //   label: '火情状态',
+            //   prop: 'fsectarea',
+            //   color: 'yellow',
+            //   info: '',
+            // },
+            // {
+            //   label: '回采位置',
+            //   prop: 'stationname',
+            //   color: 'white',
+            //   info: '',
+            // },
+            // {
+            //   label: '硐室火情',
+            //   prop: 'stationtype',
+            //   color: 'blue',
+            //   info: '',
+            // },
+            // {
+            //   label: '联动设备状态',
+            //   prop: 'typeName',
+            //   color: 'blue',
+            //   info: '',
+            // },
+          ],
+        },
+      ],
+      table: [],
+      chart: [],
+      preset: [{}],
+      complex_list: [
+        {
+          type: 'B',
+          readFrom: '',
+          items: [
+            {
+              label: '火情状态',
+              prop: 'fsectarea',
+              color: 'yellow',
+              info: '',
+            },
+            {
+              label: '回采位置',
+              prop: 'stationname',
+              color: 'white',
+              info: '',
+            },
+            {
+              label: '硐室火情',
+              prop: 'stationtype',
+              color: 'blue',
+              info: '',
+            },
+            {
+              label: '联动设备状态',
+              prop: 'typeName',
+              color: 'blue',
+              info: '',
+            },
+          ],
+          galleryItems: [
+            {
+              prop: 'total',
+              label: '风险等级',
+              formatter: '低风险',
+              color: 'white',
+            },
+          ],
+        },
+      ],
+    },
+    showStyle: {
+      size: 'width:450px;height:570px;',
+    },
+  },
 };
 
 // export const ModuleChartTypeMap = {