feat: 工作台常用入口可批量编辑,简报改为横幅,列表补下拉刷新
各角色工作台支持批量保存常用入口和业务员看板;AI 简报改成单行横幅避免锁死滑动;仓库/提现/对账等列表统一下拉刷新,并补代付码弹窗。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -110,6 +110,14 @@ export function toggleClinicAdminFavoriteEntry(code) {
|
||||
return clinicRequest({ url: `${PREFIX}-dashboard/toggle-favorite-entry`, method: 'POST', data: { code } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量保存我的常用(功能页悬浮编辑 / 首页快捷添加)
|
||||
* xk-api POST /clinic-admin-dashboard/batch-save-favorite-entry
|
||||
*/
|
||||
export function batchSaveClinicAdminFavoriteEntry(codes) {
|
||||
return clinicRequest({ url: `${PREFIX}-dashboard/batch-save-favorite-entry`, method: 'POST', data: { codes } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 上报功能入口使用(点击跳转时静默调用,调用方无需处理失败)
|
||||
* xk-api POST /clinic-admin-dashboard/report-entry-usage
|
||||
@@ -271,3 +279,8 @@ export function updateWarehousePrice(data) {
|
||||
export function getWarehouseProductTypeOptions() {
|
||||
return clinicRequest({ url: `${PREFIX}-warehouse/product-type-options`, method: 'GET' });
|
||||
}
|
||||
|
||||
/** 诊所/药店可见仓库 Tab xk-api GET /clinic-admin-warehouse/warehouse-tabs */
|
||||
export function getWarehouseTabs() {
|
||||
return clinicRequest({ url: `${PREFIX}-warehouse/warehouse-tabs`, method: 'GET' });
|
||||
}
|
||||
|
||||
@@ -114,6 +114,14 @@ export function toggleClinicSalespersonFavoriteEntry(code) {
|
||||
return clinicSalespersonRequest({ url: '/newApi/clinic-salesperson-dashboard/toggle-favorite-entry', method: 'POST', data: { code } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量保存我的常用(功能页悬浮编辑 / 首页快捷添加)
|
||||
* xk-api POST /clinic-salesperson-dashboard/batch-save-favorite-entry
|
||||
*/
|
||||
export function batchSaveClinicSalespersonFavoriteEntry(codes) {
|
||||
return clinicSalespersonRequest({ url: '/newApi/clinic-salesperson-dashboard/batch-save-favorite-entry', method: 'POST', data: { codes } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 上报功能入口使用(点击跳转时静默调用,调用方无需处理失败)
|
||||
* xk-api POST /clinic-salesperson-dashboard/report-entry-usage
|
||||
|
||||
@@ -60,6 +60,14 @@ export function togglePlatformAdminFavoriteEntry(code) {
|
||||
return platformDashboardRequest({ url: '/newApi/platform-admin-dashboard/toggle-favorite-entry', method: 'POST', data: { code } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量保存我的常用(功能页悬浮编辑 / 首页快捷添加)
|
||||
* xk-api POST /platform-admin-dashboard/batch-save-favorite-entry
|
||||
*/
|
||||
export function batchSavePlatformAdminFavoriteEntry(codes) {
|
||||
return platformDashboardRequest({ url: '/newApi/platform-admin-dashboard/batch-save-favorite-entry', method: 'POST', data: { codes } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 上报功能入口使用(点击跳转时静默调用,调用方无需处理失败)
|
||||
* xk-api POST /platform-admin-dashboard/report-entry-usage
|
||||
|
||||
@@ -61,6 +61,15 @@ export function rescheduleAppointmentApi(data) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 生成患者代付码 xk-api POST /doctor-reception-wx/proxy-pay-qrcode(order_id;返回 base64 小程序码 + 订单号/金额) */
|
||||
export function getProxyPayQrcodeApi(data) {
|
||||
return req.request({
|
||||
url: '/newApi/doctor-reception-wx/proxy-pay-qrcode',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 医生本人号源日历 xk-api GET /doctor-reception-wx/my-schedule-calendar(改期抽屉选新日期/时段) */
|
||||
export function getMyScheduleCalendarApi(data) {
|
||||
return req.request({
|
||||
|
||||
@@ -20,6 +20,14 @@ function salespersonDashboardRequest(options) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 业务员工作台首页看板(录入进度 + 名下诊所营业额/处方/挂号)
|
||||
* xk-api GET /salesperson-dashboard/stats?range=today|week|month
|
||||
*/
|
||||
export function getSalespersonDashboardStats(params = {}) {
|
||||
return salespersonDashboardRequest({ url: '/newApi/salesperson-dashboard/stats', method: 'GET', data: params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 业务员工作台功能入口下发(后台按角色分配的宫格入口,替代前端硬编码)
|
||||
* xk-api GET /salesperson-dashboard/entries
|
||||
@@ -44,6 +52,14 @@ export function toggleSalespersonFavoriteEntry(code) {
|
||||
return salespersonDashboardRequest({ url: '/newApi/salesperson-dashboard/toggle-favorite-entry', method: 'POST', data: { code } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量保存我的常用(功能页悬浮编辑 / 首页快捷添加)
|
||||
* xk-api POST /salesperson-dashboard/batch-save-favorite-entry
|
||||
*/
|
||||
export function batchSaveSalespersonFavoriteEntry(codes) {
|
||||
return salespersonDashboardRequest({ url: '/newApi/salesperson-dashboard/batch-save-favorite-entry', method: 'POST', data: { codes } });
|
||||
}
|
||||
|
||||
/**
|
||||
* 上报功能入口使用(点击跳转时静默调用,调用方无需处理失败)
|
||||
* xk-api POST /salesperson-dashboard/report-entry-usage
|
||||
|
||||
Reference in New Issue
Block a user