|
|
@@ -12,55 +12,60 @@ export function usePlatformAppointApi() {
|
|
|
return {
|
|
|
// 创建
|
|
|
create(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'Create', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'Create', params)
|
|
|
},
|
|
|
// 列表
|
|
|
getList(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetList', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetList', params)
|
|
|
},
|
|
|
// 详情
|
|
|
getDetail(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetEntityById', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetEntityById', params)
|
|
|
},
|
|
|
// 修改
|
|
|
updateById(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'UpdateById', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'UpdateById', params)
|
|
|
},
|
|
|
// 删除
|
|
|
deleteById(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'DeleteById', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'DeleteById', params)
|
|
|
},
|
|
|
// 审批
|
|
|
approve(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'Approve', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'Approve', params)
|
|
|
},
|
|
|
// 撤销
|
|
|
quashApprove(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'QuashApprove', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'QuashApprove', params)
|
|
|
},
|
|
|
// 首页获取平台预约列表
|
|
|
getHomePlatAppointList(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetListByPlatformId', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetListByPlatformId', params)
|
|
|
},
|
|
|
// 待确认列表
|
|
|
getConfirmedQueue(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetConfirmedQueue', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetConfirmedQueue', params)
|
|
|
},
|
|
|
// 获取次月待出室人员
|
|
|
nextMonthPerson(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'NextMonthPerson', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'NextMonthPerson', params)
|
|
|
},
|
|
|
// 入室确认
|
|
|
markNextMonthEntry(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'MarkNextMonthEntry', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'MarkNextMonthEntry', params)
|
|
|
},
|
|
|
// 上传
|
|
|
createFile(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'CreateFile', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'CreateFile', params)
|
|
|
},
|
|
|
// 重新上传
|
|
|
updateByIdAfterRefuse(params?: Object) {
|
|
|
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'UpdateByIdAfterRefuse', params);
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'UpdateByIdAfterRefuse', params)
|
|
|
+ },
|
|
|
+
|
|
|
+ // 获取当前登录人的入室申请
|
|
|
+ getUserInfoList(params?: Object) {
|
|
|
+ return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetUserInfoList', params)
|
|
|
}
|
|
|
- };
|
|
|
+ }
|
|
|
}
|