查看告警单跳转到告警单列表

This commit is contained in:
zhujiyan
2024-06-07 14:24:44 +08:00
parent a99c25d911
commit a4738fc7dd
4 changed files with 21 additions and 5 deletions

View File

@@ -116,7 +116,10 @@ const tableStore = new TableStore({
}, },
click: row => { click: row => {
router.push({ router.push({
name: 'supervision/supervision/manage' name: 'supervision/supervision/manage',
state:{
type:1
}
}) })
} }
} }

View File

@@ -92,7 +92,10 @@ const tableStore = new TableStore({
}, },
click: row => { click: row => {
router.push({ router.push({
name: 'supervision/supervision/manage' name: 'supervision/supervision/manage',
state:{
type:1
}
}) })
} }
} }

View File

@@ -267,7 +267,10 @@ const tableStore = new TableStore({
}, },
click: row => { click: row => {
router.push({ router.push({
name: 'supervision/supervision/manage' name: 'supervision/supervision/manage',
state:{
type:1
}
}) })
} }
} }

View File

@@ -20,12 +20,19 @@ import technology from './components/technology.vue'
import earlyWarn from './components/earlyWarn.vue' import earlyWarn from './components/earlyWarn.vue'
import alarm from './components/alarm.vue' import alarm from './components/alarm.vue'
import { onMounted, reactive, ref, provide } from 'vue' import { onMounted, reactive, ref, provide } from 'vue'
import { useRoute } from 'vue-router'
import { mainHeight } from '@/utils/layout' import { mainHeight } from '@/utils/layout'
defineOptions({ defineOptions({
name: 'supervision/supervision/manage' 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 Statistics = ref()
const compatibility = ref() const compatibility = ref()