查看告警单跳转到告警单列表
This commit is contained in:
@@ -116,7 +116,10 @@ const tableStore = new TableStore({
|
||||
},
|
||||
click: row => {
|
||||
router.push({
|
||||
name: 'supervision/supervision/manage'
|
||||
name: 'supervision/supervision/manage',
|
||||
state:{
|
||||
type:1
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,10 @@ const tableStore = new TableStore({
|
||||
},
|
||||
click: row => {
|
||||
router.push({
|
||||
name: 'supervision/supervision/manage'
|
||||
name: 'supervision/supervision/manage',
|
||||
state:{
|
||||
type:1
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -267,7 +267,10 @@ const tableStore = new TableStore({
|
||||
},
|
||||
click: row => {
|
||||
router.push({
|
||||
name: 'supervision/supervision/manage'
|
||||
name: 'supervision/supervision/manage',
|
||||
state:{
|
||||
type:1
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,12 +20,19 @@ import technology from './components/technology.vue'
|
||||
import earlyWarn from './components/earlyWarn.vue'
|
||||
import alarm from './components/alarm.vue'
|
||||
import { onMounted, reactive, ref, provide } from 'vue'
|
||||
|
||||
import { useRoute } from 'vue-router'
|
||||
import { mainHeight } from '@/utils/layout'
|
||||
defineOptions({
|
||||
name: 'supervision/supervision/manage'
|
||||
})
|
||||
const activeName = ref('3')
|
||||
const states = history.state
|
||||
const activeName: any = ref(null)
|
||||
//查看告警单
|
||||
if (states.type == 1) {
|
||||
activeName.value = '4'
|
||||
} else {
|
||||
activeName.value = '3'
|
||||
}
|
||||
const Statistics = ref()
|
||||
const compatibility = ref()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user