diff --git a/src/views/inspection/inspectionobject.vue b/src/views/inspection/inspectionobject.vue index 11412ca..dc54223 100644 --- a/src/views/inspection/inspectionobject.vue +++ b/src/views/inspection/inspectionobject.vue @@ -121,13 +121,7 @@ label: "对象名称", prop: "objectName", search:true, - type: "select", span: 4.5, - dicUrl: "/api/daf-system/dict/dictionary?code=obj_name", - props: { - label: "dictValue", - value: "dictKey" - }, rules: [{ required: true, message: "请输入对象名称", diff --git a/src/views/inspection/inspectionobjectDetail.vue b/src/views/inspection/inspectionobjectDetail.vue index db85d14..225d419 100644 --- a/src/views/inspection/inspectionobjectDetail.vue +++ b/src/views/inspection/inspectionobjectDetail.vue @@ -60,6 +60,7 @@ export default { prop: "objectName", search:true, span:8, + maxlength: 20, rules: [{ required: true, message: "请输入对象名称", @@ -88,7 +89,7 @@ export default { label: "对象类型", prop: "objectType", span:8, - value:" ", + maxlength: 20, event: { change: (val) => { if (!val) return @@ -130,6 +131,7 @@ export default { prop: "objectArea", search:true, span:8, + maxlength: 20, rules: [{ required: true, message: "请输入对象区域", @@ -191,6 +193,7 @@ export default { label: "取消原因", prop: "cancelReason", span: 8, + maxlength: 20, }, { label: "工器具编码",