Prechádzať zdrojové kódy

feat(web-admin): sync followStatus when switching to arranged plan tab

Mirror pending_arrange behavior so the arranged tab forces followStatus filter to arranged.

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 2 mesiacov pred
rodič
commit
75d60c5b75
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      web-admin/src/views/pl/plan/index.vue

+ 2 - 0
web-admin/src/views/pl/plan/index.vue

@@ -1215,6 +1215,8 @@ tableEl: planTableWrapRef,
     searchForm.planType = filters.planType
     searchForm.planType = filters.planType
     if (nextTab === 'pending_arrange') {
     if (nextTab === 'pending_arrange') {
       searchForm.followStatus = ['pending_arrange']
       searchForm.followStatus = ['pending_arrange']
+    } else if (nextTab === 'arranged') {
+      searchForm.followStatus = ['arranged']
     } else if (nextTab === 'drafting') {
     } else if (nextTab === 'drafting') {
       searchForm.followStatus = ['drafting']
       searchForm.followStatus = ['drafting']
     } else if (isPlPlanFollowStatusListTab(prevTab) && !isPlPlanFollowStatusListTab(nextTab)) {
     } else if (isPlPlanFollowStatusListTab(prevTab) && !isPlPlanFollowStatusListTab(nextTab)) {