|
@@ -75,7 +75,7 @@
|
|
|
import { computed, onMounted, onUnmounted, ref } from 'vue';
|
|
|
import { useInitConfigs, useInitPage } from './hooks/useInit';
|
|
|
import { getAlarmRecord, getDeviceSys } from './configurable.api';
|
|
|
- import { testConfigTSFire } from './configurable.data.tashan';
|
|
|
+ // import { testConfigTSFire } from './configurable.data.tashan';
|
|
|
import ModuleCommon from './components/ModuleCommon.vue';
|
|
|
import ModuleCommonDual from './components/ModuleCommonDual.vue';
|
|
|
// import Three3D from './components/three3D.vue';
|
|
@@ -99,10 +99,11 @@
|
|
|
sgZbAlarmNum: 0,
|
|
|
yjjbLevelStr: '-',
|
|
|
});
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
let alarmLogData = [];
|
|
|
fetchConfigs('ts_fire').then(() => {
|
|
|
- configs.value = testConfigTSFire;
|
|
|
+ // configs.value = testConfigTSFire;
|
|
|
getDeviceSys({
|
|
|
devicetype: 'sys',
|
|
|
type: 'all',
|