소스 검색

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 1 개월 전
부모
커밋
75d60c5b75
1개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  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
     if (nextTab === 'pending_arrange') {
       searchForm.followStatus = ['pending_arrange']
+    } else if (nextTab === 'arranged') {
+      searchForm.followStatus = ['arranged']
     } else if (nextTab === 'drafting') {
       searchForm.followStatus = ['drafting']
     } else if (isPlPlanFollowStatusListTab(prevTab) && !isPlPlanFollowStatusListTab(nextTab)) {