From 7278d806bcd1b82a42efc468f69004a2ca76094f Mon Sep 17 00:00:00 2001 From: hy Date: Sat, 18 Apr 2026 18:16:04 +0800 Subject: [PATCH] fix: repair team application filters --- .../team-application-process-drawer.vue | 37 +++++++------------ apps/src/views/team/shared.ts | 2 +- 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/apps/src/views/team/components/team-application-process-drawer.vue b/apps/src/views/team/components/team-application-process-drawer.vue index e219ad4..77ee247 100644 --- a/apps/src/views/team/components/team-application-process-drawer.vue +++ b/apps/src/views/team/components/team-application-process-drawer.vue @@ -11,7 +11,6 @@ import { Drawer, Empty, Select, - SelectOption, Space, Tag, } from 'antdv-next'; @@ -45,6 +44,14 @@ const statusLabelMap = TEAM_APPLICATION_PROCESS_STATUS_OPTIONS.reduce ({ + label: item.name, + value: item.value, +})); +const reasonOptions = TEAM_REASON_OPTIONS.map((item) => ({ + label: item.name, + value: item.value, +})); const query = reactive({ associateId: '', @@ -103,34 +110,18 @@ async function loadData(reset = false) { >
- - - - {{ item.name }} - - + /> diff --git a/apps/src/views/team/shared.ts b/apps/src/views/team/shared.ts index 863f6f2..b0a1fb7 100644 --- a/apps/src/views/team/shared.ts +++ b/apps/src/views/team/shared.ts @@ -32,7 +32,7 @@ export const TEAM_CONTACT_TYPE_OPTIONS = [ export const TEAM_APPLICATION_PROCESS_STATUS_OPTIONS = [ { value: 'WAIT', name: '待处理' }, { value: 'AGREE', name: '同意' }, - { value: 'REJECT', name: '拒绝' }, + { value: 'REJECT', name: '驳回' }, ] as const; export const TEAM_REASON_OPTIONS = [