调解结果开发

This commit is contained in:
gyj
2024-02-02 09:19:51 +08:00
parent ed0cf608bc
commit 4a5fd1968a
3 changed files with 22 additions and 19 deletions
@@ -507,6 +507,7 @@ export default {
addVisable(val) {
if (val) {
this.activeName = "first";
this.getTemplateFn()
}
},
},
@@ -554,7 +555,6 @@ export default {
/** 获取裁决书模板 */
getTemplateFn(data) {
getTemplate(data).then((res) => {
console.log(res);
this.templateList = res.rows;
});
},
@@ -602,9 +602,9 @@ export default {
submitForm() {
this.$refs["ruleForm"].validate((valid) => {
if (valid) {
if (this.addModifyData == 1) {
if (this.addModifyData == 3) {
this.modifyData(this.formData);
} else if (this.addModifyData == 2) {
} else if (this.addModifyData == 1) {
this.insertFn(this.formData);
}
}