feat: 患者端挂号预约流程改造与就诊人选择
- 挂号预约:register-info 流程重构、确认步骤/患者选择步骤组件、我的预约(myappiont)页对接 - 接口:register.js 补充挂号相关接口,api.js 调整 - 就诊人:claim-patient-modal 复用弹窗 - 医生信息:doctor-detail/doctor-userinfo 配合排班展示 - 规范:新增 Api-Module-Split.mdc 接口模块拆分规则
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import http from './request'
|
||||
import { get } from './http'
|
||||
import {
|
||||
getPatientListApi,
|
||||
savePatientApi,
|
||||
@@ -113,11 +112,8 @@ export async function commentListTop(params) {
|
||||
return data
|
||||
}
|
||||
|
||||
// 医生 挂号信息
|
||||
export async function registerList(params) {
|
||||
let data = await http('/oldApi/v1/register/doc-register-info', params)
|
||||
return data
|
||||
}
|
||||
// 挂号域接口(registerList/registerCalendar/registe/registeInfo/registePay/registeUnpay/registeCancle)
|
||||
// 已按 Api-Module-Split 规则迁至 ./register.js,调用方请从 '@/request/api/register.js' 导入
|
||||
|
||||
|
||||
/** 就诊人列表(xk-api POST /patient/list) */
|
||||
@@ -174,42 +170,6 @@ export async function userEidtPatient(params) {
|
||||
return normalizeXkApiResponse(await getPatientHealthInfoApi(data))
|
||||
}
|
||||
|
||||
// 挂号
|
||||
export async function registe(params) {
|
||||
let data = await http('/oldApi/v1/register/register', params)
|
||||
return data
|
||||
}
|
||||
|
||||
// 挂号详情
|
||||
export async function registeInfo(params) {
|
||||
let data = await http('/oldApi/v1/register/register-detail', params)
|
||||
return data
|
||||
}
|
||||
|
||||
// 支付挂号(xk-api register/pay,易票联)
|
||||
export async function registePay(params) {
|
||||
let data = await http('/xkApi/register/pay', params)
|
||||
return normalizeXkApiResponse(data)
|
||||
}
|
||||
|
||||
// 取消挂号
|
||||
export async function registeUnpay(params) {
|
||||
let data = await http('/oldApi/v1/register/cancel', params)
|
||||
return data
|
||||
}
|
||||
|
||||
// 挂号退款
|
||||
export async function registeCancle(params) {
|
||||
let data = await http('/oldApi/v1/register/refund', params)
|
||||
return data
|
||||
}
|
||||
|
||||
// 挂号列表
|
||||
export async function registeList(params) {
|
||||
let data = await http('/oldApi/v1/register/list', params)
|
||||
return data
|
||||
}
|
||||
|
||||
// 设置 服务协议
|
||||
export async function service(params) {
|
||||
let data = await http('/oldApi/v1/other/service', params)
|
||||
|
||||
Reference in New Issue
Block a user