From 312490ce59da5d3c4fefb7eccbf1ef49388e97e1 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Mon, 24 Mar 2025 19:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/errorStandardPopup.vue | 223 +++++++++--------- frontend/src/views/plan/planList/index.vue | 11 +- 2 files changed, 116 insertions(+), 118 deletions(-) diff --git a/frontend/src/views/machine/errorSystem/components/errorStandardPopup.vue b/frontend/src/views/machine/errorSystem/components/errorStandardPopup.vue index 47bc4f7..e72af0a 100644 --- a/frontend/src/views/machine/errorSystem/components/errorStandardPopup.vue +++ b/frontend/src/views/machine/errorSystem/components/errorStandardPopup.vue @@ -1,63 +1,62 @@ - - - + diff --git a/frontend/src/views/plan/planList/index.vue b/frontend/src/views/plan/planList/index.vue index e9566c8..42c449d 100644 --- a/frontend/src/views/plan/planList/index.vue +++ b/frontend/src/views/plan/planList/index.vue @@ -219,9 +219,7 @@ const columns = reactive[]>([ width: 360, render: scope => { return ( - showTestScript(scope.row.scriptId)}> - {scope.row.scriptName} - + {scope.row.scriptName} ) }, }, @@ -231,7 +229,7 @@ const columns = reactive[]>([ width: 200, render: scope => { return ( - showData(scope.row.errorSysName || '')}> + showData(scope.row)}> {scope.row.errorSysName} ) @@ -282,8 +280,9 @@ function isVisible(row: Plan.ReqPlan) { } -function showData(row: string) { - errorStandardPopup.value?.open(row, row) +function showData(row: any) { + let split = row.errorSysName.split('-') + errorStandardPopup.value?.open(row.errorSysName, {id:row.errorSysId,devLevel:split[split.length-1]}) } async function showTestSource(row:string) {