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',