diff --git a/src/views/modules/shequzhili/eventOld/cpts/add.vue b/src/views/modules/shequzhili/eventOld/cpts/add.vue index 659ca86ed..7298fa83f 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/add.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/add.vue @@ -21,7 +21,7 @@ - + @@ -49,7 +49,7 @@ - + @@ -274,7 +274,7 @@ export default { mobile: [ { required: isReport, message: "联系电话不能为空", trigger: "blur" }, ], - responsibleName: [{ required: isChengguan, message: "责任人不能为空", trigger: "change" }], + responsibleName: [{ required: isChengguan, message: "责任人不能为空", trigger: "blur" }], responsibleMobile: [ { required: isChengguan, message: "联系电话不能为空", trigger: "blur" }, ], @@ -352,6 +352,9 @@ export default { this.$refs.ref_form1.clearValidate(); // 清除所有验证 this.formData.demandType = this.formData.demandType; // 重新设置诉求类型 }, + cleanDataRule(){ + this.$refs.ref_form1.clearValidate(); // 清除所有验证 + }, getLastItem(list, vals, key) { let LIST = list || []; for (let item of LIST) { diff --git a/src/views/modules/shequzhili/eventOld/cpts/process-form-designate.vue b/src/views/modules/shequzhili/eventOld/cpts/process-form-designate.vue index dc4f6965b..c5def143e 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/process-form-designate.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/process-form-designate.vue @@ -70,7 +70,7 @@ export default { categoryId: "",//事件分类 deptId: "", //指派部门 deptName: "", - sendMsg:0, + sendMsg:1, categoryList: [], files: [] //附件 },