diff --git a/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue b/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue index a6913481..07b03734 100644 --- a/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue +++ b/src/views/pqs/supervise/electricalEnergy/components1/testQuestions.vue @@ -13,7 +13,9 @@ import TableHeader from '@/components/table/header/index.vue' import testQuestionsForm from './form/testQuestionsForm.vue' import { initiateWarningLeaflet } from '@/api/supervision-boot/survey' import { ElMessage } from 'element-plus' - +import { useRouter } from 'vue-router' +const { push } = useRouter() +const router = useRouter() // 路由对象 const tableRef = ref() const TableHeaderRef = ref() const testQuestionsFormRef = ref() @@ -76,7 +78,9 @@ const tableStore = new TableStore({ return row.initiateWarningFlag == 0 }, click: row => { - + router.push({ + name:'supervision/supervision/manage' + }) } } ]