|
@@ -27,6 +27,16 @@
|
|
:data="data"
|
|
:data="data"
|
|
:visible="true"
|
|
:visible="true"
|
|
/>
|
|
/>
|
|
|
|
+ <!-- <ModuleFireNewTop
|
|
|
|
+ v-for="cfg in cfgTop"
|
|
|
|
+ :key="cfg.deviceType"
|
|
|
|
+ :show-style="cfg.showStyle"
|
|
|
|
+ :module-data="cfg.moduleData"
|
|
|
|
+ :module-name="cfg.moduleName"
|
|
|
|
+ :device-type="cfg.deviceType"
|
|
|
|
+ :data="data"
|
|
|
|
+ :visible="true"
|
|
|
|
+ /> -->
|
|
<ModuleFireNewDual
|
|
<ModuleFireNewDual
|
|
v-if="cfgA && cfgB"
|
|
v-if="cfgA && cfgB"
|
|
:show-style="cfgA.showStyle"
|
|
:show-style="cfgA.showStyle"
|
|
@@ -46,6 +56,7 @@ import { computed, onMounted, onUnmounted } from 'vue';
|
|
// import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
// import { CaretDownOutlined } from '@ant-design/icons-vue';
|
|
import NewNav from './components/originalNew/NewNav.vue';
|
|
import NewNav from './components/originalNew/NewNav.vue';
|
|
import { useInitConfigs, useInitPage } from './hooks/useInit';
|
|
import { useInitConfigs, useInitPage } from './hooks/useInit';
|
|
|
|
+import ModuleFireNewTop from './components/ModuleFireNewTop.vue';
|
|
import ModuleFireNew from './components/ModuleFireNew.vue';
|
|
import ModuleFireNew from './components/ModuleFireNew.vue';
|
|
import ModuleFireNewDual from './components/ModuleFireNewDual.vue';
|
|
import ModuleFireNewDual from './components/ModuleFireNewDual.vue';
|
|
import VentModal from '/@/components/vent/micro/ventModal.vue';
|
|
import VentModal from '/@/components/vent/micro/ventModal.vue';
|
|
@@ -54,7 +65,7 @@ import { EyeFilled } from '@ant-design/icons-vue';
|
|
import { testConfigNewFire } from './configurable.data.New';
|
|
import { testConfigNewFire } from './configurable.data.New';
|
|
const cfgs = computed(() =>
|
|
const cfgs = computed(() =>
|
|
configs.value.filter((_, index) => {
|
|
configs.value.filter((_, index) => {
|
|
- return index !== 4 && index !== 3;
|
|
|
|
|
|
+ return index !== 4 && index !== 3 && index !== 5;
|
|
})
|
|
})
|
|
);
|
|
);
|
|
const cfgA = computed<any>(() =>
|
|
const cfgA = computed<any>(() =>
|
|
@@ -67,6 +78,11 @@ const cfgB = computed<any>(() =>
|
|
return index === 4;
|
|
return index === 4;
|
|
})
|
|
})
|
|
);
|
|
);
|
|
|
|
+const cfgTop = computed<any>(() =>
|
|
|
|
+ configs.value.find((_, index) => {
|
|
|
|
+ return index === 5;
|
|
|
|
+ })
|
|
|
|
+);
|
|
const { configs, devicesTypes, fetchConfigs } = useInitConfigs();
|
|
const { configs, devicesTypes, fetchConfigs } = useInitConfigs();
|
|
const { mainTitle, data, updateData } = useInitPage('火灾预警系统');
|
|
const { mainTitle, data, updateData } = useInitPage('火灾预警系统');
|
|
let interval: number | undefined;
|
|
let interval: number | undefined;
|