@ -10,8 +10,8 @@ export function defaultBatchDeletionBtn(option:any) {
label: '批量删除',
name: 'batch',
hide: false,
type: 'warning',
type: 'danger',
icon: 'ep:upload',
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: {
// search: {
show: true,
// show: true,
component: 'Select',
// component: 'Select',
api: () => getlsit(),
// api: () => getlsit(),
// componentProps: {
// filterable:true,
// optionsAlias: {
labelField: 'contents',
// labelField: 'contents',
valueField: 'contents'
// valueField: 'contents'
// }
},
// },
{
label: '检测方法',