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