检测计划表格误差体系,检测源跳转

This commit is contained in:
sjl
2024-12-12 11:38:42 +08:00
parent 726f7841e8
commit 8bd5351d29
7 changed files with 117 additions and 149 deletions

View File

@@ -50,6 +50,7 @@
const proTable = ref<ProTableInstance>()
const getTableList = (params: any) => {
console.log("getTableList",params)
let newParams = JSON.parse(JSON.stringify(params))
const patternId = dictStore.getDictData('Pattern').find(item=>item.name=== modeStore.currentMode)?.id//获取数据字典中对应的id
newParams.pattern = patternId
@@ -65,7 +66,7 @@
prop: 'name',
label: '名称',
search: { el: 'input' },
minWidth: 180,
minWidth: 300,
},
{
prop: 'devType',
@@ -73,7 +74,7 @@
enum: dictStore.getDictData('S_Dev_Type_'+dictStore.getDictData('Pattern').find(item=>item.name=== modeStore.currentMode)?.code),
fieldNames: { label: 'name', value: 'id' },
search: { el: 'select' },
minWidth: 220,
minWidth: 250,
},
{
prop: 'type',