微调下拉框,数据库字段

This commit is contained in:
sjl
2024-10-30 19:07:41 +08:00
parent 18b9ef9e51
commit d2d4153114
12 changed files with 203 additions and 67 deletions

View File

@@ -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; // 打开对话框