This commit is contained in:
Your Name
2026-03-19 12:19:00 +08:00
parent 7832514f28
commit 7147c8e148
243 changed files with 1662 additions and 437 deletions
+20
View File
@@ -5,6 +5,21 @@ export function orderLists(params: any) {
return request.get({ url: '/order.order/lists', params })
}
// 同步企业微信对外收款账单到订单
export function syncWechatWorkBills(params?: { begin_time?: string; end_time?: string }) {
return request.get({ url: '/order.order/syncWechatWorkBills', params })
}
// 调试:测试企业微信对外收款 API 连接
export function syncWechatWorkBillsDebug(params?: { begin_time?: string; end_time?: string; payee_userid?: string }) {
return request.get({ url: '/order.order/syncWechatWorkBillsDebug', params })
}
// 今日收益(按角色权限)
export function orderTodayRevenue() {
return request.get({ url: '/order.order/todayRevenue' })
}
// 订单统计(0退款,1挂号费,2问诊费,3药品费用,4首付,5尾款,6其他)
export function orderStats(params?: { order_type?: number; days?: number }) {
return request.get({ url: '/order.order/orderStats', params })
@@ -20,6 +35,11 @@ export function orderCreate(params: any) {
return request.post({ url: '/order.order/create', params })
}
// 创建企业微信对外收款订单(返回 order_no 供企业微信发起收款时使用)
export function orderCreateForWechatWork(params: any) {
return request.post({ url: '/order.order/createForWechatWork', params })
}
// 编辑订单
export function orderEdit(params: any) {
return request.post({ url: '/order.order/edit', params })