diff --git a/apps/web-antd/src/components/promoter/PromoterDetailModal.vue b/apps/web-antd/src/components/promoter/PromoterDetailModal.vue
index f04b899d..1f008614 100644
--- a/apps/web-antd/src/components/promoter/PromoterDetailModal.vue
+++ b/apps/web-antd/src/components/promoter/PromoterDetailModal.vue
@@ -32,6 +32,8 @@ type PromoterDetail = {
clinic_store_count: number;
pharmacy_store_count: number;
store_total_count: number;
+ pending_clinic_count: number;
+ pending_pharmacy_count: number;
store_list: PromoterStoreItem[];
total_valid_amount: string;
month_valid_amount: string;
@@ -137,11 +139,17 @@ async function loadDetail(id?: number, code?: string) {
-
+
{{ detail.clinic_store_count ?? 0 }} 家
+
+ (待审核 {{ detail.pending_clinic_count }})
+
-
+
{{ detail.pharmacy_store_count ?? 0 }} 家
+
+ (待审核 {{ detail.pending_pharmacy_count }})
+
{{ formatMoney(detail.total_valid_amount) }}
@@ -214,6 +222,12 @@ async function loadDetail(id?: number, code?: string) {
margin-top: 8px;
}
+.promoter-detail__pending {
+ margin-left: 4px;
+ font-size: 12px;
+ color: #fa8c16;
+}
+
.promoter-detail__section-title {
margin: 16px 0 8px;
font-size: 14px;
diff --git a/apps/web-antd/src/views/system/salesperson-dashboard/api/index.ts b/apps/web-antd/src/views/system/salesperson-dashboard/api/index.ts
index 5c8a5cad..90d4bb5d 100644
--- a/apps/web-antd/src/views/system/salesperson-dashboard/api/index.ts
+++ b/apps/web-antd/src/views/system/salesperson-dashboard/api/index.ts
@@ -65,7 +65,7 @@ export type SalespersonDashboardResult = {
input_total: number;
clinic_input_count: number;
pharmacy_input_count: number;
- approved_count: number;
+ pending_count: number;
valid_amount_total: string;
prev_input_total: number;
prev_valid_amount_total: string;
diff --git a/apps/web-antd/src/views/system/salesperson-dashboard/index.vue b/apps/web-antd/src/views/system/salesperson-dashboard/index.vue
index 2a568fa4..ae21c04e 100644
--- a/apps/web-antd/src/views/system/salesperson-dashboard/index.vue
+++ b/apps/web-antd/src/views/system/salesperson-dashboard/index.vue
@@ -128,11 +128,11 @@ const statItems = computed(() => {
decorationIcon: SvgDownloadIcon,
},
{
- title: '审核通过',
- value: summary.approved_count,
+ title: '待审核',
+ value: summary.pending_count,
valueType: 'count',
footerLabel: '当前周期',
- footerValue: summary.approved_count,
+ footerValue: summary.pending_count,
decorationIcon: SvgBellIcon,
},
{
diff --git a/apps/web-antd/src/views/system/store-input/api/index.ts b/apps/web-antd/src/views/system/store-input/api/index.ts
index 9e2cc069..77fb2180 100644
--- a/apps/web-antd/src/views/system/store-input/api/index.ts
+++ b/apps/web-antd/src/views/system/store-input/api/index.ts
@@ -71,6 +71,8 @@ export async function getPromoterDetailApi(params: { id?: number; code?: string
clinic_store_count: number;
pharmacy_store_count: number;
store_total_count: number;
+ pending_clinic_count: number;
+ pending_pharmacy_count: number;
store_list: PromoterStoreListItem[];
total_valid_amount: string;
month_valid_amount: string;