检测脚本添加 额定电压 额定电流字段
This commit is contained in:
@@ -127,6 +127,16 @@ const columns = reactive<ColumnProps<TestScript.ResTestScript>[]>([
|
||||
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<ColumnProps<TestScript.ResTestScript>[]>([
|
||||
return <el-tag type={scope.row.type ? 'success' : 'primary'}> {scope.row.type ? '模版' : '脚本'} </el-tag>
|
||||
}
|
||||
},
|
||||
|
||||
{ prop: 'operation', label: '操作', fixed: 'right', width: 250 }
|
||||
])
|
||||
|
||||
@@ -143,7 +154,6 @@ const openDialog = (titleType: string, row: Partial<TestScript.ResTestScript> =
|
||||
if (modeStore.currentMode == '比对式') {
|
||||
comparisonPopup.value?.open(titleType, row, modeStore.currentMode)
|
||||
} else {
|
||||
|
||||
if (titleType == 'add') {
|
||||
router.push({
|
||||
path: '/machine/testScriptAdd',
|
||||
|
||||
Reference in New Issue
Block a user