diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index 6034d1b..57b4d95 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -10,8 +10,8 @@ export function defaultBatchDeletionBtn(option:any) { label: '批量删除', name: 'batch', hide: false, - type: 'warning', - icon: 'ep:upload', + type: 'danger', + icon: 'ep:delete', color: '', hasPermi: '' }) diff --git a/src/views/detection/records/records.data.ts b/src/views/detection/records/records.data.ts index 6793673..b984d84 100644 --- a/src/views/detection/records/records.data.ts +++ b/src/views/detection/records/records.data.ts @@ -31,7 +31,7 @@ export const Records = useCrudSchemas(reactive([ componentProps: { filterable:true, optionsAlias: { - labelField: 'name', + labelField: 'code', valueField: 'code' } } @@ -48,7 +48,7 @@ export const Records = useCrudSchemas(reactive([ componentProps: { filterable:true, optionsAlias: { - labelField: 'name', + labelField: 'code', valueField: 'code' } } diff --git a/src/views/detection/recordsDetails/recordsDetails.data.ts b/src/views/detection/recordsDetails/recordsDetails.data.ts index 77e4567..970b4c4 100644 --- a/src/views/detection/recordsDetails/recordsDetails.data.ts +++ b/src/views/detection/recordsDetails/recordsDetails.data.ts @@ -46,18 +46,18 @@ export const RecordsDetails = useCrudSchemas(reactive([ field: 'contents', isSearch: true, isTable:true, - search: { - show: true, - component: 'Select', - api: () => getlsit(), - componentProps: { - filterable:true, - optionsAlias: { - labelField: 'contents', - valueField: 'contents' - } - } - }, + // search: { + // show: true, + // component: 'Select', + // api: () => getlsit(), + // componentProps: { + // filterable:true, + // optionsAlias: { + // labelField: 'contents', + // valueField: 'contents' + // } + // } + // }, }, { label: '检测方法',