检测计划表格误差体系,检测源跳转
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user