|
@ -26,12 +26,12 @@ export const Rule = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
// {
|
|
|
label: '代码', |
|
|
// label: '代码',
|
|
|
field: 'code', |
|
|
// field: 'code',
|
|
|
sort: 'custom', |
|
|
// sort: 'custom',
|
|
|
isSearch:true |
|
|
// isSearch:true
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '名称', |
|
|
label: '名称', |
|
|
field: 'name', |
|
|
field: 'name', |
|
@ -68,9 +68,9 @@ export const RuleRules = reactive({ |
|
|
priority: [ |
|
|
priority: [ |
|
|
{ required: true, message: '请输入优先级', trigger: 'blur' } |
|
|
{ required: true, message: '请输入优先级', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
code: [ |
|
|
// code: [
|
|
|
{ required: true, message: '请输入代码', trigger: 'blur' } |
|
|
// { required: true, message: '请输入代码', trigger: 'blur' }
|
|
|
], |
|
|
// ],
|
|
|
configuration: [ |
|
|
configuration: [ |
|
|
{ required: true, message: '请输入配置', trigger: 'blur' } |
|
|
{ required: true, message: '请输入配置', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|