fix: 【工作报告】填写内容--汇报类型切换提交提示错误问题
This commit is contained in:
parent
0ed0b5ee43
commit
2dd8f75d52
@ -157,6 +157,7 @@ export default {
|
|||||||
if (data.id) {
|
if (data.id) {
|
||||||
this.getDetail(data.id);
|
this.getDetail(data.id);
|
||||||
} else {
|
} else {
|
||||||
|
this.reportData.id = 0;
|
||||||
this.reportData.title = data.title;
|
this.reportData.title = data.title;
|
||||||
this.reportData.content = data.content;
|
this.reportData.content = data.content;
|
||||||
}
|
}
|
||||||
@ -176,9 +177,7 @@ export default {
|
|||||||
this.prevCycleText = this.$L("上一天");
|
this.prevCycleText = this.$L("上一天");
|
||||||
this.nextCycleText = this.$L("下一天");
|
this.nextCycleText = this.$L("下一天");
|
||||||
}
|
}
|
||||||
|
this.getTemplate();
|
||||||
if (this.id <= 0)
|
|
||||||
this.getTemplate();
|
|
||||||
},
|
},
|
||||||
getDetail(reportId) {
|
getDetail(reportId) {
|
||||||
this.userInputShow = false;
|
this.userInputShow = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user