feat(customer): 优化客户状态筛选和统计功能
- 新增状态映射函数,实现数字状态和字符串状态的互相转换 - 在 API 层面实现状态筛选,提高数据处理效率 - 重构客户数据获取逻辑,支持按状态筛选 - 优化状态统计功能,使用异步请求并行获取各状态数量 - 调整前端渲染逻辑,适应新的数据处理方式
This commit is contained in:
@@ -48,4 +48,5 @@ export interface ShopDealerApplyParam extends PageParam {
|
||||
mobile?: string;
|
||||
userId?: number;
|
||||
keywords?: string;
|
||||
applyStatus?: number; // 申请状态筛选 (10待审核 20审核通过 30驳回)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user