From 859c85b4279a7f8e0f92f86f8489d10239a72767 Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Tue, 18 Mar 2025 16:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=B5=8B=E8=84=9A=E6=9C=AC=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E9=A2=9D=E5=AE=9A=E7=94=B5=E5=8E=8B=20=E9=A2=9D?= =?UTF-8?q?=E5=AE=9A=E7=94=B5=E6=B5=81=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/machine/testScript/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/machine/testScript/index.vue b/frontend/src/views/machine/testScript/index.vue index 7df9b80..d9df764 100644 --- a/frontend/src/views/machine/testScript/index.vue +++ b/frontend/src/views/machine/testScript/index.vue @@ -127,6 +127,16 @@ const columns = reactive[]>([ search: showValueSearch.value ? { el: 'select' } : undefined, minWidth: 150 }, + { + prop: 'ratedCurr', + label: '额定电流', + minWidth: 100 + }, + { + prop: 'ratedVolt', + label: '额定电压', + minWidth: 100 + }, { prop: 'type', label: '模板类型', @@ -135,6 +145,7 @@ const columns = reactive[]>([ return {scope.row.type ? '模版' : '脚本'} } }, + { prop: 'operation', label: '操作', fixed: 'right', width: 250 } ]) @@ -143,7 +154,6 @@ const openDialog = (titleType: string, row: Partial = if (modeStore.currentMode == '比对式') { comparisonPopup.value?.open(titleType, row, modeStore.currentMode) } else { - if (titleType == 'add') { router.push({ path: '/machine/testScriptAdd',