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>
This commit is contained in:
zlwuandCursor committed 2026-09-04 17:36:34 +08:00
1 parent 01946dde8e
commit 75d60c5b75
1 file changed
+2
+2
View File
@@ -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)) {