fix : 修复台账基础信息展示及年度计划通过后跳转

This commit is contained in:
2024-07-07 02:22:17 +08:00
parent 9b19de0ff9
commit b21719aaa0
3 changed files with 26 additions and 39 deletions

View File

@@ -272,6 +272,9 @@ const handleRejectPlan = async () => {
type: res.code === 1000 ? 'success' : 'error'
})
tagsViewStore.delVisitedViews(router.currentRoute.value.path)
router.push({
name: 'Summary'
})
}
const handleAgreePlan = async () => {
const params = {
@@ -287,6 +290,9 @@ const handleAgreePlan = async () => {
type: res.code === 1000 ? 'success' : 'error'
})
tagsViewStore.delVisitedViews(router.currentRoute.value.path)
router.push({
name: 'Summary'
})
}
const filterDict = (data, value) => {
if (data === undefined || value === undefined) return;