初始化
This commit is contained in:
18
src/api/AI/index.ts
Normal file
18
src/api/AI/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
import request from '/@/utils/request';
|
||||
/**
|
||||
* 自动ai生产阶段小结处理意见
|
||||
* @param recordCode
|
||||
* transferMode 0:普通输出 1:sse流式输出
|
||||
* @returns
|
||||
*/
|
||||
export function getAIResultForGetMedSummary(fromData) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/getAIResultForGetMedSummary',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params:fromData
|
||||
})
|
||||
}
|
||||
44
src/api/HemodiPatients/courseRecord.ts
Normal file
44
src/api/HemodiPatients/courseRecord.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '/@/utils/request';
|
||||
// 所有病程名称
|
||||
export function getCourseName() {
|
||||
return request({
|
||||
url: '/patient/disease/progress/record/listAllRecordName',
|
||||
method: 'post'
|
||||
});
|
||||
}
|
||||
export function deleteCourseRecord(id: string) {
|
||||
return request({
|
||||
url: '/patient/disease/progress/record/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 添加
|
||||
export function addCourseRecord(params: object) {
|
||||
return request({
|
||||
url: '/patient/disease/progress/record/add',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
// 修改
|
||||
export function editCourseRecord(params: object) {
|
||||
return request({
|
||||
url: '/patient/disease/progress/record/update',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
export function getCourseRecordList(params: object) {
|
||||
return request({
|
||||
url: '/patient/disease/progress/record/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
58
src/api/HemodiPatients/dry_weight.ts
Normal file
58
src/api/HemodiPatients/dry_weight.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
// 添加干体重
|
||||
export function addDryWeight(data: object) {
|
||||
return request({
|
||||
url: '/patient/vs/pure/weight/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改干体重
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function updateDryWeightApi(data: object) {
|
||||
return request({
|
||||
url: '/patient/vs/pure/weight/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
export function deleteMedHistory(id: string) {
|
||||
return request({
|
||||
url: '/patient/disease/history/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除干体重调整记录
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function deleteWeightApi (id: string) {
|
||||
return request({
|
||||
url: '/patient/vs/pure/weight/delete',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
// 获取干体重列表
|
||||
export function getDryWeightList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vs/pure/weight/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
657
src/api/HemodiPatients/index.ts
Normal file
657
src/api/HemodiPatients/index.ts
Normal file
@@ -0,0 +1,657 @@
|
||||
import { number } from '@intlify/core-base';
|
||||
import request from '/@/utils/request';
|
||||
import { ITendencyRequestData } from "/@/views/QC/patientTestingTrend/type";
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { AddNewPbsParams, PatientListByTransferInOrOutParams, SaveDefaultFormValueParams, LoadDefaultFormValueParams, ListPatientsParams, ListPatientsItem, getBillsParams, getBillsParamsReponseItem, CopyPBSParams, ListReceipts1Params, DiagnosisFindParams, SaveDefaultPharmacyParams, AddressListParams } from './types';
|
||||
import type { ICommonListParams } from './../common.type';
|
||||
|
||||
//定义用于查接用的接口
|
||||
export interface QueryConditions {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
|
||||
export interface PatientInfo2 {
|
||||
code: string;//??
|
||||
createTime: string;//($date-time) 创建时间
|
||||
createUser: number;//($int32) 创建人ID
|
||||
deletedTime: string;//($date-time) 创建日期
|
||||
id: number;//($int32) 表主键唯一ID
|
||||
isDeleted: null;//($int32) 是否删除
|
||||
patientAvatarIcon: string;// 患者头像url地址
|
||||
patientBaoxiaoState: string;//患者报销方式(字典编号)
|
||||
patientBedNo: string;//床号
|
||||
patientBloodType: string;//患者血型(字典编号)
|
||||
patientCardNo: string;//患者卡号
|
||||
patientCareer: string;//患者职业(字典编号)
|
||||
patientComp
|
||||
any: string;//患者单位
|
||||
patientCrb:
|
||||
string;//患者传染病(以逗号分割)
|
||||
patientDegr
|
||||
ee: string;//学历(字典编号)
|
||||
patientDiag
|
||||
nose: string;//诊断意见
|
||||
patientDoct
|
||||
or: string;//主治医生(用户表编号)
|
||||
patientFirs
|
||||
tTimeMedTime: string;//($date-time)首次透析时间
|
||||
patientFrom
|
||||
: number;//($int32)患者来源(0:门诊 1:住院)
|
||||
patientGend
|
||||
er: number;//($int32)患者性别 0:男 1:女
|
||||
patientHeig
|
||||
ht: number;//($int32)患者身高(cm)
|
||||
patientHemo
|
||||
Code: string;//透析号
|
||||
alMedCount: number;//($int32)患者初始透析次数
|
||||
alWeight: number;//($int32)患者初始体重(KG)
|
||||
patientIsAl
|
||||
cohol: number;//($int32)是否饮酒 0:否 1:是
|
||||
patientIsEy
|
||||
eObstacle: number;//($int32)是否视力障碍 0:否 1:是
|
||||
patientIsRe
|
||||
ligion: number;//($int32)宗教
|
||||
patientIsSm
|
||||
oking: number;//($int32)是否吸烟 0:否 1:是
|
||||
patientMobi
|
||||
le: string;//手机号
|
||||
patientName
|
||||
: string;//病人姓名
|
||||
patientNati
|
||||
on: string;//患者民族(字典编号)
|
||||
patientNick
|
||||
Name: string;//患者别名
|
||||
patientNo:
|
||||
string;//门诊住院号
|
||||
patientNurs
|
||||
e: string;//主管护士(用户表编号)
|
||||
patientReceiveTime: string;//($date-time)接收时间
|
||||
patientRh: string;//RH(字典编号)
|
||||
patientTelNo: string;//电话号码
|
||||
patientTelNoRelative: string;//联系人电话
|
||||
patientType: string;//患者类型
|
||||
patientWard: string;//病区
|
||||
patientWeddingState: string;//婚姻状态(字典编号)
|
||||
patientYibaoAlarmDate: string;//医保到期提醒时间
|
||||
patientYibaoCode: string;//医保卡号
|
||||
patientYibaoEndDate: string;//($date-time)医保到期日期
|
||||
patientYoudaoPeriod: string;//诱导期(字典编号)
|
||||
remark: string;//备注
|
||||
updateTime: string;//($date-time)更新日期
|
||||
updateUser: number;//($int32)更新人代码
|
||||
}
|
||||
|
||||
|
||||
export interface UpdateRecordPatSnapParams {
|
||||
recordCode: string; // 透析单编号
|
||||
patientFrom: number; // 患者来源
|
||||
patientNo: string; // 住院门诊号
|
||||
InHospitalWardCode: string; // 病区
|
||||
InHospitalBedNo: string; // 床号
|
||||
InHospitalTime: string; // 入院时间
|
||||
isSyncUpdateToPatInfo: 0 | 1; // 是否将修改内容同步至患者信息
|
||||
patientHemoCode?: string | number; // 透析号
|
||||
}
|
||||
|
||||
export interface ListBillsetsByPat {
|
||||
bill_item_time: string;
|
||||
count: number;
|
||||
}
|
||||
|
||||
export function regeneratePatQRCode(params: object) {
|
||||
return request({
|
||||
url: '/patient/info/regeneratePatQRCode',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 获取患者信息
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function detail2(params: string) :AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/patient/info/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者慢病备案信息
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function getMBXXApi(code: string) {
|
||||
return request({
|
||||
url: '/patient/info/getMBXX',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询检索血透患者
|
||||
*@param params 要传的参数值
|
||||
*@return 返回的接口数据
|
||||
*/
|
||||
export function QueryList(params: object) {
|
||||
return request({
|
||||
url: '/patient/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/** 查询血透患者 - 专门查转入转出 */
|
||||
export function patientListByTransferInOrOutApi(data: PatientListByTransferInOrOutParams) {
|
||||
return request({
|
||||
url: '/patient/info/queryInAndOuts',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/patient/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: Object) {
|
||||
return request({
|
||||
url: '/patient/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 获取转归类型
|
||||
export function getComeOutRecord() {
|
||||
return request({
|
||||
url: '/patient/operate/status/info/listOperateStatusTypes',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
// 保存转归记录
|
||||
export function addOutComeRecord(params: string) {
|
||||
return request({
|
||||
url: '/patient/operate/status/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 修改转归记录
|
||||
export function editOutComeRecord(params: string) {
|
||||
return request({
|
||||
url: '/patient/operate/status/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 获取转归记录
|
||||
export function getOutComeRecordList(params: object) {
|
||||
return request({
|
||||
url: '/patient/operate/status/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 获取转归记录
|
||||
export function syncPatients(params: object) {
|
||||
return request({
|
||||
url: '/his/syncPatients',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
//HIS帐单金额
|
||||
export function checkHisBill(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/info/checkHisBill',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
//HIS帐单金额
|
||||
export function addBillToHis(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/info/addBillToHis',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取指定条件下拥有门诊处方的患者
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listPatients(params: ListPatientsParams): AxiosPromise<ListPatientsItem[]> {
|
||||
params.patientName=params.patientName.toLowerCase()
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listPatients',
|
||||
method: 'post',
|
||||
data:params
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取门诊处方
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getBills(params: getBillsParams): AxiosPromise<getBillsParamsReponseItem[]> {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/getBills',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
export function ChufangSave(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/save',
|
||||
method: 'post',
|
||||
data:params
|
||||
});
|
||||
}
|
||||
export function ChufangAdd(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/add',
|
||||
method: 'post',
|
||||
data:params
|
||||
});
|
||||
}
|
||||
export function deleteChufang(params: string) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data:params,
|
||||
});
|
||||
}
|
||||
export function exportToExcel(params: string) {
|
||||
return request({
|
||||
url: '/patient/info/exportToExcel',
|
||||
method: 'post',
|
||||
responseType: 'blob',
|
||||
params
|
||||
});
|
||||
}
|
||||
//在操作患者删除与患者转出时, 先调用API:
|
||||
export function beforeDeletePatient(params: object) {
|
||||
return request({
|
||||
url: '/patient/info/beforeDeletePatient',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 患者检验趋势
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiInspectionTrend(data: ITendencyRequestData) {
|
||||
return request({
|
||||
url: "/lis/stat/listHistroByTest",
|
||||
method: "post",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新透析单中的患者信息(透析单页面里面使用的)
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function updateRecordPatSnapApi(params: UpdateRecordPatSnapParams) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/updateRecordPatSnap',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 该API用于在日期选择框标明哪天是有处方的, 有几个处方
|
||||
* @param patientCode
|
||||
* @returns
|
||||
*/
|
||||
export function listBillsetsByPatApi(patientCode: string) :AxiosPromise<ListBillsetsByPat[]> {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listBillsetsByPat',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { patientCode: patientCode }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 复制处方
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function copyPBSApi(params: CopyPBSParams) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/copyPBS',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取处方打印所需指定数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listReceipts1Api(params: ListReceipts1Params) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listReceipts1',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据处方编号,查询治疗项目
|
||||
* @param pbsCode
|
||||
* @returns
|
||||
*/
|
||||
export function listReceipts2Api(pbsCode: string) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listReceipts2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { pbsCode }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
根据处方编号,查询检验项目
|
||||
* @param pbsCode
|
||||
* @returns
|
||||
*/
|
||||
export function listReceipts3Api(pbsCode: string) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listReceipts3',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { pbsCode }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询门诊处方诊断接口(旧)
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function diagnosisFindApi(params: DiagnosisFindParams) {
|
||||
return request({
|
||||
url: '/his/diagnose/sync/find',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询诊断列表接口API
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getDiagnosisFindListApi(params: ICommonListParams) {
|
||||
return request({
|
||||
url: '/his/diagnose/sync/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询门诊处方诊断接口(新)(常用诊断)
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getClientConfigApi(params: DiagnosisFindParams) {
|
||||
return request({
|
||||
url: '/his/diagnose/sync/getClientConfig',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取药房列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function pharmacyListApi(params) {
|
||||
return request({
|
||||
url: '/his/pharmacy/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存默认药房
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function saveDefaultPharmacyApi(params: SaveDefaultPharmacyParams) {
|
||||
return request({
|
||||
url: '/his/pharmacy/saveDefaultPharmacy',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 加载默认药房
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function loadDefaultPharmacyApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/pharmacy/loadDefaultPharmacy',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { clientCode }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取默认报销方式
|
||||
* @param patCode
|
||||
* @returns
|
||||
*/
|
||||
export function loadDefaultBaoxiaoTypeApi(patCode: string) {
|
||||
return request({
|
||||
url: '/his/pharmacy/loadDefaultBaoxiaoType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { patCode }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存默认报销方式
|
||||
* @param patCode
|
||||
* @returns
|
||||
*/
|
||||
export function saveDefaultBaoxiaoTypeApi(patCode: string, baoxiaoType: string) {
|
||||
return request({
|
||||
url: '/his/pharmacy/saveDefaultBaoxiaoType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { patCode, baoxiaoType }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存默认表单值
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function saveDefaultFormValueApi(params: SaveDefaultFormValueParams) {
|
||||
return request({
|
||||
url: '/his/pharmacy/saveDefaultFormValue',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取默认表单值
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function loadDefaultFormValueApi(params: LoadDefaultFormValueParams) {
|
||||
return request({
|
||||
url: '/his/pharmacy/loadDefaultFormValue',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取参保地数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function addressListApi(params: AddressListParams) {
|
||||
return request({
|
||||
url: '/su/dict/medical/inrance/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增患者默认处方
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function addNewPbsApi(params: AddNewPbsParams) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/addNewPbs',
|
||||
method: 'post',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
params
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 导出全部患者检验信息
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function exportAll(params) {
|
||||
return request({
|
||||
url: '/export',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
25
src/api/HemodiPatients/infect_alert_info.ts
Normal file
25
src/api/HemodiPatients/infect_alert_info.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function alertInfoList(params) {
|
||||
return request({
|
||||
url: '/infect/alert/info/listInfectAlertsByPat',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function alertInfoSave(params) {
|
||||
return request({
|
||||
url: '/infect/alert/info/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function alertInfoDel(params) {
|
||||
return request({
|
||||
url: '/infect/alert/info/delete',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
49
src/api/HemodiPatients/inspectors.ts
Normal file
49
src/api/HemodiPatients/inspectors.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/inventory/agent/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 保存检验
|
||||
export function saveInspectors (data:object){
|
||||
return request({
|
||||
url: '/patient/lis/report/save',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 获取检验项目
|
||||
export function getInspectorsMeal(clientCode: string) {
|
||||
return request({
|
||||
url: '/lis/report/item/set/getTestItems',
|
||||
method: 'post',
|
||||
params: {
|
||||
clientCode: clientCode
|
||||
}
|
||||
})
|
||||
}
|
||||
// 获取检验项目详情
|
||||
export function getInspectorsMealDetail (params:object){
|
||||
return request({
|
||||
url: '/patient/lis/report/listByReportItemSet',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 删除信息
|
||||
export function deleteInfo (id: string) {
|
||||
return request({
|
||||
url: '/patient/lis/report/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
})
|
||||
}
|
||||
42
src/api/HemodiPatients/medHistory.ts
Normal file
42
src/api/HemodiPatients/medHistory.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function saveMedHistory(params: string) {
|
||||
return request({
|
||||
url: '/patient/disease/history/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteMedHistory(id: string) {
|
||||
return request({
|
||||
url: '/patient/disease/history/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
export function getMedHistoryList(params: object) {
|
||||
return request({
|
||||
url: '/patient/disease/history/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询检验报告
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiGetInspectionReport(data: object) {
|
||||
return request({
|
||||
url: "/lis/report/listReportGroupByPat",
|
||||
method: "post",
|
||||
data
|
||||
})
|
||||
};
|
||||
35
src/api/HemodiPatients/patient_catheter_evaluate.ts
Normal file
35
src/api/HemodiPatients/patient_catheter_evaluate.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function saveCheck(params: string) {
|
||||
return request({
|
||||
url: '/patient/catheter/evaluate/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function editCheck(params: string) {
|
||||
return request({
|
||||
url: '/patient/catheter/evaluate/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteCheck(id: string) {
|
||||
return request({
|
||||
url: '/patient/catheter/evaluate/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
export function getCheckList(params: object) {
|
||||
return request({
|
||||
url: '/patient/catheter/evaluate/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
35
src/api/HemodiPatients/patient_vascular_access_event.ts
Normal file
35
src/api/HemodiPatients/patient_vascular_access_event.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function saveCheck(params: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/event/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function editCheck(params: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/event/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteCheck(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/event/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
export function getCheckList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/event/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
35
src/api/HemodiPatients/physiqueCheck.ts
Normal file
35
src/api/HemodiPatients/physiqueCheck.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function saveCheck(params: string) {
|
||||
return request({
|
||||
url: '/patient/body/check/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function editCheck(params: string) {
|
||||
return request({
|
||||
url: '/patient/body/check/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteCheck(id: string) {
|
||||
return request({
|
||||
url: '/patient/body/check/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
export function getCheckList(params: object) {
|
||||
return request({
|
||||
url: '/patient/body/check/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
36
src/api/HemodiPatients/rentifenxiyi.ts
Normal file
36
src/api/HemodiPatients/rentifenxiyi.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/patient/rtcf/result/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/patient/rtcf/result/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/rtcf/result/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/patient/rtcf/result/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
306
src/api/HemodiPatients/types.ts
Normal file
306
src/api/HemodiPatients/types.ts
Normal file
@@ -0,0 +1,306 @@
|
||||
export interface ListPatientsParams {
|
||||
clientCode: string;
|
||||
deviceGroupCode: string;
|
||||
patientName: string;
|
||||
queryDateBegin: string;
|
||||
queryDateEnd: string;
|
||||
timeSlot: number;
|
||||
feeState: number;
|
||||
patientCode: string;
|
||||
}
|
||||
|
||||
interface PatientDiseaseRecordInGov {
|
||||
beginDate: number;
|
||||
code: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface ListPatientsItem {
|
||||
billSetTime: string;
|
||||
medDate: string;
|
||||
paidBills: number;
|
||||
patientAge: string;
|
||||
patientCode: string;
|
||||
patientGender: number;
|
||||
patientHemoCode: string;
|
||||
patientIdentityNo: string;
|
||||
patientMobile: string;
|
||||
patientName: string;
|
||||
pureWeight: number;
|
||||
unPaidBills: number;
|
||||
patientNo: string;
|
||||
schemeName: string;
|
||||
医保区划: any;
|
||||
patientDiseaseRecordInGov: PatientDiseaseRecordInGov[] | null;
|
||||
}
|
||||
|
||||
export interface getBillsParams {
|
||||
patientCode: string;
|
||||
queryDate: string;
|
||||
}
|
||||
|
||||
export interface getBillsParamsReponseItem {
|
||||
billInfos: Partial<BillInfos>[];
|
||||
billItemTime: string;
|
||||
billSetDoctor: string;
|
||||
billSetDoctorName: string;
|
||||
billSetIsAutoBuild: number;
|
||||
billSetIsPaid: number;
|
||||
billSetName: string;
|
||||
billSetOperator: string;
|
||||
billSetOperatorName: string;
|
||||
billSetTime: string;
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
deletedTime: any;
|
||||
feeGroups: any[];
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
patBaoxiaoType: string;
|
||||
patBaoxiaoTypeName: string;
|
||||
patChuanranbinHistory: string;
|
||||
patDiagnose: string;
|
||||
patVisitType: number;
|
||||
patientCode: string;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: any;
|
||||
}
|
||||
|
||||
export interface BillInfos {
|
||||
billIsAutoBuild: number;
|
||||
billItemCode: string;
|
||||
billItemFeeState: number;
|
||||
billItemName: string;
|
||||
billItemPrice: number;
|
||||
billItemQty: number;
|
||||
billItemSetCode: string;
|
||||
billItemType: number;
|
||||
billItemUseAmount: any;
|
||||
billItemUseDays: null | number;
|
||||
billItemUseMethod: string;
|
||||
billItemUseOnce: number;
|
||||
billItemUseSpan: string;
|
||||
billTime: string;
|
||||
billTotalPrice: number;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: any;
|
||||
deletedTime: any;
|
||||
doseUnit: string;
|
||||
hisCode: string;
|
||||
hisState: number;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
packageUnit: string;
|
||||
patientCode: string;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: any;
|
||||
hisPharmacyCode: string;
|
||||
hisLotNumber: string;
|
||||
billFromGroupCode: string;
|
||||
billFromGroupName: string;
|
||||
}
|
||||
|
||||
export interface CopyPBSParams {
|
||||
patientCode: string;
|
||||
sourceCode: string;
|
||||
targetDate: string;
|
||||
}
|
||||
|
||||
export enum DrugTypeEnum {
|
||||
noLimit = -1, // 不限
|
||||
medicine = 0, // 药
|
||||
injection = 1, // 注射剂
|
||||
diagnosisTreatment = 2, // 诊疗
|
||||
apply = 3, // 申请
|
||||
comprehensive = 4, // 综合
|
||||
}
|
||||
|
||||
export interface ListReceipts1Params {
|
||||
pbsCode: string;
|
||||
drugType: DrugTypeEnum;
|
||||
}
|
||||
|
||||
export interface DiagnosisFindParams {
|
||||
clientCode: string;
|
||||
queryCode: string;
|
||||
}
|
||||
|
||||
export interface SaveDefaultPharmacyParams {
|
||||
clientCode: string;
|
||||
pharmacyCode: string;
|
||||
}
|
||||
|
||||
/** 地址-类型 */
|
||||
export interface Address {
|
||||
areaCode: string;
|
||||
areaLevel: string;
|
||||
areaName: string;
|
||||
areaNameLevel: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number | null;
|
||||
deletedTime: string | null;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
upAreaCode: string;
|
||||
updateTime: string;
|
||||
updateUser: number | null;
|
||||
}
|
||||
|
||||
export interface IPatientInfo {
|
||||
age: number | string;
|
||||
birthday: string;
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number | null;
|
||||
deletedTime: null | string;
|
||||
hisCode: string;
|
||||
historyCount: number | null;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
isTodayAsMyBirthday: boolean;
|
||||
medHistoryStatByMonth: string | number;
|
||||
patientAddress: string;
|
||||
patientAvatarIcon: string;
|
||||
patientBaoxiaoState: string;
|
||||
patientBaoxiaoStateName: string;
|
||||
patientBedNo: string;
|
||||
patientBloodType: string;
|
||||
patientBloodTypeName: string;
|
||||
patientCardNo: string;
|
||||
patientCareer: string;
|
||||
patientCareerName: string;
|
||||
patientCompany: string;
|
||||
patientCrb: string;
|
||||
patientCreditValue: number;
|
||||
patientDegree: string;
|
||||
patientDegreeName: string;
|
||||
patientDiagnose: string;
|
||||
patientDoctor: string;
|
||||
patientDoctorName: string;
|
||||
patientExtendJson: string;
|
||||
patientFirstTimeMedTime: string;
|
||||
patientFrom: number;
|
||||
patientGender: number;
|
||||
patientGenderText: string;
|
||||
patientHeight: number;
|
||||
patientHemoCode: string | number;
|
||||
patientIdentityNo: string;
|
||||
patientIdentityType: number;
|
||||
patientInitalMedCount: number;
|
||||
patientInitalWeight: any;
|
||||
patientIsAlcohol: number;
|
||||
patientIsAlive: number;
|
||||
patientIsEyeObstacle: number;
|
||||
patientIsPositive: number;
|
||||
patientIsReligion: number;
|
||||
patientIsSmoking: number;
|
||||
patientMobile: string;
|
||||
patientName: string;
|
||||
patientNamePy: string;
|
||||
patientNation: string;
|
||||
patientNationName: string;
|
||||
patientNickName: string;
|
||||
patientNo: string;
|
||||
patientNurse: string;
|
||||
patientNurseName: string;
|
||||
patientOpenId: string;
|
||||
patientParentCameFrom: string;
|
||||
patientPassword: string;
|
||||
patientQrcodeUrl: string;
|
||||
patientReceiveTime: string;
|
||||
patientRh: string;
|
||||
patientRhName: string;
|
||||
patientSignUrl: string;
|
||||
patientTelNo: string;
|
||||
patientTelNoRelative: string;
|
||||
patientType: string;
|
||||
patientTypeName: string;
|
||||
patientUnionId: string;
|
||||
patientWard: string;
|
||||
patientWardName: string;
|
||||
patientWeddingState: string;
|
||||
patientWeddingStateName: string;
|
||||
patientYibaoAlarmDate: string;
|
||||
patientYibaoBarcode: string;
|
||||
patientYibaoCode: string;
|
||||
patientYibaoEndDate: any;
|
||||
patientYoudaoPeriod: string;
|
||||
patientYoudaoPeriodName: string;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: number;
|
||||
患者扩展属性信息: {
|
||||
历史疾病: string;
|
||||
既往替代治疗史详情: string;
|
||||
是否存在既往史: number;
|
||||
是否存在既往肾脏替代治疗史: number;
|
||||
诊疗计划: string;
|
||||
};
|
||||
patientJoinInsureArea: string;
|
||||
医保区划信息: Address | null;
|
||||
hIS慢病备案信息: any;
|
||||
}
|
||||
|
||||
export type DefaultFormValueSaveType = 'crb' | 'mainDiagnose' | 'subDiagnoses'; // 传染病/主要诊断/次要诊断
|
||||
|
||||
export interface SaveDefaultFormValueParams {
|
||||
patCode: string;
|
||||
saveType: DefaultFormValueSaveType;
|
||||
saveValue: string;
|
||||
}
|
||||
|
||||
export interface LoadDefaultFormValueParams {
|
||||
patCode: string;
|
||||
saveType: DefaultFormValueSaveType;
|
||||
}
|
||||
|
||||
export interface PatientListByTransferInOrOutParams {
|
||||
page: number;
|
||||
size: number;
|
||||
clientCode: string;
|
||||
beginTime?: string; // 查询日期-开始时间
|
||||
endTime?: string; // 查询日期-结束时间
|
||||
patientType?: string; // 患者类型(字典编码)
|
||||
patientWard?: string; // 病区
|
||||
patientIsPositive?: '0' | '1' | ''; // 否为阳性传染病人(0:否 1:是)默认0
|
||||
operateType?: '0' | '1' | '2' | ''; // 转归类型 0:转入 1:转出 2:院内转诊 默认0
|
||||
patientGender?: '0' | '1' | ''; // 患者性别 0:男 1:女
|
||||
patientNo?: string; // 门诊住院号
|
||||
patientHemoCode?: string; // 透析号
|
||||
patientName?: string; // 患者名称
|
||||
patientNurse?: string; // 主管护士(用户编号)
|
||||
startTime?: string; // 接收日期-开始时间
|
||||
finishTime?: string; // 接收日期-结束时间
|
||||
patientIsAlive?: '1' | '2' | ''; // 患者是否处于活动状态(1:已转入, 2:已转出 默认1),查留治时间是必须要传(留治时间=当前字段和接收开始结束日期)
|
||||
}
|
||||
|
||||
export interface AddressListParams {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
|
||||
|
||||
export interface AddNewPbsParams {
|
||||
clientCode: string;
|
||||
patientCode: string;
|
||||
pbsDate: string;
|
||||
}
|
||||
|
||||
export interface UpdateRecordPatSnapParams {
|
||||
recordCode: string; // 透析单编号
|
||||
patientFrom: number; // 患者来源
|
||||
patientNo: string; // 住院门诊号
|
||||
InHospitalWardCode: string; // 病区
|
||||
InHospitalBedNo: string; // 床号
|
||||
InHospitalTime: string; // 入院时间
|
||||
isSyncUpdateToPatInfo: 0 | 1; // 是否将修改内容同步至患者信息
|
||||
}
|
||||
321
src/api/HemodiPatients/vascular_access.ts
Normal file
321
src/api/HemodiPatients/vascular_access.ts
Normal file
@@ -0,0 +1,321 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
// 添加血管通路
|
||||
export function addVascularAccess(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 删除血管通路
|
||||
export function deleteVascularAccess(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
// 修改血管通路
|
||||
export function editVascularAccess(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 获取血管通路列表
|
||||
export function getVascularAccessList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取维护日志
|
||||
export function getMaintenanceLog(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/maintenance/record/listUpdateLog',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 获取维护记录
|
||||
export function getMaintenance(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/maintenance/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 添加维护记录
|
||||
export function addMaintenance(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/maintenance/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改维护记录
|
||||
export function editMaintenance(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/maintenance/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 删除维护记录
|
||||
export function deleteMaintenance(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/maintenance/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 获取拔出日志
|
||||
export function getExtractionLog(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/removal/record/listUpdateLog',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 获取拔出记录
|
||||
export function getExtraction(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/removal/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 添加拔出记录
|
||||
export function addExtraction(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/removal/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改拔出记录
|
||||
export function editExtraction(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/removal/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 删除拔出记录
|
||||
export function deleteExtraction(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/removal/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 添加超声检查
|
||||
export function addSoundCheck(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/b/ultra/sound/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改超声检查
|
||||
export function editSoundCheck(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/b/ultra/sound/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 删除超声检查
|
||||
export function deleteSoundCheck(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/b/ultra/sound/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
// 获取超声检查列表
|
||||
export function getSoundList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/b/ultra/sound/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取穿刺信息列表
|
||||
export function getPunctureList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/puncture/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 添加穿刺信息
|
||||
export function addPunctureInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/puncture/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改穿刺信息
|
||||
export function editPunctureInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/puncture/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 删除穿刺信息
|
||||
export function deletePunctureInfo(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/puncture/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 获取并发症处理列表
|
||||
export function getComplicationList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/bfz/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 添加并发症
|
||||
export function addBFZInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/bfz/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改并发症
|
||||
export function editComplicationInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/bfz/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 删除并发症
|
||||
export function deleteComplicationInfo(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/bfz/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 添加导管信息
|
||||
export function addPipeInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/pipe/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改导管信息
|
||||
export function editPipeInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/pipe/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 获取导管信息列表
|
||||
export function getPipeList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/pipe/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 删除导管信息
|
||||
export function deletePipeInfo(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/pipe/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 添加通路评估
|
||||
export function addAssessInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/assess/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 修改通路评估
|
||||
export function editAssessInfo(data: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/assess/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
// 获取通路评估列表
|
||||
export function getAssessList(params: object) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/assess/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 删除通路信息
|
||||
export function deleteAssessInfo(id: string) {
|
||||
return request({
|
||||
url: '/patient/vascular/access/vs/assess/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
42
src/api/JiFen/index.ts
Normal file
42
src/api/JiFen/index.ts
Normal file
@@ -0,0 +1,42 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/credit/rule/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/credit/rule/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/credit/rule/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listByClient(params: object) {
|
||||
return request({
|
||||
url: '/credit/rule/listByClient',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
})
|
||||
}
|
||||
export function listConditionKeys() {
|
||||
return request({
|
||||
url: '/credit/rule/listConditionKeys',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
255
src/api/Qc/index.ts
Normal file
255
src/api/Qc/index.ts
Normal file
@@ -0,0 +1,255 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { IPatientDialysisFrequencyCountRes, IPatientDialysisFrequencyCountParams, ItKtvAndUrrListByCondition, IGetKtvAndUrrListByCondition, IWypertensionStatistics, IWypertensionStatisticsParams, IQualityControlReportParams, IQualityControlReportReponse, WeightControlRateDetail, WeightControlRateByYearParams, WeightControlRateByYear, WeightControlRateDetailstParams } from './types'
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
|
||||
export function listWorkStats(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listWorkStats',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listRecordsWorkStats(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listRecordsWorkStats',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function listHemoNurseWorkStats(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listHemoNurseWorkStats',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listRecordsByToolUsage(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listRecordsByToolUsage',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listRecordsByMedicineUsage(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listRecordsByMedicineUsage',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function listDetailsOfMedicineUsage(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listDetailsOfMedicineUsage',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function doStatByResult(params: object) {
|
||||
return request({
|
||||
url: '/lis/stat/doStatByResult',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function doStatCountByResult(params: object) {
|
||||
return request({
|
||||
url: '/lis/stat/doStatCountByResult',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function doClientStat4(params: object) {
|
||||
return request({
|
||||
url: '/lis/stat/doClientStat4',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function doListResultsGroupByMonth(params: object) {
|
||||
return request({
|
||||
url: '/lis/stat/doListResultsGroupByMonth',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function doListTestItems() {
|
||||
return request({
|
||||
url: '/lis/stat/doListTestItems',
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
export function doTestItemPassedCount(params: object) {
|
||||
return request({
|
||||
url: '/lis/stat/doTestItemPassedCount',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listGroups() {
|
||||
return request({
|
||||
url: '/client/group/info/listGroups',
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
export function listDetailsEachOne(params) {
|
||||
return request({
|
||||
url: '/client/group/info/listDetailsEachOne',
|
||||
method: 'post',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 重新计算KTV与URR
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function doCalcKtvOrUrrApi(params) {
|
||||
return request({
|
||||
url: '/lis/stat/doCalcKtvOrUrr',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 统计体重增长控制率
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function weightControlRateByYearApi(params: WeightControlRateByYearParams): AxiosPromise<WeightControlRateByYear> {
|
||||
return request({
|
||||
url: '/patient/stat/weight/increase/range/weightControlRateByYear',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/** 统计体重增长控制率详情 */
|
||||
export function weightControlRateDetailsApi(data: WeightControlRateDetailstParams): AxiosPromise<{ list: WeightControlRateDetail[]; total: number }> {
|
||||
return request({
|
||||
url: '/patient/stat/weight/increase/range/weightControlRateDetails',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询KTV Or URR接口
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
// export function getKtvAndUrrListByConditionsApi(data: IGetKtvAndUrrListByCondition) :AxiosPromise<{ list: ItKtvAndUrrListByCondition[]; total: number; }> {
|
||||
// return request({
|
||||
// url: '/patient/ktv/listByConditions',
|
||||
// method: 'post',
|
||||
// data
|
||||
// })
|
||||
// }
|
||||
|
||||
/**
|
||||
* 查询KTV Or URR接口
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function getKtvAndUrrListByConditionsApi(data: IGetKtvAndUrrListByCondition) :AxiosPromise<{ list: ItKtvAndUrrListByCondition[]; total: number; }> {
|
||||
return request({
|
||||
url: '/patient/ktv/listByConditions',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 药物用量统计页面
|
||||
*/
|
||||
|
||||
export function listGroupByDrug(param) {
|
||||
return request({
|
||||
url: '/patient/drug/order/vs/patient/listGroupByDrug',
|
||||
method: 'post',
|
||||
params:param
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 药物用量统计页面明细
|
||||
*/
|
||||
|
||||
export function listDetailByDrug(param) {
|
||||
return request({
|
||||
url: '/patient/drug/order/vs/patient/listDetailByDrug',
|
||||
method: 'post',
|
||||
params:param
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 药物用量统计临时医嘱
|
||||
*/
|
||||
|
||||
export function listTempDrugGroupByDrug(param) {
|
||||
return request({
|
||||
url: '/patient/drug/order/vs/patient/listTempDrugGroupByDrug',
|
||||
method: 'post',
|
||||
params:param
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 药物用量统计临时医嘱明细
|
||||
*/
|
||||
|
||||
export function listTempDrugDetailByDrug(param) {
|
||||
return request({
|
||||
url: '/patient/drug/order/vs/patient/listTempDrugDetailByDrug',
|
||||
method: 'post',
|
||||
params:param
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取高血压控制率
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function hypertensionStatisticsApi(params: IWypertensionStatisticsParams) :AxiosPromise<IWypertensionStatistics> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/hypertensionStatistics',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取质控报表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function qualityControlReportApi(params: IQualityControlReportParams): AxiosPromise<IQualityControlReportReponse> {
|
||||
return request({
|
||||
url: '/patient/info/qualityControlReport',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 月度患者透析次数统计接口
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function patientDialysisFrequencyCountApi(data: IPatientDialysisFrequencyCountParams) :AxiosPromise<IPatientDialysisFrequencyCountRes> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/patientDialysisFrequencyCount',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
160
src/api/Qc/types.ts
Normal file
160
src/api/Qc/types.ts
Normal file
@@ -0,0 +1,160 @@
|
||||
import { IComminList } from '../common.type';
|
||||
|
||||
export interface WeightControlRateByYearParams {
|
||||
clientCode: string;
|
||||
year: number;
|
||||
quarter: number;
|
||||
maxValue: number;
|
||||
minValue: number;
|
||||
}
|
||||
|
||||
export interface WeightControlRateByYear {
|
||||
allcount: number;
|
||||
conditionCount: number;
|
||||
}
|
||||
|
||||
export interface WeightControlRateDetailstParams {
|
||||
year: number;
|
||||
quarter?: number;
|
||||
month?: number;
|
||||
weightControlRateDetailsCondition: {
|
||||
page: number;
|
||||
size: number;
|
||||
clientCode: string;
|
||||
maxValue: number;
|
||||
minValue: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface WeightControlRateDetail {
|
||||
age: string;
|
||||
code: string;
|
||||
patientGender: number;
|
||||
patientName: string;
|
||||
}
|
||||
|
||||
export interface IGetKtvAndUrrListByCondition {
|
||||
page: number;
|
||||
size: number;
|
||||
clientCode: string;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
patientName: string;
|
||||
patientCodes: string[];
|
||||
}
|
||||
|
||||
export interface ItKtvAndUrrListByCondition {
|
||||
code: string; //数据代码
|
||||
dataKtv: number; //KTV
|
||||
dataMedPeriod: number; //透析时间(小时)
|
||||
dataNiaosu1: number; //透前尿素
|
||||
dataNiaosu2: number; //透后尿素
|
||||
dataUrr: number; //URR
|
||||
dataWeight1: number; //透前体重
|
||||
dataWeight2: number; //透后体重
|
||||
id: number; //记录ID
|
||||
patientCode: string; //患者编号
|
||||
patientName: string; //患者姓名
|
||||
recordCode: string; //透析单
|
||||
sampleDate: string; //采样日期
|
||||
}
|
||||
|
||||
|
||||
export interface IPatientDialysisFrequencyCountParams {
|
||||
page: number;
|
||||
size: number;
|
||||
clientCode: string;
|
||||
patientCodes: string[];
|
||||
scheduleTimeSlots: string[];
|
||||
recordsStatus: string;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IPatientDialysisFrequencyCount {
|
||||
allCount: string;
|
||||
patientCode: string;
|
||||
patientName: string;
|
||||
typeCounts: IPatientDialysisFrequencyCountTypeCount[];
|
||||
}
|
||||
|
||||
export interface IPatientDialysisFrequencyCountTypeCount {
|
||||
schemeName: string;
|
||||
typeCount: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IPatientDialysisFrequencyCountRes extends Omit<IComminList, 'list'> {
|
||||
list: IPatientDialysisFrequencyCount[];
|
||||
}
|
||||
|
||||
export interface IWypertensionStatisticsParams {
|
||||
clientCode: string;
|
||||
beginTime: string;
|
||||
endTime: string;
|
||||
}
|
||||
|
||||
export interface IQualityControlReportLisResults {
|
||||
client_code: string;
|
||||
item_name: string;
|
||||
item_result: string;
|
||||
item_result_flag: string;
|
||||
item_result_ref: string;
|
||||
item_result_unit: string;
|
||||
patient_name: string;
|
||||
sample_date: string;
|
||||
sample_date_str: string;
|
||||
最新报告日期: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IWypertensionStatistics {
|
||||
大于60岁患者: IWypertensionStatisticsObj;
|
||||
小于等于60岁患者: IWypertensionStatisticsObj;
|
||||
没有年龄的患者: IWypertensionStatisticsItem[];
|
||||
透析总人数: number;
|
||||
}
|
||||
|
||||
export interface IWypertensionStatisticsItem {
|
||||
patientCode: string;
|
||||
patientName: string;
|
||||
preMbpH: string;
|
||||
preMbpL: string;
|
||||
signTime: string;
|
||||
}
|
||||
|
||||
export interface IWypertensionStatisticsObj {
|
||||
count: number;
|
||||
eligiblePatientCount: number;
|
||||
eligiblePatients: IWypertensionStatisticsItem[];
|
||||
noEligiblePatientCount: number;
|
||||
noEligiblePatients: IWypertensionStatisticsItem[];
|
||||
}
|
||||
|
||||
export interface IQualityControlReportParams {
|
||||
clientCode: string;
|
||||
beginTime: string;
|
||||
endTime: string;
|
||||
page: number;
|
||||
size: number;
|
||||
systemItemNames: string;
|
||||
}
|
||||
|
||||
export interface IQualityControlReport {
|
||||
accessFirstUseDate: string;
|
||||
age: number;
|
||||
code: string;
|
||||
dictText: string;
|
||||
patientDiagnose: string;
|
||||
patientName: string;
|
||||
sex: string;
|
||||
survivalTime: string;
|
||||
lisResults: IQualityControlReportLisResults[];
|
||||
}
|
||||
|
||||
export interface IQualityControlReportReponse {
|
||||
total: number;
|
||||
list: IQualityControlReport[];
|
||||
[key: string]: any;
|
||||
}
|
||||
122
src/api/adjust_record_scheme_history/index.ts
Normal file
122
src/api/adjust_record_scheme_history/index.ts
Normal file
@@ -0,0 +1,122 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { AxiosPromise } from 'axios';
|
||||
import type { IAdjustRecordSchemeHistory, IAdjustRecordSchemeHistoryList } from './types/index.type';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
|
||||
|
||||
/**
|
||||
* 添加透析单处方修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryAddApi(data: Partial<IAdjustRecordSchemeHistory>) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量添加透析单处方修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryAddListApi(data: Partial<IAdjustRecordSchemeHistory>[]) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/addList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除透析单处方修改记录
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryDelApi(id: number) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/delete',
|
||||
method: 'post',
|
||||
params: id
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除透析单处方修改记录
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryDelAllApi(ids: string) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/deleteAll',
|
||||
method: 'post',
|
||||
params: ids
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id获取透析单处方修改记录详情
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryDetailByIdApi(id: number) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/detail',
|
||||
method: 'post',
|
||||
params: id
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code获取透析单处方修改记录详情
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryDetailByCodeApi(code: string) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/detail2',
|
||||
method: 'post',
|
||||
params: code
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取透析单处方修改记录列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryListApi(params: ICommonListParams) :AxiosPromise<IAdjustRecordSchemeHistoryList> {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/list',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存透析单处方修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistorySaveApi(data: Partial<IAdjustRecordSchemeHistory>) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/save',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新透析单处方修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function adjustRecordSchemeHistoryUpdateApi(data: Partial<IAdjustRecordSchemeHistory>) {
|
||||
return request({
|
||||
url: '/adjust/record/scheme/history/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
62
src/api/adjust_record_scheme_history/types/index.type.ts
Normal file
62
src/api/adjust_record_scheme_history/types/index.type.ts
Normal file
@@ -0,0 +1,62 @@
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
export enum EAdjustType {
|
||||
处方脱水量 = 0,
|
||||
血流量 = 1,
|
||||
透析时长 = 2,
|
||||
超滤量 = 3,
|
||||
透析器类型 = 4,
|
||||
抗凝剂首剂 = 5,
|
||||
透析液温度 = 6,
|
||||
透析液钠浓度 = 7,
|
||||
透析液钾浓度 = 8,
|
||||
透析液钙浓度 = 9,
|
||||
透析液碳酸氢盐浓度 = 10,
|
||||
抗凝剂类型 = 11,
|
||||
血管通路类型 = 13,
|
||||
透析模式 = 14,
|
||||
血管通路部位 = 15,
|
||||
血滤器 = 16,
|
||||
灌流器 = 17,
|
||||
透析液流量 = 18,
|
||||
抗凝剂维持追加类型 = 19,
|
||||
抗凝剂维持剂量 = 20,
|
||||
抗凝剂追加剂量 = 21,
|
||||
抗凝剂追加时机 = 22,
|
||||
抗凝剂总量 = 23,
|
||||
处方备注 = 24,
|
||||
抗凝剂2 = 25,
|
||||
抗凝剂2首剂 = 26,
|
||||
抗凝剂2维持剂量 = 27,
|
||||
抗凝剂2总量 = 28,
|
||||
}
|
||||
|
||||
export interface IAdjustRecordSchemeHistory {
|
||||
adjusUser: string;
|
||||
adjustTime: string;
|
||||
adjustType: EAdjustType;
|
||||
adjustUserName: string;
|
||||
clientCode: string;
|
||||
clientName: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number | null;
|
||||
deletedTime: string | null;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
newValue: string;
|
||||
oldValue: string;
|
||||
patientCode: string;
|
||||
patientName: string;
|
||||
recordCode: string;
|
||||
recordDate: string;
|
||||
remark: string;
|
||||
schemeCode: string;
|
||||
updateTime: string;
|
||||
updateUser: number | null;
|
||||
}
|
||||
|
||||
|
||||
export interface IAdjustRecordSchemeHistoryList extends Omit<IComminList, 'list'> {
|
||||
list: IAdjustRecordSchemeHistory[];
|
||||
}
|
||||
63
src/api/backend_report_template/index.ts
Normal file
63
src/api/backend_report_template/index.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function uploadFile(params: any) {
|
||||
return request({
|
||||
url: '/hemo/backend/report/template/uploadFile',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function getBackendList(params: any) {
|
||||
return request({
|
||||
url: '/hemo/backend/report/template/list',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function saveList(params: any) {
|
||||
return request({
|
||||
url: '/hemo/backend/report/template/saveReport',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function getHistory(params: any) {
|
||||
return request({
|
||||
url: '/hemo/backend/report/template/listReportVersions',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function changeVersion(params: any) {
|
||||
return request({
|
||||
url: '/hemo/backend/report/template/version/activeVersion',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function delTemplate(id) {
|
||||
return request({
|
||||
url: `/hemo/backend/report/template/delete?id=${id}`,
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
|
||||
export function delTemplateVersion(id) {
|
||||
return request({
|
||||
url: `/hemo/backend/report/template/version/delete?id=${id}`,
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
|
||||
export function getTemplateTypes() {
|
||||
return request({
|
||||
url: `/hemo/backend/report/template/listTemplateTypes`,
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
273
src/api/client/index.ts
Normal file
273
src/api/client/index.ts
Normal file
@@ -0,0 +1,273 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: any) {
|
||||
return request({
|
||||
url: '/client/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: any) {
|
||||
return request({
|
||||
url: '/client/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function updateReportTemplate(params: string) {
|
||||
return request({
|
||||
url: '/client/info/updateReportTemplate',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/client/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function publicClient(params: string) {
|
||||
return request({
|
||||
url: '/client/info/list/public',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/client/info/list',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function listUsers(params: object) {
|
||||
return request({
|
||||
url: '/client/info/listUsers',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function standardList(params: object) {
|
||||
return request({
|
||||
url: '/staff/schedule/standard/list',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function standardSave(params: object) {
|
||||
return request({
|
||||
url: '/staff/schedule/standard/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function doSelectSummary(params: object) {
|
||||
return request({
|
||||
url: '/staff/schedule/doSelectSummary',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* HIS自定义的维护菜单数据来源
|
||||
* @returns
|
||||
*/
|
||||
export function listHisTypesApi() {
|
||||
return request({
|
||||
url: '/client/info/listHisTypes',
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步HIS系统医护人员
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function synchronousHisMedicalStaffApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/staff/syncHisStaff',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode: clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步HIS系统科室
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function synchronousHisDepartmentApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/dept/syncHisDept',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode: clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步药物用法
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function syncUseMethodsApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncUseMethods',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步使用频率
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function syncUseFreqencyAPi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncUseFreqency',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode: clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步药物
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function synchronousMedicationApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncDrugs',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* "同步收费项目字典
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function syncChargeItemsApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncChargeItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步收费菜单
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function synchronizeBillingMenuApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncCombo',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* HIS诊断字典同步
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function doSyncApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/diagnose/sync/doSync',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* HIS药房同步
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function pharmacyApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/pharmacy/sync',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步报销方式
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function syncBxfsAPi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncHisBxfs',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
export function getCityWeather(params: any) {
|
||||
return request({
|
||||
url: 'https://restapi.amap.com/v3/weather/weatherInfo',
|
||||
method: 'get',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步药物单位
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function syncDrugUnitsAPi(clientCode: string) {
|
||||
return request({
|
||||
url: '/his/syncDrugUnits',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
params: { clientCode },
|
||||
});
|
||||
}
|
||||
53
src/api/client/types.ts
Normal file
53
src/api/client/types.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
export interface ClientInfo {
|
||||
autoStockTrigger: string
|
||||
clientAddress: string
|
||||
clientCity: string
|
||||
clientName: string
|
||||
clientNo: string
|
||||
clientProvince: string
|
||||
clientRegion: string
|
||||
clientSetting: string
|
||||
clientVsUserList: null | any[]
|
||||
code: string
|
||||
createTime: string
|
||||
createUser: number
|
||||
defaultSortOrderOnHemoMedList: number
|
||||
defaultValue_DianDaodu: number
|
||||
defaultValue_Huxi: number
|
||||
defaultValue_TouxiYeWendu: number
|
||||
deletedTime: null | string
|
||||
deviceCountShiftValue: number
|
||||
enableAutoHemoMedMonitorDataRecorderAtStartEndMedProgress: boolean
|
||||
faceDbName: string
|
||||
hemoMedTempOrderStartTimeDescShowType: string
|
||||
id: number
|
||||
isAddKnjToFeeList: number
|
||||
isAutoAddMonitorDataWhenStartOrEndMedProcess: boolean
|
||||
isAutoChangeWeightTypeWhenDoCheck: boolean
|
||||
isDeleted: number
|
||||
isEnableStartAndEndHemoMedService: boolean
|
||||
isForceOrderFreqAsOnceWhenPushed: boolean
|
||||
isLinkInventory1To2: boolean
|
||||
isRePushOrderWhileSchemeConfirmed: number
|
||||
isShowClliangProgress: boolean
|
||||
isShowTXQInSchedule: boolean
|
||||
isUseAutoOutStock: boolean
|
||||
isUseFeeList: boolean
|
||||
isUseHisSyncMode: number
|
||||
isUseSignImage: boolean
|
||||
monitorDataCheckList: any[]
|
||||
recordPrintTemplate: string
|
||||
recordWeightPlusType: string
|
||||
remainValidDays: number
|
||||
remark: string
|
||||
scheduleAutoAddMonitorDataInterval: number
|
||||
serviceEnabled: number
|
||||
servicePeriodFrom: any
|
||||
servicePeriodTo: string
|
||||
sortIndexInPrepareWorkPage: number
|
||||
updateTime: string
|
||||
updateUser: number
|
||||
userInfos: any
|
||||
whichWayToStatHemoMeds: number
|
||||
workingHoursInLCD: string
|
||||
}
|
||||
34
src/api/client_alert_info/index.ts
Normal file
34
src/api/client_alert_info/index.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: any) {
|
||||
return request({
|
||||
url: '/client/alert/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: any) {
|
||||
return request({
|
||||
url: '/client/alert/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/client/alert/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/client/alert/info/list',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
76
src/api/client_group_info/index.ts
Normal file
76
src/api/client_group_info/index.ts
Normal file
@@ -0,0 +1,76 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { ClientGroupListParams, ClientGroupType, AdminRoleUserType } from './types'
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
|
||||
/**
|
||||
* 获取集团客户对照列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export const getClientGroupListApi = (params: ClientGroupListParams): AxiosPromise<{ [key: string]: any;list: ClientGroupType[]}> => {
|
||||
return request({
|
||||
url: '/client/group/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除指定id的集团客户对照
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export const delClientGroupApi = (id: number): AxiosPromise<void> => {
|
||||
return request({
|
||||
url: '/client/group/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存集团对照数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export const saveClientGroupApi = (params: Partial<ClientGroupType>): AxiosPromise<void> => {
|
||||
return request({
|
||||
url: '/client/group/info/save',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 请求所有集团管理权限的用户
|
||||
* @returns
|
||||
*/
|
||||
export const getAdminRoleUserApi = (): AxiosPromise<AdminRoleUserType[]> => {
|
||||
return request({
|
||||
url: '/client/group/info/listManagers',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code获取集团对照详情
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export const getClientGroupDetailByCodeApi = (code: string) :AxiosPromise<ClientGroupType> => {
|
||||
return request({
|
||||
url: '/client/group/info/detail2',
|
||||
method: 'post',
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
95
src/api/client_group_info/types.ts
Normal file
95
src/api/client_group_info/types.ts
Normal file
@@ -0,0 +1,95 @@
|
||||
export interface ClientGroupListParams {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IClientGroupTypeClientSettingJsonItemCustomInfo {
|
||||
clientCode: string; // 客户编号
|
||||
name: string; // 检验项目自定义名称
|
||||
}
|
||||
export interface IClientGroupTypeClientSettingJsonItem {
|
||||
name: string; // 检验项目名称
|
||||
top: number | null; // top
|
||||
bottom: number | null; // 下限
|
||||
unit: string; // 单位
|
||||
customInfos: IClientGroupTypeClientSettingJsonItemCustomInfo[];
|
||||
}
|
||||
|
||||
export interface IClientGroupTypeClientSettingJson {
|
||||
items: IClientGroupTypeClientSettingJsonItem[];
|
||||
}
|
||||
|
||||
export interface ClientGroupType {
|
||||
clientCode: string;
|
||||
clientSettingJson: string;
|
||||
code: string;
|
||||
createTime: null | Date;
|
||||
createUser: null | number;
|
||||
deletedTime: null | Date;
|
||||
groupName: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
updateTime: string | Date;
|
||||
updateUser: null | number;
|
||||
managerCodeList: string;
|
||||
}
|
||||
|
||||
export interface AdminRoleUserType {
|
||||
admin: boolean;
|
||||
checkVersionCode: string;
|
||||
clientInfos: any;
|
||||
clientVsUserList: any;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number | null;
|
||||
currentClientInfo: any;
|
||||
deletedTime: null | string;
|
||||
doctor: boolean;
|
||||
hisCode: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
isRecvAlarm: null;
|
||||
isRecvAlarmEmail: number;
|
||||
isRecvAlarmWechat: number;
|
||||
isShow: number;
|
||||
isValid: number;
|
||||
loginWechatMpId: string;
|
||||
loginWechatUnionId: string;
|
||||
nurse: number;
|
||||
remark: string;
|
||||
roles: any;
|
||||
selectFieldsInShangjiCanshuPage: string;
|
||||
selectFieldsInTodayOrderPage: string;
|
||||
selectedFieldsInMedStat2: string;
|
||||
updateTime: string | null;
|
||||
updateUser: null | number;
|
||||
userAdmin: boolean;
|
||||
userAvatar: string;
|
||||
userCustomSetting: string;
|
||||
userDegree: string;
|
||||
userEmail: string;
|
||||
userFromDepartment: string;
|
||||
userGender: number;
|
||||
userGoDate: any;
|
||||
userGoDepartment: string;
|
||||
userGraduateTime: any;
|
||||
userIdentityCode: string;
|
||||
userInDate: any;
|
||||
userIsTongluDoctor: number;
|
||||
userMobile: string;
|
||||
userName: string;
|
||||
userNo: string;
|
||||
userPassword: string;
|
||||
userPinyin: string;
|
||||
userRfid: any;
|
||||
userSignPicUrl: string;
|
||||
userSortOrder: number;
|
||||
userTitle: string;
|
||||
userVsRoleList: number;
|
||||
userWorkState: string;
|
||||
userWorkTimeFrom: any;
|
||||
}
|
||||
124
src/api/client_setting_info_controller/index.ts
Normal file
124
src/api/client_setting_info_controller/index.ts
Normal file
@@ -0,0 +1,124 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { ClientSetting, ClientSettingParams, ClientSettingGetParams, ClientSettingTypeEnum } from './types';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
/**
|
||||
* 新增客户设置
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingAddApi(data: ClientSettingParams) {
|
||||
return request({
|
||||
url: '/client/setting/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 批量新增客户自定义设置
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingAddBatchApi(data: ClientSettingParams[]) {
|
||||
return request({
|
||||
url: '/client/setting/info/addList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除指定客户自定义设置
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingDelApi(id: number) {
|
||||
return request({
|
||||
url: '/client/setting/info/delete',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 批量删除客户自定义设置
|
||||
* @param ids
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingDelBatchApi(ids: string) {
|
||||
return request({
|
||||
url: '/client/setting/info/deleteAll',
|
||||
method: 'post',
|
||||
data: { ids }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据id获取客户自定义设置详情
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingDetailByIdApi(id: number): AxiosPromise<ClientSetting | null> {
|
||||
return request({
|
||||
url: '/client/setting/info/detail',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code获取自定义设置详情
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingDetailByCodeApi(code: string): AxiosPromise<ClientSetting | null> {
|
||||
return request({
|
||||
url: '/client/setting/info/detail2',
|
||||
method: 'post',
|
||||
data: { code }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据type获取自定义设置详情
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingDetailBySettingTypeApi(params: { clientCode: string; type: ClientSettingTypeEnum }): AxiosPromise<ClientSetting | null> {
|
||||
return request({
|
||||
url: '/client/setting/info/getAdvanceDeliveryByType',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取客户自定义配置列表
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingListApi(params: ClientSettingGetParams): AxiosPromise<{ list: ClientSetting[]; total: number; [key: string]: any; }> {
|
||||
return request({
|
||||
url: '/client/setting/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新客户自定义配置项
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function clientSettingUpdateApi(data: ClientSettingParams) {
|
||||
return request({
|
||||
url: '/client/setting/info/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
40
src/api/client_setting_info_controller/types.ts
Normal file
40
src/api/client_setting_info_controller/types.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export enum ClientSettingTypeEnum {
|
||||
提前下机阈值 = 'doneMedInAdvance',
|
||||
排班颜色 = 'scheduleSchemeColor',
|
||||
监测记录是否取配方钠的值 = 'whetherDefaultRecipeNa',
|
||||
是否开启小结双角色确认 = 'enableMedSummaryDualConfirm',
|
||||
透后评估确认后不更新患者称重结果 = 'postnatalWeightUpdate',
|
||||
何时触发自动生成门诊处方 = '何时触发自动生成门诊处方',
|
||||
}
|
||||
|
||||
export interface ClientSetting {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
deletedTime: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
settingType: ClientSettingTypeEnum;
|
||||
settingValue: string;
|
||||
updateTime: string;
|
||||
updateUser: number;
|
||||
}
|
||||
|
||||
|
||||
export interface ClientSettingParams extends Omit<ClientSetting, 'createTime' | 'createUser' | 'deletedTime' | 'isDeleted' | 'updateTime' | 'updateUser'> {
|
||||
createTime?: string;
|
||||
createUser?: number;
|
||||
deletedTime?: string;
|
||||
updateTime?: string;
|
||||
updateUser?: number;
|
||||
isDeleted?: number;
|
||||
}
|
||||
|
||||
|
||||
export interface ClientSettingGetParams {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
44
src/api/client_txy_info/index.ts
Normal file
44
src/api/client_txy_info/index.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 添加透析液
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function addTxyApi(data: any) {
|
||||
return request({
|
||||
url: '/client/txy/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取透析液列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function txyListApi(params: any) {
|
||||
return request({
|
||||
url: '/client/txy/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新透析液数据
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function updateTxyAPi(data: any) {
|
||||
return request({
|
||||
url: '/client/txy/info/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
60
src/api/client_vs_resource/index.ts
Normal file
60
src/api/client_vs_resource/index.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { AxiosPromise } from 'axios';
|
||||
import type { IClientVsResource, IClientVsResourceReponse } from './types/index.type';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
|
||||
|
||||
/**
|
||||
* 添加客户权限api
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function addClientVsResourceApi(data: IClientVsResource) {
|
||||
return request({
|
||||
url: '/client/vs/resource/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改客户权限api
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function updateClientVsResourceApi(data: IClientVsResource) {
|
||||
return request({
|
||||
url: '/client/vs/resource/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除客户权限api
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function delClientVsResourceApi(id: number) {
|
||||
return request({
|
||||
url: '/client/vs/resource/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取客户权限列表api
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getClientVsResourceListApi(params: ICommonListParams) :AxiosPromise<IClientVsResourceReponse> {
|
||||
return request({
|
||||
url: '/client/vs/resource/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
22
src/api/client_vs_resource/types/index.type.ts
Normal file
22
src/api/client_vs_resource/types/index.type.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
|
||||
export interface IClientVsResource {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string | null;
|
||||
createUser: number;
|
||||
deletedTime: string | null;
|
||||
grantPrivilege: string; // 客户权限
|
||||
id: number;
|
||||
isDeleted: number,
|
||||
remark: string,
|
||||
resourceCode: string, // 菜单code
|
||||
updateTime: string | null;
|
||||
updateUser: number;
|
||||
}
|
||||
|
||||
|
||||
export interface IClientVsResourceReponse extends Omit<IComminList, 'list'> {
|
||||
list: IClientVsResource[];
|
||||
}
|
||||
105
src/api/comm/index.ts
Normal file
105
src/api/comm/index.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function getAvailableDevicesByDeviceType(params: string) {
|
||||
return request({
|
||||
url: '/comm/service/device/info/getAvailableDevicesByDeviceType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function getNotifyMessages(params) {
|
||||
return request({
|
||||
url: '/user/info/getNotifyMessages',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
export function makeAsRead(params:object) {
|
||||
return request({
|
||||
url: '/user/info/makeAsRead',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
export function listCurrentHemoMeds(params:object) {
|
||||
return request({
|
||||
url: '/common/listCurrentHemoMeds',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
export function getOSSTokenInfo(params:object) {
|
||||
return request({
|
||||
url: '/common/getOSSTokenInfo',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
export function FileAdd(data:object){
|
||||
return request({
|
||||
url: '/lcd/media/files/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function FileUpdate(params: string) {
|
||||
return request({
|
||||
url: '/lcd/media/files/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function FileDeleteId(params: string) {
|
||||
return request({
|
||||
url: '/lcd/media/files/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function FileList(params: object) {
|
||||
return request({
|
||||
url: '/lcd/media/files/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function listCurrentLcdMedia(params: any) {
|
||||
return request({
|
||||
url: '/common/listCurrentLcdMedia',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}export function outputLisResultForclient(params: string) {
|
||||
return request({
|
||||
url: '/common/outputLisResultForClient',
|
||||
method: 'post',
|
||||
responseType: 'blob',
|
||||
params,
|
||||
});
|
||||
}
|
||||
77
src/api/common.ts
Normal file
77
src/api/common.ts
Normal file
@@ -0,0 +1,77 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
//首页数据展示
|
||||
export function getHomePageData(params: string) {
|
||||
return request({
|
||||
url: '/common/getHomePageData',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
//首页饼图数据 /patient/hemo/med/record/getHomePageStat2
|
||||
export function getHomePageStat2(clientCode:string,date:string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/getHomePageStat2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
data: {clientCode,date}
|
||||
});
|
||||
}
|
||||
|
||||
// 首页透析设备列表数据 /patient/hemo/med/record/getHomePageStat3
|
||||
export function getHomePageStat3(clientCode:string,date:string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/getHomePageStat3',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
data: {clientCode,date}
|
||||
});
|
||||
}
|
||||
|
||||
export function uploadPhoto(params: any) {
|
||||
return request({
|
||||
url: '/common/uploadPhoto',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function getVersionList(params:object) {
|
||||
return request({
|
||||
url: '/system/version/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
export function AddVersion(params: object) {
|
||||
return request({
|
||||
url: '/system/version/save',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/system/version/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
20
src/api/common.type.ts
Normal file
20
src/api/common.type.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/** interface 查询列表公共请求类型 */
|
||||
export interface ICommonListParams {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
|
||||
/** intercace 列表返回公共数据类型 */
|
||||
export interface IComminList {
|
||||
total: number;
|
||||
list: any[];
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
|
||||
export interface IOption {
|
||||
label: string;
|
||||
value: boolean | string | number;
|
||||
}
|
||||
252
src/api/dataConversion/index.ts
Normal file
252
src/api/dataConversion/index.ts
Normal file
@@ -0,0 +1,252 @@
|
||||
import request from "/@/utils/request";
|
||||
import { IMapper, IHandCalculatorKtvAndUrrParams, IIistMapper, IInspectionItemsByChargeItem, IDeleteLisKtvReportParams } from "./type";
|
||||
import { AxiosPromise } from "axios";
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 列出所有收费项目
|
||||
* @returns
|
||||
*/
|
||||
export function apiGetChargeItems() {
|
||||
return request({
|
||||
url: "/lis/report/listFeeItems",
|
||||
method: "post"
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者检验明细
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listReportsByPatientApi(params: object) {
|
||||
return request({
|
||||
url: '/lis/report/listReportsByPatient2',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除检验报告
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiDelLisByDate(data: string) {
|
||||
return request({
|
||||
url: "/lis/report/deleteLisReport",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除lis结果
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function apiDelLis(data: string) {
|
||||
return request({
|
||||
url: "/lis/report/deleteLisResult",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改LIS结果
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiUpdateLis(params: { reportCode: string; itemName: string; result: string; code?: string; sampleDate?: string; }) {
|
||||
return request({
|
||||
url: "/lis/report/updateLisResult",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据收费项目获取系统内置检验项目
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiGetInspectionItemsByChargeItem(feeItemName: string, clientCode: string) :AxiosPromise<IInspectionItemsByChargeItem> {
|
||||
return request({
|
||||
url: "/lis/report/listTestItemsByFeeItemName",
|
||||
method: "post",
|
||||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
data: "feeItemName=" + feeItemName + "&clientCode=" + clientCode
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据客户编号查询对照列表
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function apiFindComparisonListByClientCode(clientCode: string) : AxiosPromise<IIistMapper[]> {
|
||||
return request({
|
||||
url: "/lis/test/item/mapper/listMapper",
|
||||
method: "post",
|
||||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
data: "clientCode=" + clientCode
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存对照
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiSavecompare(data: IMapper) {
|
||||
return request({
|
||||
url: "/lis/test/item/mapper/save",
|
||||
method: "post",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查出所有lis里已有项目
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function apiGetListItemNames (clientCode: string): AxiosPromise<string[]> {
|
||||
return request({
|
||||
url: '/lis/report/listDistinctItemNames',
|
||||
method: 'post',
|
||||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
params: { clientCode }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 计算患者urr ktv
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function handCalculatorKtvAndUrrApi(data: IHandCalculatorKtvAndUrrParams) {
|
||||
return request({
|
||||
url: '/lis/stat/handCalculatorKtvAndUrr',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除KTV报告接口
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function deleteLisKtvReportApi(params: { reportCode: string }) {
|
||||
return request({
|
||||
url: '/lis/report/deleteLisKtvReport',
|
||||
method: 'post',
|
||||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
//获取列表
|
||||
/**
|
||||
*
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getAlertPatients(params: object) {
|
||||
return request({
|
||||
url: '/client/alert/info/queryAlertPatients',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
//新增
|
||||
/**
|
||||
*
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function addRemind(params: object) {
|
||||
return request({
|
||||
url: '/client/alert/info/add',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
//批量新增
|
||||
export function addRemindList(data: object) {
|
||||
return request({
|
||||
url: '/client/alert/info/addList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改api
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function editRemindApi(data) {
|
||||
return request({
|
||||
url: '/client/alert/info/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除api
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function delRemindApi(id: number) {
|
||||
return request({
|
||||
url: '/client/alert/info/delete',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询列表api
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getRemindApi(params) {
|
||||
return request({
|
||||
url: '/client/alert/info/list',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
75
src/api/dataConversion/type.ts
Normal file
75
src/api/dataConversion/type.ts
Normal file
@@ -0,0 +1,75 @@
|
||||
export interface IMapper {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: string;
|
||||
dataName: string;
|
||||
deletedTime: string;
|
||||
hisCode: string;
|
||||
hisName: string;
|
||||
hisType: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: string;
|
||||
sortOrder: number;
|
||||
}
|
||||
|
||||
export interface IHandCalculatorKtvAndUrrParams {
|
||||
dataNiaosu1: string;
|
||||
dataNiaosu2: string;
|
||||
dataMedPeriod: string;
|
||||
dataWeight1: string;
|
||||
dataWeight2: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IIistMapper {
|
||||
clientCode: string;
|
||||
clientItemName: string;
|
||||
clientItemRefH: number;
|
||||
clientItemRefL: number;
|
||||
clientItemRefType: number;
|
||||
clientItemRefValue: string;
|
||||
clientItemUnit: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
deletedTime: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
itemGroupName: string;
|
||||
itemIsShow: number;
|
||||
remark: string;
|
||||
sortOrder: number;
|
||||
systemItemName: string;
|
||||
updateTime: string;
|
||||
updateUser: number;
|
||||
}
|
||||
|
||||
|
||||
export interface IInspectionItemsByChargeItem {
|
||||
feeItemName: string;
|
||||
testItemsText: string;
|
||||
testItems: IInspectionItemsByChargeItemTestItem[];
|
||||
}
|
||||
|
||||
export interface IInspectionItemsByChargeItemTestItem {
|
||||
feeItem: string;
|
||||
testItem: string;
|
||||
testItem2: string;
|
||||
testItemUnit: string;
|
||||
参考值: string;
|
||||
参考值低值: null | number;
|
||||
参考值类型: number | null;
|
||||
参考值高值: number | null;
|
||||
排序字段: number | null;
|
||||
是否显示: null | number;
|
||||
}
|
||||
|
||||
|
||||
export interface IDeleteLisKtvReportParams {
|
||||
patientCode: string;
|
||||
sampleDate: string;
|
||||
}
|
||||
73
src/api/data_global_item_info/index.ts
Normal file
73
src/api/data_global_item_info/index.ts
Normal file
@@ -0,0 +1,73 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
|
||||
export function Add(data:object){
|
||||
return request({
|
||||
url: '/data/global/item/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/data/global/item/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/data/global/item/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function detail2(params: string) {
|
||||
return request({
|
||||
url: '/data/global/item/info/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/data/global/item/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function listByGlobalItemCode(params: object) {
|
||||
return request({
|
||||
url: '/item/clearance/vs/xll/listByGlobalItemCode',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function saveMapper(params: object) {
|
||||
return request({
|
||||
url: '/item/clearance/vs/xll/saveMapper',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 获取物品分类1的列表
|
||||
* @returns
|
||||
*/
|
||||
export function getItemClassificationOneOptions() {
|
||||
return request({
|
||||
url: "/data/global/item/info/listAllType1",
|
||||
method: "post"
|
||||
})
|
||||
}
|
||||
47
src/api/device/commServiceDevice.ts
Normal file
47
src/api/device/commServiceDevice.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
|
||||
export function Add(data:object){
|
||||
return request({
|
||||
url: '/comm/service/device/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/comm/service/device/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/comm/service/device/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function detail2(params: string) {
|
||||
return request({
|
||||
url: '/comm/service/device/info/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: string) {
|
||||
return request({
|
||||
url: '/comm/service/device/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
40
src/api/device/device_clean_plan.ts
Normal file
40
src/api/device/device_clean_plan.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import request from '/@/utils/request';
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/plan/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function batchAdd(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/plan/batchAdd',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/plan/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/device/clean/plan/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/plan/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
130
src/api/device/group.ts
Normal file
130
src/api/device/group.ts
Normal file
@@ -0,0 +1,130 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
import type { IDeviceGroupList } from './tyeps/group.type';
|
||||
|
||||
export function Add(data:object){
|
||||
return request({
|
||||
url: '/device/group/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/device/group/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/device/group/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function detail2(params: string) {
|
||||
return request({
|
||||
url: '/device/group/info/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取设备分组列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function list(params: ICommonListParams): AxiosPromise<IDeviceGroupList> {
|
||||
return request({
|
||||
url: '/device/group/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function listAllDevices(params: string) {
|
||||
return request({
|
||||
url: '/device/group/info/listAllDevices',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listAllDevices2(params: string) {
|
||||
return request({
|
||||
url: '/device/group/info/listAllDevices2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listAllDevices3(params: string) {
|
||||
return request({
|
||||
url: '/device/group/info/listAllDevices3',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listPatHemoMedCard(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listPatHemoMedCard',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 读取设置API
|
||||
export function loadCardSetting(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/loadCardSetting',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 保存设置API
|
||||
export function saveCardSetting(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/saveCardSetting',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取透析单图片
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiGetTreatmentSheetImg(data: { clientCode: string; recordCodes: string;}) {
|
||||
return request({
|
||||
url: "/patient/hemo/med/record/printMedReports",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: `clientCode=${data.clientCode}&recordCodes=${data.recordCodes}`
|
||||
})
|
||||
}
|
||||
144
src/api/device/index.ts
Normal file
144
src/api/device/index.ts
Normal file
@@ -0,0 +1,144 @@
|
||||
|
||||
|
||||
import request from '/@/utils/request';
|
||||
import type { IDeviceListReponse } from './tyeps/index.type';
|
||||
import type { AxiosPromise } from 'axios';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/device/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/device/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/device/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取设备列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function list(params: ICommonListParams) : AxiosPromise<IDeviceListReponse> {
|
||||
return request({
|
||||
url: '/device/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function printPatientCardCode(data: object) {
|
||||
return request({
|
||||
url: '/device/info/printPatientCardCode',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
export function listRecords(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/execute/listRecords',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
|
||||
export function getRecordsByDeviceCodeApi(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/execute/getRecordsByDeviceCode',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
|
||||
export function listAvailableDevices(params: object) {
|
||||
return request({
|
||||
url: '/hemo/med/schedule/template/listAvailableDevices',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取消毒过滤器名称api
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function listBacterialFilterApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/device/clean/plan/listBacterialFilter',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { clientCode },
|
||||
})
|
||||
}
|
||||
// 添加设备消毒记录
|
||||
export function Addxd(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/execute/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
// 修改设备消毒记录
|
||||
export function updatexd(params: object) {
|
||||
return request({
|
||||
url: '/device/clean/execute/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
// 删除 设备消毒记录
|
||||
export function deleteIdxd(params: string) {
|
||||
return request({
|
||||
url: '/device/clean/execute/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
// 查询血压计日志
|
||||
export function bpPushList(params: object) {
|
||||
return request({
|
||||
url: '/device/yu/yue/bp/push/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 设定手动刷新副屏任务API:
|
||||
* @param deviceCode
|
||||
* @returns
|
||||
*/
|
||||
export function refreshSubScreenApi(deviceCode: string) {
|
||||
return request({
|
||||
url: '/device/info/setSubScreenRefreshJob',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { deviceCode },
|
||||
})
|
||||
}
|
||||
47
src/api/device/signMachine.ts
Normal file
47
src/api/device/signMachine.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
|
||||
export function Add(data:object){
|
||||
return request({
|
||||
url: '/auto/self/sign/machine/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/auto/self/sign/machine/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/auto/self/sign/machine/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function detail2(params: string) {
|
||||
return request({
|
||||
url: '/auto/self/sign/machine/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: string) {
|
||||
return request({
|
||||
url: '/auto/self/sign/machine/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
25
src/api/device/tyeps/group.type.ts
Normal file
25
src/api/device/tyeps/group.type.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
/** 设备分组 */
|
||||
export interface IDeviceGroup {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string | null;
|
||||
createUser: null | number;
|
||||
deletedTime: null | string;
|
||||
deviceInfoCount: number;
|
||||
deviceInfos: any;
|
||||
groupName: string;
|
||||
groupSort: number;
|
||||
groupType: 0 | 1;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
updateTime: string | null;
|
||||
updateUser: number | null;
|
||||
}
|
||||
|
||||
|
||||
export interface IDeviceGroupList extends Omit<IComminList, 'list'> {
|
||||
list: IDeviceGroup[];
|
||||
}
|
||||
52
src/api/device/tyeps/index.type.ts
Normal file
52
src/api/device/tyeps/index.type.ts
Normal file
@@ -0,0 +1,52 @@
|
||||
import type { IDeviceGroup } from './group.type';
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
export interface IDeviceVsSchemes {
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: null | null;
|
||||
deletedTime: null | string;
|
||||
deviceCode: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
schemeName: string;
|
||||
updateTime: string;
|
||||
updateUser: null | number;
|
||||
}
|
||||
|
||||
/** 设备-类型 */
|
||||
export interface IDeviceInfo {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number | null;
|
||||
deletedTime: null;
|
||||
deviceBrand: string;
|
||||
deviceCurrentState: number;
|
||||
deviceGroupCode: number;
|
||||
deviceGroupInfo: IDeviceGroup;
|
||||
deviceGroupName: string;
|
||||
deviceGroupType: number;
|
||||
deviceInitialRunCount: number;
|
||||
deviceModel: string;
|
||||
deviceName: string;
|
||||
deviceNo: string;
|
||||
devicePlusSn: string;
|
||||
devicePurchaseTime: string;
|
||||
deviceSn: string;
|
||||
deviceType: number;
|
||||
deviceVsSchemeList: null | any;
|
||||
deviceVsSchemes: IDeviceVsSchemes[];
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
sortOrder: number;
|
||||
updateTime: string | null;
|
||||
updateUser: number;
|
||||
}
|
||||
|
||||
|
||||
export interface IDeviceListReponse extends Omit<IComminList, 'list'> {
|
||||
list: IDeviceInfo[];
|
||||
}
|
||||
25
src/api/dialysis/ca.ts
Normal file
25
src/api/dialysis/ca.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function getCaCertificationsList(params) {
|
||||
return request({
|
||||
url: '/information/ca/certification/queryInformationCaCertifications',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function getCaCertification(val) {
|
||||
return request({
|
||||
// url: '/bj/ca/caCertification', => '/ca/caCertification'
|
||||
url: '/ca/caCertification',
|
||||
method: 'post',
|
||||
data: val,
|
||||
});
|
||||
}
|
||||
|
||||
export function getPollTokenInfo(val) {
|
||||
return request({
|
||||
url: '/bj/ca/pollTokenInfo?requestId=' + val,
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
106
src/api/dialysis/patient-hemo-med-dialysis-scheme.ts
Normal file
106
src/api/dialysis/patient-hemo-med-dialysis-scheme.ts
Normal file
@@ -0,0 +1,106 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
//智能审核
|
||||
export function intelligentReview(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/intelligentReview',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function getCurrentMedSchemeOfPatient(params: object):any {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/getCurrentMedSchemeOfPatient',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function save(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function preSave(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function preSave2(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function getStatePre(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function syncToPatient(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/dialysis/scheme/syncToPatient',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function updateSchemeTool(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/updateSchemeTool',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
61
src/api/dialysis/patient_hemo_med_body_state_after.ts
Normal file
61
src/api/dialysis/patient_hemo_med_body_state_after.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
import type { IMedAfterList } from './types/patient_hemo_med_body_state_after.type';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 获取透后评估
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function list(params: ICommonListParams) :AxiosPromise<IMedAfterList> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存透后评估
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function medAfterSaveApi(data) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/save',
|
||||
method: 'post',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
data
|
||||
})
|
||||
}
|
||||
84
src/api/dialysis/patient_hemo_med_body_state_pre.ts
Normal file
84
src/api/dialysis/patient_hemo_med_body_state_pre.ts
Normal file
@@ -0,0 +1,84 @@
|
||||
import { AxiosPromise } from 'axios';
|
||||
import request from '/@/utils/request';
|
||||
import { IBodyStatePreInfo } from '/@/views/dialysis/dialysisForm/type';
|
||||
import type { IComminList, ICommonListParams } from '../common.type';
|
||||
|
||||
|
||||
interface IBodyStatePreInfoList extends Omit<IComminList, 'list'> {
|
||||
list: IBodyStatePreInfo[];
|
||||
}
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: ICommonListParams) :AxiosPromise<IBodyStatePreInfoList>{
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出小结至病程记录
|
||||
* @param recordCode
|
||||
* @returns
|
||||
*/
|
||||
export function outputToDiseaseProgressRecordApi(recordCode: string, role: 'nurse' | 'doctor') {
|
||||
return request({
|
||||
url: '/patient/hemo/med/finish/outputToDiseaseProgressRecord',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
recordCode,
|
||||
role
|
||||
}
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 导出小结至病程记录
|
||||
* @param recordCode
|
||||
* transferMode 0:普通输出 1:sse流式输出
|
||||
* @returns
|
||||
*/
|
||||
export function getAIResultForRecordSummary(recordCode: string,isRebuild:number,transferMode:number) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/getAIResultForRecordSummary',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
recordCode,
|
||||
isRebuild,
|
||||
transferMode
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
36
src/api/dialysis/patient_hemo_med_doule_check.ts
Normal file
36
src/api/dialysis/patient_hemo_med_doule_check.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/doule/check/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/doule/check/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/doule/check/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/doule/check/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
58
src/api/dialysis/patient_hemo_med_finish.ts
Normal file
58
src/api/dialysis/patient_hemo_med_finish.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ICommonListParams } from '/@/api/common.type';
|
||||
import type { IMedFinishList, IMedFinish } from './types/patient_hemo_med_finish.type';
|
||||
|
||||
export function Add(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/finish/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/finish/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/finish/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者透后小结
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function list(params: ICommonListParams) : AxiosPromise<IMedFinishList> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/finish/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存透后小结
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function saveMedFinishApi(data: Partial<IMedFinish>) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/finish/save',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
121
src/api/dialysis/patient_hemo_med_monitor_data.ts
Normal file
121
src/api/dialysis/patient_hemo_med_monitor_data.ts
Normal file
@@ -0,0 +1,121 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { IopDataParams } from './types';
|
||||
import type { ICommonListParams } from '/@/api/common.type';
|
||||
import type { IMedMonitorList, IMedMonitor, IIotHistories } from './types/patient_hemo_med_monitor_data.type';
|
||||
|
||||
export function Add(params: Partial<IMedMonitor>) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: Partial<IMedMonitor>) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取监测记录列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function list(params: ICommonListParams): AxiosPromise<IMedMonitorList> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 确认监测记录
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function confirm(params: { recordCode: string }) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/confirm',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取监测记录默认内容
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function prepareAdd(params: string): AxiosPromise<IMedMonitor> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/prepareAdd',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取监测记录想去
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function detail2(params: string): AxiosPromise<IMedMonitor> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/monitor/data/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function getLinkedIOTStatus(params: string) {
|
||||
return request({
|
||||
url: '/device/info/getLinkedIOTStatus',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取iot联机数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function iopDataApi(params: IopDataParams): AxiosPromise<IIotHistories[]> {
|
||||
return request({
|
||||
url: '/device/info/outputDeviceIOTHistories',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
122
src/api/dialysis/patient_hemo_med_temp_drug_order.ts
Normal file
122
src/api/dialysis/patient_hemo_med_temp_drug_order.ts
Normal file
@@ -0,0 +1,122 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { IExecuteOrderParams, AddDrugOrdersFromTemplateParams } from './types/patient_hemo_med_temp_drug_order.type';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function addDrugOrdersFromTemplate(params: AddDrugOrdersFromTemplateParams) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/addDrugOrdersFromTemplate',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listTodayOrder(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listTodayOrder',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listTodayOrder2(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listTodayOrder2',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function confirmOrders(params: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/confirmOrders',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listTodayTempOrderStat(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listTodayTempOrderStat',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list2(params: object) {
|
||||
return request({
|
||||
url: '/patient/drug/order/vs/patient/list2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function patientPush(params: Object) {
|
||||
return request({
|
||||
url: '/patient/drug/order/vs/patient/push',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function printTodyOrderPaper(params: Object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/printTodyOrderPaper',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 执行医嘱
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function executeOrderApi(params: IExecuteOrderParams) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/temp/drug/order/executeOrder',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
})
|
||||
}
|
||||
5
src/api/dialysis/types.ts
Normal file
5
src/api/dialysis/types.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface IopDataParams {
|
||||
date1: string;
|
||||
date2: string;
|
||||
deviceCode: string;
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
export interface IMedAfter {
|
||||
actuallyClliang: number | null;
|
||||
actuallyMedPeriodH: number | null;
|
||||
actuallyMedPeriodM: number | null;
|
||||
actuallyZhliang: number | null;
|
||||
afterClothesWeight: number | null;
|
||||
afterHemoWeight: null | number;
|
||||
afterHemoWeightFinal: number | null;
|
||||
afterHemoWeightType: number | null;
|
||||
afterIsUseAutoselfDeviceBp: number | null;
|
||||
afterIsUseAutoselfDeviceWeight: number | null;
|
||||
afterMBpH: null | number;
|
||||
afterMBpL: null | number;
|
||||
afterMBpPositon: number | null;
|
||||
afterMP: number | null;
|
||||
afterMR: number | null;
|
||||
afterMT: number | null;
|
||||
afterMedBfz: string;
|
||||
afterMedDg: string;
|
||||
afterMedDgInfo: null | number;
|
||||
afterMedNl: string;
|
||||
afterMedNlInfo: null; // 内瘘info
|
||||
afterMedNx: string;
|
||||
afterMedNxInfo: null; // 凝血info
|
||||
afterMedRlCg: null | number;
|
||||
afterMedRlJs: null | number;
|
||||
afterMedRlSx: null | number;
|
||||
afterMedRlSy: null | number;
|
||||
afterMedZz: string;
|
||||
afterMedZzInfo: null; // 症状info
|
||||
afterPlusSetting: string;
|
||||
code: string;
|
||||
confirmTime: null | string;
|
||||
confirmUser: string;
|
||||
confirmUserDoctor: string;
|
||||
confirmUserDoctorName: string;
|
||||
confirmUserInfo: null; // 确认人Info
|
||||
confirmUserNurse: string;
|
||||
confirmUserNurseName: string;
|
||||
createTime: string;
|
||||
createUser: null | number;
|
||||
deletedTime: null | string;
|
||||
hemoMedAfterPlusSetting: any;
|
||||
id: number;
|
||||
isConfirm: number;
|
||||
isDeleted: number;
|
||||
plusSettings_交班内容选择: string[];
|
||||
plusSettings_患者去向选择: string[];
|
||||
preClothesWeight: number;
|
||||
preHemoWeight: number;
|
||||
recordCode: string;
|
||||
remark: string;
|
||||
signTime: null | string;
|
||||
updateTime: string | null;
|
||||
updateUser: null | number;
|
||||
exitType:string;
|
||||
exitTime:string;
|
||||
}
|
||||
|
||||
|
||||
export interface IMedAfterList extends Omit<IComminList, 'list'> {
|
||||
list: IMedAfter[];
|
||||
}
|
||||
83
src/api/dialysis/types/patient_hemo_med_finish.type.ts
Normal file
83
src/api/dialysis/types/patient_hemo_med_finish.type.ts
Normal file
@@ -0,0 +1,83 @@
|
||||
import type { IUser } from '../../user/types/index.type';
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
export interface IMedFinish {
|
||||
code: string;
|
||||
confirmTime: string | null;
|
||||
confirmUser: string | null;
|
||||
confirmUserDoctor: string | null;
|
||||
confirmUserDoctorName: string | null;
|
||||
confirmUserInfo: IUser | null;
|
||||
confirmUserNurse: string | null;
|
||||
confirmUserNurseName: string;
|
||||
createTime: string | null;
|
||||
createUser: null | number;
|
||||
deletedTime: null | string;
|
||||
doneByg: string;
|
||||
doneBygName: string;
|
||||
doneCcASideDirection: string;
|
||||
doneCcCcPosition: string;
|
||||
doneCcNurse: string;
|
||||
doneCcNurseInfo: IUser | null;
|
||||
doneCcOrHy: number | null;
|
||||
doneCcType: string;
|
||||
doneCcTypeInfo: null | any;
|
||||
doneCcZhen: string;
|
||||
doneCcZhenA: string;
|
||||
doneCcZhenAString: string;
|
||||
doneCcZhenNames: null | string;
|
||||
doneCcZhenType: string;
|
||||
doneCcZhenV: string;
|
||||
doneCcZhenVString: string;
|
||||
doneDoctorSummary: string;
|
||||
doneDoctorSummaryConfirmTime: null | string;
|
||||
doneDoctorSummaryDoctor: string | null;
|
||||
doneDoctorSummaryDoctorText: string;
|
||||
doneDoctorSummaryText: string;
|
||||
doneDownNurse: string;
|
||||
doneDownNurseInfo: IUser | null;
|
||||
doneGl: string;
|
||||
doneGlName: string;
|
||||
doneMedDoctor: string;
|
||||
doneMedDoctorInfo: IUser | null;
|
||||
doneMedNurse: string;
|
||||
doneMedNurseInfo: IUser | null;
|
||||
doneSummary: string;
|
||||
doneSummaryInfo: null | any;
|
||||
doneSummaryText: string
|
||||
doneSummaryUser: string;
|
||||
doneSummaryUserDoctor: string;
|
||||
doneSummaryUserDoctorName: string;
|
||||
doneSummaryUserInfo: IUser | null;
|
||||
doneSummaryUserNurse: string;
|
||||
doneSummaryUserNurseName: string;
|
||||
doneTeach: string;
|
||||
doneTeachInfo: null | any;
|
||||
doneTeachText: string;
|
||||
doneTechUser: string;
|
||||
doneTechUserInfo: IUser | null;
|
||||
doneTxqCode: string;
|
||||
doneUpNurse: string;
|
||||
doneUpNurseInfo: IUser | null;
|
||||
doneUseHlb: string;
|
||||
doneUseHlbName: string;
|
||||
doneUseNsy: string;
|
||||
doneUseNsyName: string;
|
||||
doneVerifyUser: string;
|
||||
doneVerifyUserInfo: IUser | null;
|
||||
doneYcTube: string;
|
||||
doneYcTubeInfo: IUser | null;
|
||||
id: number | null;
|
||||
isConfirm: number | null;
|
||||
isDeleted: number | null;
|
||||
recordCode: string;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: number | null;
|
||||
透析方式名称: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IMedFinishList extends Omit<IComminList, 'list'> {
|
||||
list: IMedFinish[];
|
||||
}
|
||||
79
src/api/dialysis/types/patient_hemo_med_monitor_data.type.ts
Normal file
79
src/api/dialysis/types/patient_hemo_med_monitor_data.type.ts
Normal file
@@ -0,0 +1,79 @@
|
||||
import type { IComminList } from '../../common.type';
|
||||
import type { IUser } from '../../user/types/index.type';
|
||||
|
||||
export interface IMedMonitor {
|
||||
clzl: number | null;
|
||||
code: string;
|
||||
confirmTime: string | null;
|
||||
confirmUser: string | null;
|
||||
confirmUserInfo: IUser | null;
|
||||
createTime: string | null;
|
||||
createUser: number | null;
|
||||
dataBloodPressureH: string;
|
||||
dataBloodPressureL: string;
|
||||
dataBloodPressureType: number;
|
||||
dataBreathing: string;
|
||||
dataCll: string;
|
||||
dataClliang: string;
|
||||
dataDdd: string;
|
||||
dataDeal: string;
|
||||
dataDmy: string;
|
||||
dataFlag: number;
|
||||
dataHuixue: string;
|
||||
dataJmy: string;
|
||||
dataKmy: string;
|
||||
dataNnd: string;
|
||||
dataNs: string;
|
||||
dataPulse: string;
|
||||
dataResult: string;
|
||||
dataTime: string;
|
||||
dataTxywd: string;
|
||||
dataXll: string;
|
||||
dataXrl: string;
|
||||
dataYinxue: string;
|
||||
dataZhl: string;
|
||||
dataZhliang: string;
|
||||
dataZz: string;
|
||||
deletedTime: null | string;
|
||||
fromIOT: boolean;
|
||||
id: number | null;
|
||||
isConfirm: number;
|
||||
isDeleted: number;
|
||||
isLastRecord: boolean;
|
||||
lastTImeClliang: string;
|
||||
lastTimeDataCode: string;
|
||||
lastTimeDataTime: null | string;
|
||||
lastTimeZhliang: string;
|
||||
monitorNurse: string;
|
||||
monitorNurseInfo: IUser | null;
|
||||
recordCode: string;
|
||||
remark: string;
|
||||
screenImageUrl: string;
|
||||
txPeriod: number;
|
||||
updateTime: string | null;
|
||||
updateUser: number | number;
|
||||
zhTotal: null | number;
|
||||
dataTemperture:null | number;
|
||||
dataBloodTemperature: number | null; // 血温
|
||||
dataRbv: number | null; // 血容量
|
||||
dataKtV: number | null; // 在线ktv
|
||||
}
|
||||
|
||||
export interface IMedMonitorList extends Omit<IComminList, 'list'> {
|
||||
list: IMedMonitor[];
|
||||
}
|
||||
|
||||
export interface IIotHistories {
|
||||
超滤量: string;
|
||||
置换量: string;
|
||||
时间: string;
|
||||
血流量: string;
|
||||
静脉压: string;
|
||||
跨膜压: string;
|
||||
脱水率: string;
|
||||
透析液流速: string;
|
||||
透析液温度: string;
|
||||
置换率: string;
|
||||
动脉压: string;
|
||||
电导度: string;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
export interface IExecuteOrderParams {
|
||||
recordCode: string;
|
||||
orderCode: string;
|
||||
orderExecuteUser: string;
|
||||
orderExecuteTime: string;
|
||||
orderExecuteCheckUser: string;
|
||||
}
|
||||
|
||||
|
||||
export interface AddDrugOrdersFromTemplateParams {
|
||||
recordCode: string;
|
||||
drugOrders: string;
|
||||
startDate: string;
|
||||
}
|
||||
99
src/api/dialysisRecords/signIn.ts
Normal file
99
src/api/dialysisRecords/signIn.ts
Normal file
@@ -0,0 +1,99 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { IGetStatDataInfoParams, IStatDataInfo } from './types/signln.type';
|
||||
|
||||
//溶栓
|
||||
export function thrombolysis(recordCode: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/startTslProcess',
|
||||
method: 'post',
|
||||
params: {
|
||||
recordCode: recordCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
//停止溶栓
|
||||
export function stopTslProcess(recordCode: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/stopTslProcess',
|
||||
method: 'post',
|
||||
params: {
|
||||
recordCode: recordCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
//取消溶栓
|
||||
export function cancelTslProcess(recordCode: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/cancelTslProcess',
|
||||
method: 'post',
|
||||
params: {
|
||||
recordCode: recordCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
// 添加透前
|
||||
export function addPreSignIn(data: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/add',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 添加透后
|
||||
export function addAfterSignIn(data: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/add',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 修改透前
|
||||
export function updatePreSignIn(data: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/pre/update',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 修改透后
|
||||
export function updateAfterSignIn(data: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/body/state/after/update',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
// 患者信息回显
|
||||
export function getPatientContent(recordCode: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/getMedBodyStateInfo',
|
||||
method: 'post',
|
||||
params: {
|
||||
recordCode: recordCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 修改签到状态
|
||||
export function updateRecord(data: object) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/update',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取排班列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getSchedule(params: IGetStatDataInfoParams): AxiosPromise<IStatDataInfo[]> {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/getStatDataInfo',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
17
src/api/dialysisRecords/types/signln.type.ts
Normal file
17
src/api/dialysisRecords/types/signln.type.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export interface IGetStatDataInfoParams {
|
||||
clientCode: string;
|
||||
date: string;
|
||||
}
|
||||
|
||||
export interface IStatDataInfo {
|
||||
afterCheckCount: number;
|
||||
date: string;
|
||||
inMedStateCount: number;
|
||||
outPatientCount: number;
|
||||
patientCount: number;
|
||||
recordCount: number;
|
||||
scheduleCount: number;
|
||||
signedCount: number;
|
||||
timeSlot: number;
|
||||
weightCount: number;
|
||||
}
|
||||
40
src/api/dict/Scheme.ts
Normal file
40
src/api/dict/Scheme.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
|
||||
export function listSchemes(params: string) {
|
||||
return request({
|
||||
url: '/hemo/med/scheme/listSchemes',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function updateMedScheme(params: string) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/updateMedScheme',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function getScheme(params: string) {
|
||||
return request({
|
||||
url: '/hemo/med/scheme/getScheme',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function save(params: string) {
|
||||
return request({
|
||||
url: '/hemo/med/scheme/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
174
src/api/dict/index.ts
Normal file
174
src/api/dict/index.ts
Normal file
@@ -0,0 +1,174 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ICustomDict, IDict } from './types/index.type';
|
||||
|
||||
|
||||
export function listDictType() {
|
||||
return request({
|
||||
url: '/dict/base/info/listDictTypes',
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
export function saveDictTypes(params:object) {
|
||||
return request({
|
||||
url: '/dict/base/info/saveDictTypes',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function saveCustDictTypes(params:object) {
|
||||
return request({
|
||||
url: '/dict/custom/info/saveDictTypes',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listDictValuesByType(params: string): AxiosPromise<IDict[]> {
|
||||
return request({
|
||||
url: 'dict/base/info/listDictValuesByType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
|
||||
export function getDictType(params: Object) {
|
||||
return request({
|
||||
url: '/dict/base/info/listDictValuesByType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
})
|
||||
}
|
||||
export function listDictValuesByType2(params: string): AxiosPromise<IDict[]> {
|
||||
return request({
|
||||
url: 'dict/base/info/listDictValuesByType2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
|
||||
/** 获取自定义字典 */
|
||||
export function listCustomDictValuesByType(params: string): AxiosPromise<ICustomDict[]> {
|
||||
return request({
|
||||
url: '/dict/custom/info/listCustomDictValuesByType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
// 根据字典类型取得所有字典项
|
||||
export function getListByTypeList(dictType: string) {
|
||||
return request({
|
||||
url: '/dict/base/info/listDictValuesByType',
|
||||
method: 'post',
|
||||
params: {
|
||||
dictType: dictType
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
export function listCustomDictTypes() {
|
||||
return request({
|
||||
url: 'dict/custom/info/listCustomDictTypes',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
// 药物字典查询
|
||||
export function getDrupDicList(params:object) {
|
||||
return request({
|
||||
url: '/drug/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 新增药物字典
|
||||
export function addDrugDict(data:object) {
|
||||
return request({
|
||||
url: '/drug/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 修改药物字典
|
||||
export function updateDrugDict(data:object) {
|
||||
return request({
|
||||
url: '/drug/info/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除药品字典
|
||||
export function deleteDrugDict(id:number) {
|
||||
return request({
|
||||
url: '/drug/info/delete',
|
||||
method: 'post',
|
||||
params: {
|
||||
id
|
||||
}
|
||||
})
|
||||
}
|
||||
// 根据客户列出药物字典
|
||||
export function getDrugDictOfClient (clientCode: string,drugName:string) {
|
||||
return request({
|
||||
url: '/drug/info/listDrugsByClient',
|
||||
method: 'post',
|
||||
params: {
|
||||
clientCode,
|
||||
drugName
|
||||
}
|
||||
})
|
||||
}
|
||||
export function getsuntopItemList (params) {
|
||||
return request({
|
||||
url: '/data/global/item/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function getCleanList(params: Object) {
|
||||
return request({
|
||||
url: '/device/clean/type/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
})
|
||||
}
|
||||
// 删除药品字典
|
||||
export function deleteCleanDict(id:number) {
|
||||
return request({
|
||||
url: '/device/clean/type/delete',
|
||||
method: 'post',
|
||||
params: {
|
||||
id
|
||||
}
|
||||
})
|
||||
}
|
||||
export function addCleanDict(data:object){
|
||||
return request({
|
||||
url: '/device/clean/type/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function updateCleanDict(data: object) {
|
||||
return request({
|
||||
url: '/device/clean/type/update',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
37
src/api/dict/types/index.type.ts
Normal file
37
src/api/dict/types/index.type.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
export interface ICustomDict {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string | null;
|
||||
createUser: null | number;
|
||||
deletedTime: null | string;
|
||||
dictIsEnable: number;
|
||||
dictNo: string;
|
||||
dictSortOrder: number;
|
||||
dictText: string;
|
||||
dictType: string;
|
||||
hisCode: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
updateTime: string | null;
|
||||
updateUser: null | number;
|
||||
}
|
||||
|
||||
export interface IDict {
|
||||
code: string;
|
||||
createTime: string | null;
|
||||
createUser: number | null;
|
||||
deletedTime: null | string;
|
||||
dictIsCustom: number;
|
||||
dictIsEnable: number;
|
||||
dictNo: string;
|
||||
dictText: string;
|
||||
dictType: string;
|
||||
hisCode: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
sortOrder: number;
|
||||
updateTime: string | null;
|
||||
updateUser: null | number;
|
||||
}
|
||||
106
src/api/dict_diagnose/index.ts
Normal file
106
src/api/dict_diagnose/index.ts
Normal file
@@ -0,0 +1,106 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
|
||||
export function listDiagnoseTypes() {
|
||||
return request({
|
||||
url: '/dict/diagnose/info/listDiagnoseTypes',
|
||||
method: 'post',
|
||||
});
|
||||
}
|
||||
export function Add(data:object){
|
||||
return request({
|
||||
url: '/dict/diagnose/info/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/dict/diagnose/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/dict/diagnose/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function detail2(params: string) {
|
||||
return request({
|
||||
url: '/dict/diagnose/info/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function addList(data:object){
|
||||
return request({
|
||||
url: '/patient/diagnose/history/addList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function updateList(data:object){
|
||||
return request({
|
||||
url: '/patient/diagnose/history/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function listDiagnoses(params: string){
|
||||
return request({
|
||||
url: '/patient/diagnose/history/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function deletePId(params: string) {
|
||||
return request({
|
||||
url: '/patient/diagnose/history/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者诊断
|
||||
* @param params
|
||||
* @param string
|
||||
* @param patientCode
|
||||
* @returns
|
||||
*/
|
||||
export function getDiagnoseByPatientCode(params: { patientCode: string }): AxiosPromise<string[]> {
|
||||
return request({
|
||||
url: '/patient/diagnose/history/getDiagnoseByPatientCode',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function findByQueryCode(params:object) {
|
||||
return request({
|
||||
url: '/his/diagnose/sync/findByQueryCode',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
37
src/api/dict_his_mapper_controller/index.ts
Normal file
37
src/api/dict_his_mapper_controller/index.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
import request from '/@/utils/request';
|
||||
import { IHisQuery, Ihis } from "./type";
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取当前分类下所有的HIS对照API:
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiGetHisData(data: IHisQuery) {
|
||||
return request({
|
||||
url: "/dict/his/mapper/listMappers",
|
||||
method: "post",
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
data
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 保存对照
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiSaveHis(data: Ihis) {
|
||||
return request({
|
||||
url: "/dict/his/mapper/save",
|
||||
method: "post",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
data
|
||||
});
|
||||
};
|
||||
24
src/api/dict_his_mapper_controller/type.ts
Normal file
24
src/api/dict_his_mapper_controller/type.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export interface IHisQuery {
|
||||
clientCode: string; // 客户编号
|
||||
dictType: string; // 字典类型, 例如给药途径就是gytj
|
||||
};
|
||||
|
||||
|
||||
type TTime = Date | string | null;
|
||||
|
||||
|
||||
export interface Ihis {
|
||||
clientCode: string, // 客户编号
|
||||
code: string, // code
|
||||
createTime: TTime, // 创建日期
|
||||
createUser: number, // 创建人
|
||||
deletedTime: TTime, // 删除日期
|
||||
hisDictName: string, // his的名字
|
||||
id: number,
|
||||
isDeleted: number, // 是否删除
|
||||
remark: string, // 备注
|
||||
systemDictName: string, // 系统的名字
|
||||
systemDictType: string, // 系统中的字典类型
|
||||
updateTime: TTime, // 更新时间
|
||||
updateUser: number // 更新人
|
||||
}
|
||||
35
src/api/disease_course_template/index.ts
Normal file
35
src/api/disease_course_template/index.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function addDiseaseTemplate(data: object) {
|
||||
return request({
|
||||
url: '/med/progress/template/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function getTemplateList(data: object) {
|
||||
data.ordercondition='sort_order'
|
||||
return request({
|
||||
url: '/med/progress/template/list',
|
||||
method: 'post',
|
||||
params:data
|
||||
})
|
||||
}
|
||||
// 编辑医嘱
|
||||
export function updateTemplate(data: object) {
|
||||
return request({
|
||||
url: '/med/progress/template/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除模板名称
|
||||
export function deleteTemplate(id: number) {
|
||||
return request({
|
||||
url: '/med/progress/template/delete',
|
||||
method: 'post',
|
||||
params: {
|
||||
id
|
||||
}
|
||||
})
|
||||
}
|
||||
63
src/api/doc/doc_patient_template.ts
Normal file
63
src/api/doc/doc_patient_template.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: Object) {
|
||||
return request({
|
||||
url: '/doc/patient/template/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/doc/patient/template/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/doc/patient/template/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/doc/patient/template/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function getpatient_signed_doc(params: Object) {
|
||||
return request({
|
||||
url: '/patient/signed/doc/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function patient_signed_doc_add(params: Object) {
|
||||
return request({
|
||||
url: '/patient/signed/doc/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteSigned(params: string) {
|
||||
return request({
|
||||
url: '/patient/signed/doc/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
36
src/api/doc/doc_template.ts
Normal file
36
src/api/doc/doc_template.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/doc/template/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/doc/template/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/doc/template/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/doc/template/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
121
src/api/drug_order_operation_record/index.ts
Normal file
121
src/api/drug_order_operation_record/index.ts
Normal file
@@ -0,0 +1,121 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { AxiosPromise } from 'axios';
|
||||
import type { IDrugOrderOperationRecord, IDrugOrderOperationRecordList, IDrugOrderOperationRecordParams } from './types/index.type';
|
||||
|
||||
/**
|
||||
* 新增长期医嘱修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordAddApi(data: Partial<IDrugOrderOperationRecord>) {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量新增长期医嘱修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordAddListApi(data: Partial<IDrugOrderOperationRecord>[]) {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/addList',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除长期医嘱修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordDelApi(id: number) {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/delete',
|
||||
method: 'post',
|
||||
data: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除长期医嘱修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordDelAllApi(ids: string) {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/deleteAll',
|
||||
method: 'post',
|
||||
data: { ids }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id获取长期医嘱修改记录详情
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordDetailByIdApi(id: number) :AxiosPromise<IDrugOrderOperationRecord> {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/dateil',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code获取长期医嘱修改记录详情
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordDetailByCodeApi(code: string) :AxiosPromise<IDrugOrderOperationRecord> {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/dateil2',
|
||||
method: 'post',
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取长期医嘱修改记录列表
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordListApi(params: IDrugOrderOperationRecordParams): AxiosPromise<IDrugOrderOperationRecordList> {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/list',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存长期医嘱修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordSaveApi(data: Partial<IDrugOrderOperationRecord>) {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/save',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新长期医嘱修改记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugOrderOperationRecordUpdateApi(data: Partial<IDrugOrderOperationRecord>) {
|
||||
return request({
|
||||
url: '/drug/order/operation/record/update',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
}
|
||||
48
src/api/drug_order_operation_record/types/index.type.ts
Normal file
48
src/api/drug_order_operation_record/types/index.type.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
export enum EDrugOrderAdjustType {
|
||||
开始时间 = 0,
|
||||
开单医生 = 1,
|
||||
医嘱名称 = 2,
|
||||
单次用量 = 3,
|
||||
开药数量 = 4,
|
||||
给药途径 = 5,
|
||||
执行频率 = 6,
|
||||
备注 = 7,
|
||||
是否使用 = 8, // 1使用0停用
|
||||
是否删除 = 9, // 1是
|
||||
}
|
||||
|
||||
export interface IDrugOrderOperationRecord {
|
||||
adjusUser: string;
|
||||
adjusUserName: string;
|
||||
adjustTime: string;
|
||||
adjustType: 0;
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number | null;
|
||||
deletedTime: string;
|
||||
drugOrderCode: string;
|
||||
drugOrderName: string;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
newValue: string;
|
||||
oldValue: string;
|
||||
patientCode: string;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: number | null;
|
||||
}
|
||||
|
||||
|
||||
export interface IDrugOrderOperationRecordList {
|
||||
list: IDrugOrderOperationRecord[];
|
||||
total: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface IDrugOrderOperationRecordParams {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
114
src/api/fee/drug_templete.ts
Normal file
114
src/api/fee/drug_templete.ts
Normal file
@@ -0,0 +1,114 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { IDrugTemplate, IDrugTemplateListRes, IDrugTemplateGetDurgDescsParams } from './types';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
|
||||
|
||||
/**
|
||||
* 新增处置模板
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateAddApi(data: IDrugTemplate) {
|
||||
return request({
|
||||
url: 'drug/template/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新处置模板
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateUpdateApi(data: IDrugTemplate) {
|
||||
return request({
|
||||
url: 'drug/template/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存处置模板
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateSaveApi(data: IDrugTemplate) {
|
||||
return request({
|
||||
url: 'drug/template/save',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code获取处置模板详情
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateDetailByCodeApi(code: string) {
|
||||
return request({
|
||||
url: 'drug/template/detail2',
|
||||
method: 'post',
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据id获取处置模板详情
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateDetailByIdApi(id: number) {
|
||||
return request({
|
||||
url: 'drug/template/detail',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处置模板列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateListApi(params: ICommonListParams) :AxiosPromise<IDrugTemplateListRes> {
|
||||
return request({
|
||||
url: 'drug/template/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除处置模板
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateDelApi(id: number) {
|
||||
return request({
|
||||
url: 'drug/template/delete',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取患者指定日期默认处置
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function drugTemplateGetDurgDescsApi(params: IDrugTemplateGetDurgDescsParams) :AxiosPromise<string> {
|
||||
return request({
|
||||
url: 'drug/template/getDurgDescs',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
39
src/api/fee/group.ts
Normal file
39
src/api/fee/group.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
28
src/api/fee/his_pharmacy.ts
Normal file
28
src/api/fee/his_pharmacy.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { ISaveDefaultHisPharmacistParams } from './types';
|
||||
|
||||
/**
|
||||
* 设置默认医师
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function saveDefaultHisPharmacistApi(params: ISaveDefaultHisPharmacistParams) {
|
||||
return request({
|
||||
url: '/his/pharmacy/saveDefaultHisPharmacist',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取默认医师
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getDefaultHisPharmacistApi(params: { clientCode: string; }) {
|
||||
return request({
|
||||
url: '/his/pharmacy/loadDefaultPharmacist',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
265
src/api/fee/index.ts
Normal file
265
src/api/fee/index.ts
Normal file
@@ -0,0 +1,265 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ListHistoryApiParams, BillInfoListReceipts1Params, BillInfoListReceipts23Params, IGetConsumeInfoParams, IGetConsumeInfo, IPatientSelfInspectionParams } from './types';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function getOutputInfoList(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/info/getOutputInfoList',
|
||||
method: 'post',
|
||||
responseType: "blob",
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/fee/service/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listDrugs2(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listDrugs2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listStuffs(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listStuffs',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function reBuildPatientBill(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/info/reBuildPatientBill',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function listItems(params: object) {
|
||||
return request({
|
||||
url: '/fee/service/group/detail/info/listItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取门诊记录数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listHistoryApi(params: ListHistoryApiParams) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listHistory',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取处方详情
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function PrescriptionDetailsApi(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listHistoryDetails',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询药与注射液的处方明细(收费清单打印用的)
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function billInfoListReceipts1Api(params: BillInfoListReceipts1Params) {
|
||||
return request({
|
||||
url: '/patient/bill/info/listReceipts1',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据处方编号,查询治疗项目(收费清单打印用的)
|
||||
* @param patientCode
|
||||
* @returns
|
||||
*/
|
||||
export function billInfoListReceipts2Api(params: BillInfoListReceipts23Params) {
|
||||
return request({
|
||||
url: '/patient/bill/info/listReceipts2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据处方编号,查询检验项目(收费清单打印用的)
|
||||
* @param patientCode
|
||||
* @returns
|
||||
*/
|
||||
export function billInfoListReceipts3Api(params: BillInfoListReceipts23Params) {
|
||||
return request({
|
||||
url: '/patient/bill/info/listReceipts3',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 剩余库存低于库存预警值
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function listHisKcjcApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listHisKcjc',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { clientCode }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 有效期低于预警天数
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function listHisyxqjcApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listHisyxqjc',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { clientCode }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 患者复诊记录自查api
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function patientSelfInspectionApi(params: IPatientSelfInspectionParams) {
|
||||
return request({
|
||||
url: '/revisit/record/patientSelfInspection',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 取消处方同步
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function cancelSyncFeeApi(id: number) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/cancelSync',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者当月费用情况
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getConsumeInfoApi(params: IGetConsumeInfoParams): AxiosPromise<IGetConsumeInfo> {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/getConsumeInfo',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 患者复诊记录自查api
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
// export function patientSelfInspectionApi(params: IPatientSelfInspectionParams) {
|
||||
// return request({
|
||||
// url: '/revisit/record/patientSelfInspection',
|
||||
// method: 'post',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/x-www-form-urlencoded'
|
||||
// },
|
||||
// params
|
||||
// })
|
||||
// }
|
||||
58
src/api/fee/revisit_record.ts
Normal file
58
src/api/fee/revisit_record.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { IRevisitrecordSave, IRevisitrecordListRes, IRevisitrecord } from './types';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
|
||||
|
||||
/**
|
||||
* 保存复诊记录
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordSaveApi(data: IRevisitrecordSave) {
|
||||
return request({
|
||||
url: '/revisit/record/save',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取复诊记录列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordListApi(params: ICommonListParams) :AxiosPromise<IRevisitrecordListRes> {
|
||||
return request({
|
||||
url: '/revisit/record/list',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除复诊记录
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordDelApi(id: number) {
|
||||
return request({
|
||||
url: '/revisit/record/delete',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据code获取复诊记录详情
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordDetailByCodeApi(code: string) :AxiosPromise<IRevisitrecord> {
|
||||
return request({
|
||||
url: '/revisit/record/detail2',
|
||||
method: 'post',
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
58
src/api/fee/revisit_record_template.ts
Normal file
58
src/api/fee/revisit_record_template.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { IRevisitrRecordTemp, IRevisitrRecordTempListRes } from './types';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
|
||||
|
||||
/**
|
||||
* 保存病情描述模板
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordTempSaveApi(data: IRevisitrRecordTemp) {
|
||||
return request({
|
||||
url: '/revisit/record/template/save',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取病情描述模板列表
|
||||
* @param parmas
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordTempListApi(params: ICommonListParams): AxiosPromise<IRevisitrRecordTempListRes> {
|
||||
return request({
|
||||
url: '/revisit/record/template/list',
|
||||
method: 'post',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除病情描述模板
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordTempDelApi(id: number) {
|
||||
return request({
|
||||
url: '/revisit/record/template/delete',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据code获取病情描述模板详情
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function revisitrRecordTempDetailByCodeApi(code: string) :AxiosPromise<IRevisitrRecordTemp> {
|
||||
return request({
|
||||
url: '/revisit/record/template/detail2',
|
||||
method: 'post',
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
200
src/api/fee/types.ts
Normal file
200
src/api/fee/types.ts
Normal file
@@ -0,0 +1,200 @@
|
||||
import type { IComminList } from '../common.type';
|
||||
import type { IPatientInfo } from '../HemodiPatients/types';
|
||||
export interface ListHistoryApiParams {
|
||||
clientCode: string;
|
||||
patQueryValue: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
page: number;
|
||||
size: number;
|
||||
}
|
||||
|
||||
export interface BillInfoListReceipts1Params {
|
||||
patientCode: string;
|
||||
date: string;
|
||||
drugType: 0 | 1;
|
||||
}
|
||||
|
||||
export interface BillInfoListReceipts23Params {
|
||||
patientCode: string;
|
||||
date: string;
|
||||
}
|
||||
|
||||
export interface ISaveDefaultHisPharmacistParams {
|
||||
clientCode: string;
|
||||
pharmacist: string;
|
||||
}
|
||||
|
||||
// export interface IRevisitrecord {
|
||||
// id: number;
|
||||
// code: string;
|
||||
// clientCode: string;
|
||||
// patientCode: string;
|
||||
// diagnosisTime: string | Date;
|
||||
// diagnosticDoctor: string;
|
||||
// diseaseDescription: string;
|
||||
// disposeOf: string;
|
||||
// clinicDiagnosis: string;
|
||||
// createTime: string | null;
|
||||
// createUser: number | null,
|
||||
// deletedTime: string | null;
|
||||
// isDeleted: number;
|
||||
// remark: string;
|
||||
// updateTime: string | null
|
||||
// updateUser: number | null;
|
||||
// patientInfo: IPatientInfo;
|
||||
// }
|
||||
|
||||
export interface IGetConsumeInfoParams {
|
||||
date1: string;
|
||||
date2: string;
|
||||
patCode: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IGetConsumeInfo {
|
||||
patName: string;
|
||||
patCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
detailInfos: IGetConsumeInfoDeatil[];
|
||||
// 当月总费用: number | null;
|
||||
// 当月药物费用: number | null;
|
||||
// 当月限制用药费用: number | null;
|
||||
}
|
||||
|
||||
export interface IGetConsumeInfoDeatil {
|
||||
当月总费用: number;
|
||||
当月药物费用: number;
|
||||
当月限制用药费用: number;
|
||||
报销方式名称: string;
|
||||
报销方式编号: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IRevisitrecord {
|
||||
id: number;
|
||||
code: string;
|
||||
clientCode: string;
|
||||
patientCode: string;
|
||||
diagnosisTime: string | Date;
|
||||
diagnosticDoctor: string;
|
||||
diseaseDescription: string;
|
||||
disposeOf: string;
|
||||
clinicDiagnosis: string;
|
||||
createTime: string | null;
|
||||
createUser: number | null,
|
||||
deletedTime: string | null;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
updateTime: string | null
|
||||
updateUser: number | null;
|
||||
patientInfo: IPatientInfo;
|
||||
}
|
||||
|
||||
|
||||
export interface IRevisitrecordSave extends Omit<IRevisitrecord, 'patientInfo' | 'updateUser' | 'updateTime' | 'remark' | 'isDeleted' | 'deletedTime' | 'createUser' | 'createTime'> {
|
||||
createTime?: string | null;
|
||||
createUser?: number | null,
|
||||
deletedTime?: string | null;
|
||||
isDeleted?: number;
|
||||
remark?: string;
|
||||
updateTime?: string | null
|
||||
updateUser?: number | null;
|
||||
patientInfo?: IPatientInfo;
|
||||
}
|
||||
|
||||
|
||||
export interface IRevisitrecordListRes extends Omit<IComminList, 'list'> {
|
||||
list: IRevisitrecord[];
|
||||
}
|
||||
|
||||
|
||||
export interface IRevisitrRecordTemp {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string | null;
|
||||
createUser: number | null,
|
||||
deletedTime: string | null;
|
||||
id: number,
|
||||
isDeleted: number,
|
||||
remark: string,
|
||||
sortOrder: number,
|
||||
templateBody: string;
|
||||
patientCode: string;
|
||||
updateTime: string | null;
|
||||
updateUser: number | null;
|
||||
}
|
||||
|
||||
export interface IRevisitrRecordTempListRes extends Omit<IComminList, 'list'> {
|
||||
list: IRevisitrRecordTemp[];
|
||||
}
|
||||
|
||||
|
||||
|
||||
export interface IDrugTemplate {
|
||||
id: number;
|
||||
code: string
|
||||
clientCode: string;
|
||||
drugCode: string;
|
||||
drugName: string;
|
||||
remark: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
updateTime: string;
|
||||
updateUser: number;
|
||||
isDeleted: number;
|
||||
deletedTime: string;
|
||||
sortOrder: number;
|
||||
drugBody: string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
export interface IDrugTemplateListRes extends Omit<IComminList, 'list'> {
|
||||
list: IDrugTemplate[];
|
||||
}
|
||||
|
||||
|
||||
|
||||
export interface IDrugTemplateGetDurgDescsParams {
|
||||
patientCode: string;
|
||||
queryDate: string;
|
||||
}
|
||||
|
||||
export interface IGetConsumeInfoParams {
|
||||
date1: string;
|
||||
date2: string;
|
||||
patCode: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IGetConsumeInfo {
|
||||
patName: string;
|
||||
patCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
detailInfos: IGetConsumeInfoDeatil[];
|
||||
// 当月总费用: number | null;
|
||||
// 当月药物费用: number | null;
|
||||
// 当月限制用药费用: number | null;
|
||||
}
|
||||
|
||||
export interface IGetConsumeInfoDeatil {
|
||||
当月总费用: number;
|
||||
当月药物费用: number;
|
||||
当月限制用药费用: number;
|
||||
报销方式名称: string;
|
||||
报销方式编号: string;
|
||||
当月医保限额上限: number;
|
||||
}
|
||||
|
||||
|
||||
|
||||
export interface IPatientSelfInspectionParams {
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
clientCode: string;
|
||||
timeSlot: string; // 0上午、1下午、2晚上、-1全部
|
||||
patQueryValue: string; // 患者模糊查询编号(拼音、名称、患者Code)
|
||||
}
|
||||
39
src/api/fee_yibao_limit_config/index.ts
Normal file
39
src/api/fee_yibao_limit_config/index.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/fee/yibao/limit/config/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/fee/yibao/limit/config/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/fee/yibao/limit/config/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/fee/yibao/limit/config/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
38
src/api/health_education/index.ts
Normal file
38
src/api/health_education/index.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ICommonListParams } from '../common.type';
|
||||
import type { IMedEducateTempList } from './types/index.type';
|
||||
|
||||
export function addHealthTemplate(data: object) {
|
||||
return request({
|
||||
url: '/med/educate/template/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function getHealthTemplateList(data: ICommonListParams): AxiosPromise<IMedEducateTempList> {
|
||||
data.ordercondition='sort_order'
|
||||
return request({
|
||||
url: '/med/educate/template/list',
|
||||
method: 'post',
|
||||
params:data
|
||||
})
|
||||
}
|
||||
// 编辑医嘱
|
||||
export function updateHealthTemplate(data: object) {
|
||||
return request({
|
||||
url: '/med/educate/template/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 删除模板名称
|
||||
export function deleteHealthTemplate(id: number) {
|
||||
return request({
|
||||
url: '/med/educate/template/delete',
|
||||
method: 'post',
|
||||
params: {
|
||||
id
|
||||
}
|
||||
})
|
||||
}
|
||||
22
src/api/health_education/types/index.type.ts
Normal file
22
src/api/health_education/types/index.type.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { IComminList } from '../../common.type';
|
||||
|
||||
export interface IMedEducateTemp {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
deletedTime: any;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
ptBody: string;
|
||||
ptName: string;
|
||||
remark: string;
|
||||
sortOrder: number;
|
||||
updateTime: string;
|
||||
updateUser: number;
|
||||
}
|
||||
|
||||
|
||||
export interface IMedEducateTempList extends Omit<IComminList, 'list'> {
|
||||
list: IMedEducateTemp[];
|
||||
}
|
||||
48
src/api/hemo_med_scheme/index.ts
Normal file
48
src/api/hemo_med_scheme/index.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { IListPatsParams, IListPats } from './types/index.type';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
|
||||
export function getScheme(params: string) {
|
||||
return request({
|
||||
url: '/hemo/med/scheme/getScheme',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listSchemes(params: string) {
|
||||
return request({
|
||||
url: '/hemo/med/scheme/listSchemes',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function save(data:object){
|
||||
return request({
|
||||
url: '/hemo/med/scheme/save',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取排班表患者的API:
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function listPatsApi(params: IListPatsParams) :AxiosPromise<IListPats[]> {
|
||||
return request({
|
||||
url: '/hemo/med/schedule/listPats',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
17
src/api/hemo_med_scheme/types/index.type.ts
Normal file
17
src/api/hemo_med_scheme/types/index.type.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export interface IListPatsParams {
|
||||
clientCode: string; // 客户编号
|
||||
deviceGroups: string; // 设备分区编号列表(以逗号分割)
|
||||
year: string; // 年份(不填则默认当年)
|
||||
weekNo: string; // 周数 (不填则默认当周)
|
||||
dayList: string; // 周一至周日列表(不填则默认周一到周日, 以逗号分割)
|
||||
timeSlots: string; // 时段列表(以逗号分割, 不填则查询全天, 0,1,2)
|
||||
}
|
||||
|
||||
export interface IListPats {
|
||||
分区名称: string;
|
||||
床号: string;
|
||||
患者姓名: string;
|
||||
患者编号: string;
|
||||
排班日期: string;
|
||||
时段: number;
|
||||
}
|
||||
33
src/api/inventory/agent.ts
Normal file
33
src/api/inventory/agent.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/inventory/agent/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/inventory/agent/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/inventory/agent/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/inventory/agent/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
33
src/api/inventory/factory.ts
Normal file
33
src/api/inventory/factory.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/inventory/factory/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/inventory/factory/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/inventory/factory/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/inventory/factory/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
176
src/api/inventory/inventory2.ts
Normal file
176
src/api/inventory/inventory2.ts
Normal file
@@ -0,0 +1,176 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { DiffDetails, GetDiffDetailsParams, ListOperate2DetailsParams, ListInandOutDetailsParams, ListInandOutDetailsReponse, ListReadyRowsParams, ListOutStockGroupByPatOrItemParams } from './types';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/inventory2/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/inventory2/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/inventory2/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listWithItem(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/operate/listWithItem',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
export function listWithStorageSum2(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listWithStorageSum2',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listWithStorageSum(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listWithStorageSum',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function save(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/operate/save',
|
||||
method: 'post',
|
||||
data:params,
|
||||
});
|
||||
}
|
||||
export function listItems(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/check/listItems',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
export function checkSave(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/check/batchSave',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
export function checkList(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/check/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listWithOperateType(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/operate/listWithOperateType',
|
||||
method: 'post',
|
||||
data:params,
|
||||
});
|
||||
}
|
||||
export function listRefundRows(params: object) {
|
||||
return request({
|
||||
url: '/inventory2/operate/listRefundRows',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取进销存数据列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listInandOutDetailsApi(params: ListInandOutDetailsParams) :AxiosPromise<ListInandOutDetailsReponse> {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listInandOutDetails',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 患者透析耗材api
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listReadyRowsApi(data: ListReadyRowsParams) {
|
||||
return request({
|
||||
url: '/patient/hemo/med/record/listReadyRows',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 透析耗材统计
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listOutStockGroupByPatOrItemApi(params: ListOutStockGroupByPatOrItemParams) {
|
||||
return request({
|
||||
url: '/inventory2/operate/listOutStockGroupByPatOrItem',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 显示库存操作明细列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listOperate2DetailsApi(params: ListOperate2DetailsParams) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listOperate2Details',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取亏盈详情
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function getDiffDetailsApi(params: GetDiffDetailsParams) :AxiosPromise<{ list: DiffDetails[], total: number; [key: string]: any;}> {
|
||||
return request({
|
||||
url: '/inventory2/check/getDiffDetails',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
193
src/api/inventory/itemDict.ts
Normal file
193
src/api/inventory/itemDict.ts
Normal file
@@ -0,0 +1,193 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { IInventoryListByTypesParams, ListNearExpireItemsParams, ListNearExpireItemsReponse, IInventoryItemUpdateManufacturerDealerDictParams } from './types';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listKnj(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listKnj',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function listItemWithSum(params: object) {
|
||||
return request({
|
||||
url: '/inventory/check/listItemWithSum',
|
||||
method: 'post',
|
||||
data:params
|
||||
})
|
||||
}
|
||||
export function listNames(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listNames',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取过期检测数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listNearExpireItemsApi(params: ListNearExpireItemsParams): AxiosPromise<ListNearExpireItemsReponse> {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listNearExpireItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取库存监测数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listInventoryMonitoringApi(params: ListNearExpireItemsParams) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listNearOutStockItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 厂商经销商字典手动快速录入
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryItemUpdateManufacturerDealerDictApi(params: IInventoryItemUpdateManufacturerDealerDictParams) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/updateManufacturerDealerDict',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取库存字典
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryListByTypesApi(params: IInventoryListByTypesParams) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listByTypes',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获自备药字典
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listByItemName(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listByItemName',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获自自备药列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listPage(params: object) {
|
||||
return request({
|
||||
url: '/patient/inventory/item/detail/info/listPage',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function patientAdd(params: object) {
|
||||
return request({
|
||||
url: '/patient/inventory/item/detail/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function patientUpdate(params: object) {
|
||||
return request({
|
||||
url: '/patient/inventory/item/detail/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function patientDeleteId(params: string) {
|
||||
return request({
|
||||
url: '/patient/inventory/item/detail/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function listUpdateLog(params: object) {
|
||||
return request({
|
||||
url: '/patient/inventory/item/detail/info/listUpdateLog',
|
||||
method: 'post',
|
||||
params:params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询药品及收费项目接口
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function queryDrugAndFeeTeamsApi(params: { page: number; size: number; clientCode: string; queryCondition?: string }) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/queryDrugAndFeeTeams',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
155
src/api/inventory/operate.ts
Normal file
155
src/api/inventory/operate.ts
Normal file
@@ -0,0 +1,155 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { IInventoryCheckQueryParams } from './types';
|
||||
|
||||
// 添加
|
||||
export function addInventoryOperate(params: object) {
|
||||
return request({
|
||||
url: '/inventory/operate/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 详情
|
||||
export function getInventoryDetail(id: string) {
|
||||
return request({
|
||||
url: '/inventory/operate/item/detail/detail',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
export function listDetails(code: string) {
|
||||
return request({
|
||||
url: '/inventory/operate/listDetails',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
code
|
||||
}
|
||||
});
|
||||
}
|
||||
// 出入库查询记录
|
||||
export function getInventoryList(params: object) {
|
||||
return request({
|
||||
url: '/inventory/operate/item/detail/queryList',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 出入库明细查询
|
||||
export function getInventoryDetailList(params: object) {
|
||||
return request({
|
||||
url: '/inventory/operate/item/detail/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 退货
|
||||
export function back(params: string) {
|
||||
return request({
|
||||
url: '/inventory/operate/save',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
// 列表
|
||||
export function getInventory(params: object) {
|
||||
return request({
|
||||
url: '/inventory/operate/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 列表
|
||||
export function getInventoryNew(params: object) {
|
||||
return request({
|
||||
url: '/inventory/operate/queryInventoryOperate',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
export function listOperates(params: object) {
|
||||
return request({
|
||||
url: '/inventory/operate/listOperates',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 根据规格名称获取库存数量
|
||||
export function getInventoryCount(code: string, clientCode:string) {
|
||||
return request({
|
||||
url: '/inventory/operate/getItemCountInStorage',
|
||||
method: 'post',
|
||||
params: {
|
||||
inventoryItemDetailCode: code,
|
||||
clientCode: clientCode
|
||||
}
|
||||
})
|
||||
}
|
||||
// 根据规格名称出库退库获取库存数量
|
||||
export function listLots(code: string, clientCode:string) {
|
||||
return request({
|
||||
url: '/inventory/operate/listLots',
|
||||
method: 'post',
|
||||
params: {
|
||||
itemCode: code,
|
||||
clientCode: clientCode
|
||||
}
|
||||
})
|
||||
}
|
||||
// 添加库存盘点
|
||||
export function addInventoryCheck(params:object) {
|
||||
return request({
|
||||
url: '/inventory/check/add',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
// 盘点记录列表
|
||||
export function getInventoryCheckList(params: object) {
|
||||
return request({
|
||||
url: '/inventory/check/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 库存列表
|
||||
export function getInventoryStorageList(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/listWithStorageSum',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
// 添加库存盘点
|
||||
export function batchSave(params:object) {
|
||||
return request({
|
||||
url: '/inventory/check/batchSave',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 一级记录2
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryCheckQueryApi(params: IInventoryCheckQueryParams) {
|
||||
return request({
|
||||
url: '/inventory/check/inventoryCheckQuery',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
69
src/api/inventory/typeDict.ts
Normal file
69
src/api/inventory/typeDict.ts
Normal file
@@ -0,0 +1,69 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ItemType, ICopyFromParams } from './types';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/type/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/type/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/inventory/item/type/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object): AxiosPromise<{ list: ItemType[] }> {
|
||||
return request({
|
||||
url: '/inventory/item/type/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新库存字典类型显示状态
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function updateShowStateApi(params: { clientCode: string; typeCode: string; showState: 0 | 1}) {
|
||||
return request({
|
||||
url: '/inventory/item/type/info/updateShowState',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 从其它医院导入物品至新医院
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function copyFromApi(params: ICopyFromParams) {
|
||||
return request({
|
||||
url: '/inventory/item/detail/info/copyFrom',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
175
src/api/inventory/types.ts
Normal file
175
src/api/inventory/types.ts
Normal file
@@ -0,0 +1,175 @@
|
||||
export interface ListNearExpireItemsParams {
|
||||
clientCode: string; // 客户编号
|
||||
isContainsStuff: 0 | 1; // 是否包含耗材 , 默认0
|
||||
itemTypeCode: string; // 库存分类类型编号
|
||||
itemName: string; // 物品名称(可模糊查询)
|
||||
page: number;
|
||||
size: number;
|
||||
}
|
||||
|
||||
export interface ItemType {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: any;
|
||||
deletedTime: any;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
isEditable: number;
|
||||
isShow: boolean;
|
||||
remark: string;
|
||||
sortOrder: number;
|
||||
typeName: string;
|
||||
updateTime: string;
|
||||
updateUser: any;
|
||||
}
|
||||
|
||||
export interface ListNearExpireItemsItem {
|
||||
itemCode: string;
|
||||
供货商: string;
|
||||
医保编码: string;
|
||||
厂家: string;
|
||||
批号: string;
|
||||
有效日期: string;
|
||||
有效期: number;
|
||||
药品名称: string;
|
||||
药品编号: string;
|
||||
规格: string;
|
||||
进货价: string;
|
||||
零售价: string;
|
||||
}
|
||||
|
||||
export interface ListNearExpireItemsReponse {
|
||||
list: ListNearExpireItemsItem[];
|
||||
total: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface ListInandOutDetailsParams {
|
||||
clientCode: string;
|
||||
itemName: string;
|
||||
itemTypeCodes: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
page: number;
|
||||
size: number;
|
||||
}
|
||||
|
||||
export interface InandOutDetailsItem {
|
||||
本期购入金额: number;
|
||||
剂型: string;
|
||||
名称: string;
|
||||
规格: string;
|
||||
上期结存量: number;
|
||||
上期结存金额: number;
|
||||
本期销售退库金额: number;
|
||||
单位: string;
|
||||
本期结存金额: number;
|
||||
本期销售量: number;
|
||||
本期购入量: number;
|
||||
本期销售金额: number;
|
||||
医保编码: string;
|
||||
本期销售退库量: number;
|
||||
批准文号: string;
|
||||
本期结存量: number;
|
||||
}
|
||||
|
||||
export interface ListInandOutDetailsReponse {
|
||||
list: InandOutDetailsItem[];
|
||||
total: number;
|
||||
}
|
||||
|
||||
export interface InventoryMonitoringItem {
|
||||
itemCode: string;
|
||||
医保编码: string;
|
||||
单位: string;
|
||||
可用库存: string;
|
||||
药品名称: string;
|
||||
药品编号: string;
|
||||
规格: string;
|
||||
}
|
||||
|
||||
|
||||
export interface ListReadyRowsParams {
|
||||
clientCode: string;
|
||||
isContainsOutStockInfos: number;
|
||||
queryDateBegin: string;
|
||||
queryDateEnd: string;
|
||||
timeSlot: number;
|
||||
wards: string[];
|
||||
}
|
||||
|
||||
export interface ListOutStockGroupByPatOrItemParams {
|
||||
groupby: string;
|
||||
clientCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
}
|
||||
|
||||
// 0入库 1入库退库 2出库 3出库退库
|
||||
type OperateType = 0 | 1 | 2 | 3;
|
||||
export interface ListOperate2DetailsParams {
|
||||
itemCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
operateType: OperateType;
|
||||
page: number;
|
||||
size: number;
|
||||
patientCode: string;
|
||||
timeSlot: string;
|
||||
}
|
||||
|
||||
|
||||
export interface GetDiffDetailsParams {
|
||||
page: number;
|
||||
size: number;
|
||||
date1: string;
|
||||
date2: string;
|
||||
itemCode: string; // 物品编号
|
||||
}
|
||||
|
||||
|
||||
export interface DiffDetails {
|
||||
盘点时间: string;
|
||||
盘盈数量: number | null;
|
||||
盘亏数量: number | null;
|
||||
操作人: string;
|
||||
备注: string;
|
||||
}
|
||||
|
||||
export interface IInventoryCheckQueryParams {
|
||||
page: number;
|
||||
size: number;
|
||||
types: string;
|
||||
itemName: string;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
clientCode: string;
|
||||
}
|
||||
|
||||
// 1:厂家;2是经销商
|
||||
export type IInventoryItemUpdateManufacturerDealerDictParamsManufacturerDealerType = 1 | 2;
|
||||
|
||||
export interface IInventoryItemUpdateManufacturerDealerDictParams {
|
||||
clientCode: string;
|
||||
manufacturerDealerName: string;
|
||||
manufacturerDealerType: IInventoryItemUpdateManufacturerDealerDictParamsManufacturerDealerType;
|
||||
}
|
||||
|
||||
|
||||
export interface ICopyFromParams {
|
||||
fromClientCode: string;
|
||||
toClientCode: string;
|
||||
typeCode: string;
|
||||
isOverride: number;
|
||||
}
|
||||
|
||||
|
||||
export interface IInventoryListByTypesParams {
|
||||
clientCode: string;
|
||||
itemTypes: string;
|
||||
itemName?: string;
|
||||
isShow?: number; // -1 | 0 | 1
|
||||
page?: number;
|
||||
size?: number;
|
||||
}
|
||||
32
src/api/inventoryDuizhoa/index.ts
Normal file
32
src/api/inventoryDuizhoa/index.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function inventoryTypeList(params: object) {
|
||||
return request({
|
||||
url: '/inventory/item/type/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function listMapper(params: object) {
|
||||
return request({
|
||||
url: '/suntop/product/mapper/listMapper',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function saveMapper(params: object) {
|
||||
return request({
|
||||
url: '/suntop/product/mapper/saveMapper',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params,
|
||||
});
|
||||
}
|
||||
59
src/api/inventory_auto_out_stock/index.ts
Normal file
59
src/api/inventory_auto_out_stock/index.ts
Normal file
@@ -0,0 +1,59 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { InventoryOutStockListParams, InventoryOutStockItem } from './types';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
/**
|
||||
* 获取自动出库管理列表
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryOutStockListApi(data: InventoryOutStockListParams) :AxiosPromise<{ list: InventoryOutStockItem[]; [key: string]: any;}> {
|
||||
return request({
|
||||
url: '/inventory/auto/out/stock/list',
|
||||
method: 'post',
|
||||
params:data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 添加自动出库项
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryOutStockAdd(data: Partial<InventoryOutStockItem>) {
|
||||
return request({
|
||||
url: '/inventory/auto/out/stock/add',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新自动出库项
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryOutStockUpdate(data: Partial<InventoryOutStockItem>) {
|
||||
return request({
|
||||
url: '/inventory/auto/out/stock/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 删除自动出库项
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function inventoryOutStockDel(id: number) {
|
||||
return request({
|
||||
url: '/inventory/auto/out/stock/delete',
|
||||
method: 'post',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
24
src/api/inventory_auto_out_stock/types.ts
Normal file
24
src/api/inventory_auto_out_stock/types.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
export interface InventoryOutStockListParams {
|
||||
page: number;
|
||||
size: number;
|
||||
wherecondition: string;
|
||||
ordercondition: string;
|
||||
}
|
||||
|
||||
export interface InventoryOutStockItem {
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
deletedTime: string;
|
||||
id: number;
|
||||
isAutoAddToFeelist: 0 | 1;
|
||||
itemIsAutoAddToOutstock: 0 | 1;
|
||||
isDeleted: number;
|
||||
itemCode: string;
|
||||
outCount: number;
|
||||
remark: string;
|
||||
updateTime: string;
|
||||
updateUser: number;
|
||||
itemName: string;
|
||||
}
|
||||
120
src/api/lis/class.ts
Normal file
120
src/api/lis/class.ts
Normal file
@@ -0,0 +1,120 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ClassListParams, ClassItem, ListOrdersParams, UploadOrdersToLisParams } from './type';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/lis/class/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/lis/class/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/lis/class/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分类列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function list(params: ClassListParams) :AxiosPromise<ClassItem[]> {
|
||||
return request({
|
||||
url: '/lis/class/info/list',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取门诊采样数据
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listOrdersApi(params: ListOrdersParams) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/listOrders',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 打印条码
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function printBarcodeApi(data: { orders: any[], printerName: string; }) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/printBarcode',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消采样
|
||||
* @param barcode
|
||||
* @returns
|
||||
*/
|
||||
export function cancelBarcodeApi(barcode: string) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/cancelBarcode',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { barcode }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取lis条码打印机列表
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function getAvailableDevicesByDeviceTypeApi(clientCode: string) {
|
||||
return request({
|
||||
url: '/comm/service/device/info/getAvailableDevicesByDeviceType',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: {
|
||||
clientCode,
|
||||
deviceType: 'LIS条码标签打印机'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 手动上传申请至LIS
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function uploadOrdersToLisApi(params: UploadOrdersToLisParams) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/uploadOrdersToLis',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
123
src/api/lis/feeitem.ts
Normal file
123
src/api/lis/feeitem.ts
Normal file
@@ -0,0 +1,123 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/list',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
export function listUsers(params: object) {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/listUsers',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function listTestItemsByFeeItem(params: string) {
|
||||
return request({
|
||||
url: '/fee/test/set/vs/item/listTestItemsByFeeItem',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function saveVS(params: object) {
|
||||
return request({
|
||||
url: '/fee/test/set/vs/item/saveVS',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function addTestBill(params: object) {
|
||||
return request({
|
||||
url: '/patient/bill/info/addTestBill',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function deleteOrderItem(params: string) {
|
||||
return request({
|
||||
url: '/lis/order/info/deleteOrderItem',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function initFeeItems(params: string) {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/initFeeItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function initTestItems(params: string) {
|
||||
return request({
|
||||
url: '/lis/testitem/info/initTestItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function groupInfoListApi(params: any) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/list',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询收费套餐明细API
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function getFeeServiceGroupDetailByCodeApi(code: string) {
|
||||
return request({
|
||||
url: '/fee/service/group/info/detail2',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { code }
|
||||
})
|
||||
}
|
||||
70
src/api/lis/feeitemVsclass.ts
Normal file
70
src/api/lis/feeitemVsclass.ts
Normal file
@@ -0,0 +1,70 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ListByClassCodeParams, ListByClassCodeReponse, ListAllFeeItem } from './type';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/lis/class/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/lis/class/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取检验分类项目对照已收费/未收费数据,其中未收费数据已废弃
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listByClassCode(params: ListByClassCodeParams): AxiosPromise<ListByClassCodeReponse> {
|
||||
return request({
|
||||
url: 'lis/feeitem/vs/class/listByClassCode',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改检验分类项目对照
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/lis/feeitem/vs/class/update',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 返回收费项目列表
|
||||
* @param clientCode
|
||||
* @returns
|
||||
*/
|
||||
export function listAllFeeItemsApi(clientCode: string) : AxiosPromise<ListAllFeeItem[]> {
|
||||
return request({
|
||||
url: '/lis/feeitem/info/listAllFeeItems',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { clientCode }
|
||||
})
|
||||
}
|
||||
60
src/api/lis/index.ts
Normal file
60
src/api/lis/index.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { ListStatInfoParamsParams } from './type';
|
||||
|
||||
export interface ListPBSDetailsParams {
|
||||
clientCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
patientCode: string;
|
||||
报销方式: string;
|
||||
患者诊断?: string;
|
||||
itemName: string;
|
||||
timeSlot: number;
|
||||
page: number;
|
||||
size: number;
|
||||
itemCode: string;
|
||||
billSetStatus: string;
|
||||
}
|
||||
|
||||
export function doListResultsGroupByMonth(params: object) {
|
||||
return request({
|
||||
url: '/lis/stat/doListResultsGroupByMonth',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 处方查询
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listPBSDetailsApi(params: Partial<ListPBSDetailsParams>) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listPBSDetails',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 药剂统计
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listStatInfoParams(params: ListStatInfoParamsParams) {
|
||||
return request({
|
||||
url: '/patient/bill/set/info/listStatInfo',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
77
src/api/lis/lisBarcode.ts
Normal file
77
src/api/lis/lisBarcode.ts
Normal file
@@ -0,0 +1,77 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: string) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: string) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
export function listRecentActivity(params: object) {
|
||||
return request({
|
||||
url: '/lis/sync/task/listRecentActivity',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function getLisServiceStatus(params: object) {
|
||||
return request({
|
||||
url: '/lis/service/getLisServiceStatus',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function sendLisControlCommand(params: object) {
|
||||
return request({
|
||||
url: '/lis/service/sendLisControlCommand',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/list',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
export function getItems(params: object) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/getItems',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
export function printBarcode(params: object) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/printBarcode',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
export function cancelBarcodes(params: object) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/cancelBarcodes',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
19
src/api/lis/order.ts
Normal file
19
src/api/lis/order.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function saveOrder(params) {
|
||||
return request({
|
||||
url: '/lis/order/info/saveOrder',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function getLisOrder(params:string) {
|
||||
return request({
|
||||
url: '/lis/order/info/getLisOrder ',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
180
src/api/lis/report.ts
Normal file
180
src/api/lis/report.ts
Normal file
@@ -0,0 +1,180 @@
|
||||
import request from '/@/utils/request';
|
||||
import type { ListTestResultsParams, SaveTestResultData, ListTestSamplesReponseItem, IListResultsByPatCodeParams, IListResultsByPatCode } from './type';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export function reportList(params) {
|
||||
return request({
|
||||
url: '/lis/report/list',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function listResults(params:string) {
|
||||
return request({
|
||||
url: '/lis/report/listResults',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function listReportsByPatient(params) {
|
||||
return request({
|
||||
url: '/lis/report/listReportsByPatient',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function listReportsByPatientDay(params) {
|
||||
return request({
|
||||
url: '/lis/report/listReportsByPatientDay',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function listReportResultsByPatientDayFeeItem(params) {
|
||||
return request({
|
||||
url: '/lis/report/listReportResultsByPatientDayFeeItem',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function listFeeItems() {
|
||||
return request({
|
||||
url: '/lis/report/listFeeItems',
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
export function listTestItemsByFeeItemName(params) {
|
||||
return request({
|
||||
url: '/lis/report/listTestItemsByFeeItemName',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
export function saveLisResult(params) {
|
||||
return request({
|
||||
url: '/lis/report/saveLisResult',
|
||||
method: 'post',
|
||||
data: params,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 修改LIS结果
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function apiUpdateLis(params: { code: string; result: string; sampleDate: string; }) {
|
||||
return request({
|
||||
url: "/lis/report/updateLisResult",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除lis结果
|
||||
* @param code
|
||||
* @returns
|
||||
*/
|
||||
export function apiDelLis(data: string) {
|
||||
return request({
|
||||
url: "/lis/report/deleteLisResult",
|
||||
method: "post",
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据患者获取标本列表
|
||||
* @param patientCode 患者编号
|
||||
* @returns
|
||||
*/
|
||||
export function listTestSamplesApi(patientCode: string): AxiosPromise<ListTestSamplesReponseItem[]> {
|
||||
return request({
|
||||
url: '/patient/lis/report/listTestSamples',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { patientCode }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据患者+标本编号查询出所有检查项目
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listTestResultsApi(params: ListTestResultsParams) {
|
||||
return request({
|
||||
url: '/patient/lis/report/listTestResults',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存手动填写的检查项目
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function saveTestResultApi(data: SaveTestResultData) {
|
||||
return request({
|
||||
url: '/patient/lis/report/saveTestResult',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除检查项目
|
||||
* @param id
|
||||
* @returns
|
||||
*/
|
||||
export function delTestResultApi(id: number) {
|
||||
return request({
|
||||
url: '/patient/lis/report/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据患者编号和日期范围获取检验结果列表
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listResultsByPatCodeApi(params: IListResultsByPatCodeParams) :AxiosPromise<IListResultsByPatCode[]> {
|
||||
return request({
|
||||
url: '/lis/report/listResultsByPatCode',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
33
src/api/lis/sample.ts
Normal file
33
src/api/lis/sample.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import request from '/@/utils/request';
|
||||
|
||||
export function Add(params: object) {
|
||||
return request({
|
||||
url: '/lis/sample/type/info/add',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function update(params: object) {
|
||||
return request({
|
||||
url: '/lis/sample/type/info/update',
|
||||
method: 'post',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function deleteId(params: string) {
|
||||
return request({
|
||||
url: '/lis/sample/type/info/delete',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
export function list(params: object) {
|
||||
return request({
|
||||
url: '/lis/sample/type/info/list',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
}
|
||||
122
src/api/lis/type.ts
Normal file
122
src/api/lis/type.ts
Normal file
@@ -0,0 +1,122 @@
|
||||
export interface ClassListParams {
|
||||
page: number;
|
||||
size: number;
|
||||
clientCode: string;
|
||||
}
|
||||
|
||||
export interface ClassItem {
|
||||
backgroudColor: string;
|
||||
className: string;
|
||||
clientCode: string;
|
||||
code: string;
|
||||
createTime: string;
|
||||
createUser: number;
|
||||
deletedTime: any;
|
||||
id: number;
|
||||
isDeleted: number;
|
||||
remark: string;
|
||||
sampleContainer: string;
|
||||
sampleTypeCode: string;
|
||||
sampleTypeName: string;
|
||||
updateTime: string;
|
||||
updateUser: any;
|
||||
}
|
||||
|
||||
export interface ListByClassCodeParams {
|
||||
clientCode: string;
|
||||
classCode: string;
|
||||
}
|
||||
|
||||
export interface ListByClassCodeReponse {
|
||||
classCode: string;
|
||||
selectedFeeItems: SelectedFeeItem[];
|
||||
unSelectedFeeItems: any[]; // 该数据已不再使用,类型就不写了
|
||||
}
|
||||
|
||||
export interface SelectedFeeItem {
|
||||
收费项目名称: string;
|
||||
代号: string;
|
||||
类型: string;
|
||||
}
|
||||
|
||||
export interface ListAllFeeItem {
|
||||
名称: string;
|
||||
编号: string;
|
||||
client_code: string;
|
||||
类型: string;
|
||||
}
|
||||
|
||||
export interface ListTestResultsParams {
|
||||
patientCode: string;
|
||||
sampleDate: string;
|
||||
categoryName: string;
|
||||
}
|
||||
|
||||
export interface SaveTestResultData {
|
||||
id: number;
|
||||
code: string;
|
||||
patientCode: string;
|
||||
sampleDate: string; //标本日期, 格式 yyyy-MM-dd
|
||||
categoryName: string; //分类名称
|
||||
results: SaveLisReportDetailRequest[];
|
||||
}
|
||||
|
||||
export interface SaveLisReportDetailRequest {
|
||||
id: number;
|
||||
code: string;
|
||||
testName: string; // 检查项目名称
|
||||
testResult: string; // 检查项目结果
|
||||
}
|
||||
|
||||
export interface ListTestSamplesReponseItem {
|
||||
code: string;
|
||||
id: number;
|
||||
标本日期: string;
|
||||
检验类别: string;
|
||||
}
|
||||
|
||||
|
||||
export interface ListOrdersParams {
|
||||
queryCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
clientCode: string;
|
||||
}
|
||||
|
||||
|
||||
export interface UploadOrdersToLisParams {
|
||||
clientCode: string;
|
||||
barcodes: string;
|
||||
}
|
||||
|
||||
export interface ListStatInfoParamsParams {
|
||||
date1: string;
|
||||
date2: string;
|
||||
clientCode: string;
|
||||
}
|
||||
|
||||
|
||||
export interface IListResultsByPatCodeParams {
|
||||
clientCode: string;
|
||||
patCode: string;
|
||||
date1: string;
|
||||
date2: string;
|
||||
itemNames: string;
|
||||
}
|
||||
|
||||
export interface IListResultsByPatCode {
|
||||
barcode: string;
|
||||
clientCode: string;
|
||||
code: string;
|
||||
feeItemName: string;
|
||||
itemCode: string;
|
||||
itemName: string;
|
||||
itemNameCn: string;
|
||||
itemResult: string;
|
||||
itemResultFlag: string;
|
||||
itemResultRef: string;
|
||||
itemResultUnit: string;
|
||||
patientName: string;
|
||||
reportCode: string;
|
||||
sampleDate: string;
|
||||
}
|
||||
80
src/api/lis_barcode_info/index.ts
Normal file
80
src/api/lis_barcode_info/index.ts
Normal file
@@ -0,0 +1,80 @@
|
||||
import request from '/@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import type { ListBarcodesParams, ListBarcodes, UploadOrdersToLisParams, BatchUpdateExternalBarcodeParams } from './types';
|
||||
|
||||
|
||||
/**
|
||||
* 查询外检推送条码号
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function listBarcodesApi(params: ListBarcodesParams): AxiosPromise<ListBarcodes[]> {
|
||||
return request({
|
||||
url: '/lis/barcode/info/listBarcodes',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 外检推送用的(修改外部条码编号)
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function lisBarcodeInfoUpdate(data: { code: string; externalBarcode: string; [key: string]: any}) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 外检推送用的(修改备注)
|
||||
* @param data
|
||||
* @returns
|
||||
*/
|
||||
export function lisBarcodeItemInfoUpdate(data: { code: string; remark: string; [key: string]: any}) {
|
||||
return request({
|
||||
url: '/lis/barcode/item/info/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 推送条码号
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function uploadOrdersToLisApi(params: UploadOrdersToLisParams) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/uploadOrdersToLis',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量修改外部条码号
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export function batchUpdateExternalBarcodeApi(params: BatchUpdateExternalBarcodeParams) {
|
||||
return request({
|
||||
url: '/lis/barcode/info/batchUpdateExternalBarcode',
|
||||
method: 'post',
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
params
|
||||
})
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user