fix: 【工作报告】填写内容--汇报类型切换提交提示错误问题

This commit is contained in:
韦荣超 2022-01-21 18:08:48 +08:00
parent 0ed0b5ee43
commit 2dd8f75d52

View File

@ -157,6 +157,7 @@ export default {
if (data.id) {
this.getDetail(data.id);
} else {
this.reportData.id = 0;
this.reportData.title = data.title;
this.reportData.content = data.content;
}
@ -176,9 +177,7 @@ export default {
this.prevCycleText = this.$L("上一天");
this.nextCycleText = this.$L("下一天");
}
if (this.id <= 0)
this.getTemplate();
this.getTemplate();
},
getDetail(reportId) {
this.userInputShow = false;