Commit 0006b587 by 李伟康

fix(dailyNewspaper): 修复日报页面返回逻辑和月度待办计数加载问题

- 在日报编辑页面添加了正确的返回页面逻辑
- 修复了月度待办计数的加载时机,避免重复调用
- 移除了挂载时的重复计数加载调用
- 优化了日报状态判断后的页面跳转逻辑
1 parent 0d1d08b0
......@@ -130,6 +130,7 @@ export default {
this.list = utils.deepClone(val)
setTimeout(() => {
this.loadComplete = true
this.getMonthlyPendingCount()
}, 200)
},
immediate: true,
......@@ -137,7 +138,7 @@ export default {
}
},
mounted () {
this.getMonthlyPendingCount()
},
methods: {
......
......@@ -203,6 +203,7 @@ export default {
if (this.currentDate == now) {
if (this.templateType == 2) {
if (this.reportStatus != 1) this.exitInterception()
else this.backPage()
} else {
this.exitInterception()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!