feat(mpuniapp): 落地智能销售移动工作台与5栏TabBar纯正架构(工作台、名片、雷达、潜客、我的)
这个提交包含在:
@@ -26,9 +26,22 @@ import {
|
||||
TeamRankItem,
|
||||
SubmitLeadParams,
|
||||
RecordRadarTrackParams,
|
||||
WorkplaceOverviewResult,
|
||||
} from './types.uts';
|
||||
import { httpGet, httpPost } from './request.uts';
|
||||
|
||||
/**
|
||||
* 获取商务概览工作台数据 (包含今日KPI与雷达高光Feed)
|
||||
* 对齐后端 POST /admin/crm/radar/workplace
|
||||
*/
|
||||
export function fetchWorkplaceOverview(feedLimit?: number): Promise<WorkplaceOverviewResult> {
|
||||
const query: Record<string, number> = {};
|
||||
if (feedLimit != null) {
|
||||
query.feedLimit = feedLimit;
|
||||
}
|
||||
return httpPost<WorkplaceOverviewResult>('/admin/crm/radar/workplace', query);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取微官网与名片公开聚合详情 (包含 Hero、Bento 块、多语言与品牌 VI)
|
||||
* 对齐后端 GET /open/card/portal/detail?id= | ?slug= | ?slugOrId=
|
||||
|
||||
在新工单中引用
屏蔽一个用户