feat(apply): 入驻只收基本信息并新增启动页、材料后补与改服务城市
入驻表单移除身份证与证件材料(服务城市单选下拉,默认北京),只填姓名/手机/性别/城市/简介即可提交;新增 pages/launch 启动页先解析身份再跳转,无身份直接进申请页不再闪现首页;新增 pages/materials 证件材料补传页;个人资料页支持在职陪诊师修改服务城市;appId 更名为 wxapp_companion。
This commit is contained in:
@@ -44,6 +44,8 @@ const API = {
|
||||
getMe: () => request.get('/health/employee/me'),
|
||||
// 首页接单开关:仅在职正式陪诊师可切换
|
||||
setOnline: (isOnline) => request.patch('/health/employee/me/online', { isOnline }),
|
||||
// 陪诊师本人修改服务城市(订单池按该城市过滤)
|
||||
setServiceArea: (serviceArea) => request.patch('/health/employee/me/service-area', { serviceArea }),
|
||||
// 共享订单时的陪诊师候选(在职陪诊师,含实习)
|
||||
getShareableAttendants: () => request.get('/health/employee/shareable-attendants'),
|
||||
},
|
||||
@@ -52,6 +54,8 @@ const API = {
|
||||
attendantApplication: {
|
||||
create: (data) => request.post('/health/attendant-application', data),
|
||||
getMine: () => request.get('/health/attendant-application/mine'),
|
||||
// 证件材料后补:只覆盖本次提交的字段
|
||||
updateMaterials: (data) => request.post('/health/attendant-application/mine/materials', data),
|
||||
list: (params) => request.get('/health/attendant-application', params),
|
||||
getMaterials: (id) => request.get(`/health/attendant-application/${id}/materials`),
|
||||
review: (id, data) => request.post(`/health/attendant-application/${id}/review`, data),
|
||||
|
||||
Reference in New Issue
Block a user