| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- /*
- * @Author: wanglj wanglijie@dashoo.cn
- * @Date: 2025-02-27 10:35:40
- * @LastEditors: wanglj wanglijie@dashoo.cn
- * @LastEditTime: 2025-03-20 16:52:11
- * @Description: file content
- * @FilePath: \labsop_backup2\frontend\components\labsop-api\src\api\platform\appoint\index.ts
- */
- import request from '/@/utils/micro_request.js';
- const basePath = import.meta.env.VITE_PLATFORM_API;
- export function usePlatformAppointApi() {
- return {
- // 创建
- create(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'Create', params)
- },
- // 列表
- getList(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetList', params)
- },
- // 详情
- getDetail(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetEntityById', params)
- },
- // 修改
- updateById(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'UpdateById', params)
- },
- // 删除
- deleteById(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'DeleteById', params)
- },
- // 审批
- approve(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'Approve', params)
- },
- // 撤销
- quashApprove(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'QuashApprove', params)
- },
- // 首页获取平台预约列表
- getHomePlatAppointList(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetListByPlatformId', params)
- },
- // 待确认列表
- getConfirmedQueue(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetConfirmedQueue', params)
- },
- // 获取次月待出室人员
- nextMonthPerson(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'NextMonthPerson', params)
- },
- // 入室确认
- markNextMonthEntry(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'MarkNextMonthEntry', params)
- },
- // 上传
- createFile(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'CreateFile', params)
- },
- // 重新上传
- updateByIdAfterRefuse(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'UpdateByIdAfterRefuse', params)
- },
- // 获取当前登录人的入室申请
- getUserInfoList(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetUserInfoList', params)
- },
- // 获取入室管理列表
- getPlatformAppointList(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetPlatformAppointList', params)
- },
- getCellEntityById(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetCellEntityById', params)
- },
- getMolecularEntityById(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'GetMolecularEntityById', params)
- },
- // 申请出室
- createCommonAppoint(params?: Object) {
- return request.postRequest(basePath, 'PlatPlatformAppoint', 'CreateCommonAppoint', params)
- }
- }
- }
|