|
|
@ -68,6 +68,18 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '管理精度', |
|
|
|
field: 'manageMode', |
|
|
|
dictType: DICT_TYPE.MANAGEMENT_MODE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否是功能区', |
|
|
|
field: 'isFunctional', |
|
|
@ -93,7 +105,6 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
isSearch: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
@ -229,4 +240,7 @@ export const AreaRules = reactive({ |
|
|
|
type: [ |
|
|
|
{ required: true, message: '请选择类型', trigger: 'change' } |
|
|
|
], |
|
|
|
manageMode: [ |
|
|
|
{ required: true, message: '请选择管理精度', trigger: 'change' } |
|
|
|
] |
|
|
|
}) |