微调下拉框,数据库字段
This commit is contained in:
@@ -91,7 +91,7 @@ const columns = ref<ColumnProps<ErrorSystem.ErrorSystemList>[]>([
|
||||
label: '误差体系名称',
|
||||
},
|
||||
{
|
||||
prop: 'Standard_Name',
|
||||
prop: 'standard_Name',
|
||||
label: '参照标准名称',
|
||||
},
|
||||
{
|
||||
@@ -104,7 +104,9 @@ const columns = ref<ColumnProps<ErrorSystem.ErrorSystemList>[]>([
|
||||
prop: 'dev_Level',
|
||||
label: '适用设备等级',
|
||||
width: 120,
|
||||
enum: dictStore.getDictData('errorLevel'),
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
fieldNames: { label: 'label', value: 'code' },
|
||||
},
|
||||
{ prop: 'operation', label: '操作', fixed: 'right' ,width: 300,},
|
||||
])
|
||||
@@ -124,8 +126,8 @@ const openAddDialog = () => {
|
||||
standard_Name:'',
|
||||
standard_Time:'',
|
||||
dev_Level:'',
|
||||
enable:1,
|
||||
state:1,
|
||||
|
||||
state:0,
|
||||
};
|
||||
dialogTitle.value = '新增误差体系';
|
||||
dialogFormVisible.value = true; // 打开对话框
|
||||
|
||||
Reference in New Issue
Block a user