From 2804f88fbff00ddabbeddec1a401b020b1465e91 Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Wed, 22 May 2024 16:30:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E5=91=8A=E8=AD=A6=E5=8D=95=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E5=9F=BA=E7=A1=80=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../electricalEnergy/components1/testQuestions.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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' + }) } } ]