|
@ -20,11 +20,11 @@ export const HrSizingmilldata108 = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '数据点名称', |
|
|
label: '数据点名称', |
|
|
field: 'icode', |
|
|
field: 'iname', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
// formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
|
|
|
return sjdList.find((obj) => obj.code === cellValue)?.label |
|
|
// return sjdList.find((obj) => obj.code === cellValue)?.label
|
|
|
}, |
|
|
// },
|
|
|
search: { |
|
|
search: { |
|
|
show: true, |
|
|
show: true, |
|
|
component: 'Select', |
|
|
component: 'Select', |
|
@ -63,9 +63,9 @@ export const HrSizingmilldata108 = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '仪表的名称', |
|
|
label: '仪表的名称', |
|
|
field: 'mcode', |
|
|
field: 'mcode', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
// formatter: (_: Recordable, __: TableColumn, cellValue: number) => {
|
|
|
return yqbList.find((obj) => obj.code === cellValue)?.label |
|
|
// return yqbList.find((obj) => obj.code === cellValue)?.label
|
|
|
}, |
|
|
// },
|
|
|
search: { |
|
|
search: { |
|
|
show: true, |
|
|
show: true, |
|
|
component: 'Select', |
|
|
component: 'Select', |
|
|