From 952074a5b6f83f2dc813ca3ffd7eb169d55cff8c Mon Sep 17 00:00:00 2001 From: zhangxiaodi1 Date: Thu, 7 Nov 2024 17:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E6=A0=87=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E7=AE=A1=E7=90=86=E8=B7=B3=E8=BD=AC=E5=88=B0=E6=8C=87?= =?UTF-8?q?=E6=A0=87=E6=9F=A5=E8=AF=A2=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dataset/IndexClassMs/IndexClassMs.vue | 14 +++-- .../IndexSearchServiceMs.vue | 57 +++++++++++++++---- 2 files changed, 56 insertions(+), 15 deletions(-) diff --git a/src/views/dataset/IndexClassMs/IndexClassMs.vue b/src/views/dataset/IndexClassMs/IndexClassMs.vue index 9ae8c98..a97a687 100644 --- a/src/views/dataset/IndexClassMs/IndexClassMs.vue +++ b/src/views/dataset/IndexClassMs/IndexClassMs.vue @@ -58,10 +58,6 @@ const { tableRegister, tableState, tableMethods } = useTable({ const { loading, dataList, total, currentPage, pageSize } = tableState const { getList, refresh } = tableMethods -const lookRule = async (row: any) => { - router.push({name:"IndexSearchServiceMs"}) -}; - const tableColumns = reactive([ { field: 'selection', @@ -170,7 +166,15 @@ const action = async (row: any, type: string) => { } } - +/** 指标查询 **/ +const lookRule = (data)=>{ + router.push({ + name:'IndexSearchServiceMs', + query:{ + dicid:data.dicid, + } + }) +} /** 单行删除 */ const delData = async (row: TableData) => { diff --git a/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue b/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue index 15e79d7..4a34822 100644 --- a/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue +++ b/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue @@ -1,12 +1,8 @@