@ -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: ''
})
@ -31,7 +31,7 @@ export const Records = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: {
filterable:true,
optionsAlias: {
labelField: 'name',
labelField: 'code',
valueField: 'code'
}
@ -48,7 +48,7 @@ export const Records = useCrudSchemas(reactive<CrudSchema[]>([
@ -46,18 +46,18 @@ export const RecordsDetails = useCrudSchemas(reactive<CrudSchema[]>([
field: 'contents',
isSearch: true,
isTable:true,
search: {
show: true,
component: 'Select',
api: () => getlsit(),
labelField: 'contents',
valueField: 'contents'
},
// search: {
// show: true,
// component: 'Select',
// api: () => getlsit(),
// componentProps: {
// filterable:true,
// optionsAlias: {
// labelField: 'contents',
// valueField: 'contents'
// }
// },
{
label: '检测方法',