Просмотр исходного кода

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 месяцев назад
Родитель
Сommit
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)) {