Compare commits

..

No commits in common. '1d0f24e5fc58b00021952a8119712dd4c183e4a8' and '6a53c32f0384f7eae0d8fda6c15eb795e16b6821' have entirely different histories.

@ -796,8 +796,6 @@ export default {
status: [ { required: true,message: "整改进度必须选择", trigger: 'blur'}], status: [ { required: true,message: "整改进度必须选择", trigger: 'blur'}],
// rectifyMeasure: [ { type: 'string',required: true,message: "", trigger: 'blur'}], // rectifyMeasure: [ { type: 'string',required: true,message: "", trigger: 'blur'}],
// rectifyTime: [ { type: 'date',required: true,message: "", trigger: 'blur'}], // rectifyTime: [ { type: 'date',required: true,message: "", trigger: 'blur'}],
hiddenDangerImg: [{required:true,message: "隐患照片必填", trigger: 'blur'}],
rectifyImg: [{ validator: this.validateRectifyImg,message: "整改照片必填", trigger: 'blur'}],
hiddenDangerGrade: [ { type: 'string',required: true,message: "隐患级别必填", trigger: 'blur'}], hiddenDangerGrade: [ { type: 'string',required: true,message: "隐患级别必填", trigger: 'blur'}],
// hiddenDangerType: [ { type: 'string',required: true,message: "", trigger: 'blur'}], // hiddenDangerType: [ { type: 'string',required: true,message: "", trigger: 'blur'}],
rectifyMoney: [ { rectifyMoney: [ {
@ -1015,14 +1013,6 @@ export default {
} }
}, },
validateRectifyImg(rule, value, callback) {
if (this.form.status == 10 && !value) {
callback(new Error('整改照片是必填项'));
this.$message.warning('整改照片不能为空!');
} else {
callback();
}
},
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const hiddenDangerIds = row.hiddenDangerId || this.ids; const hiddenDangerIds = row.hiddenDangerId || this.ids;

Loading…
Cancel
Save