Commit 9066c7fd authored by 耿迪迪's avatar 耿迪迪

检查记录隐患校验

parent 08c46d56
......@@ -441,6 +441,8 @@
this.resetForm("form");
},
submitForm(){
this.$refs["form"].validate(valid => {
if (valid) {
if(this.editIndex > -1){
this.refList[this.editIndex] = this.form;
}else{
......@@ -451,6 +453,8 @@
this.$parent.$parent.$parent.form.rectificationList = this.refList;
this.$parent.$parent.$parent.form.fHazardsNum = this.refList.length;
this.open = false;
}
})
},
cancel(){
this.open = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment