Commit 0006b587 by 李伟康

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

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