Revert "```"

This reverts commit abc0674531.
This commit is contained in:
2025-12-26 22:21:21 +08:00
parent ae6c486114
commit 3115e38cc4
920 changed files with 14452 additions and 107025 deletions

View File

@@ -5,13 +5,14 @@
* @LastEditors: 程堡
* @Description: 体温单
* @FilePath: src\action\nurseStation\temperatureSheet\index.js
*/
import Request from '@/axios/index.js';
const temperaturePath = 'app/temperature';
const getTemperaturePath = 'app/temperature/by-encounter-id';
const delTemperaturePath = 'app/temperature/retired';
*/
import Request from '@/axios/index.js'
const temperaturePath = 'app/temperature'
const getTemperaturePath = 'app/temperature/by-encounter-id'
const delTemperaturePath = 'app/temperature/retired'
// import data from '../temperatureSheet/datas.js';
export const API = {
/**
* @description 查询患者体温单
* @param encounterId
@@ -22,24 +23,27 @@ export const API = {
method: 'get', // 提交方法get
verification: true, // 是否统一拦截验证
untoken: false, // 是否不带token
params: {
// 参数列表
id,
},
});
params: { // 参数列表
id
}
})
},
/**
* @description 创建体温单
* @param encounterId
*/
createTemperature(encounterId, hisNo, clinicCode, recordTime, type, content) {
createTemperature(encounterId,
hisNo,
clinicCode,
recordTime,
type,
content) {
return Request({
url: temperaturePath,
method: 'post',
verification: true,
untoken: false,
data: {
// 参数列表
data: { // 参数列表
encounterId,
hisNo,
clinicCode,
@@ -48,23 +52,28 @@ export const API = {
operName: sessionStorage.getItem('userName'),
type,
content,
hospitalOrgId: sessionStorage.getItem('hospitalOrgId'),
},
});
hospitalOrgId: sessionStorage.getItem('hospitalOrgId')
}
})
},
/**
* @description 修改体温单
* @param encounterId
*/
updateTemperature(encounterId, hisNo, clinicCode, recordTime, type, content, id) {
updateTemperature(encounterId,
hisNo,
clinicCode,
recordTime,
type,
content,
id) {
return Request({
url: temperaturePath,
method: 'put',
verification: true,
untoken: false,
data: {
// 参数列表
data: { // 参数列表
encounterId,
hisNo,
clinicCode,
@@ -73,9 +82,9 @@ export const API = {
operName: sessionStorage.getItem('userName'),
type,
content,
id,
},
});
id
}
})
},
/**
* @description 删除记录
@@ -87,11 +96,10 @@ export const API = {
method: 'post',
verification: true,
untoken: false,
data: {
// 参数列表
id,
},
});
data: { // 参数列表
id
}
})
},
/**
* @description 获取患者时间线
@@ -99,22 +107,24 @@ export const API = {
*/
NewSheet(patientInfo) {
return {
grParamBOS: {
age: patientInfo.age,
birth: 868723200000,
cwh: patientInfo.bedName,
cardNo: patientInfo.hisId,
hospDate: patientInfo.firstInBedTime.substring(0, 10),
inDate: patientInfo.firstInBedTime,
inDiagName: patientInfo.diag,
name: patientInfo.patientName,
deptName: patientInfo.deptName,
operaDays: null,
outdate: patientInfo.checkOutWardTime,
sex: patientInfo.gender.display,
},
grParamBOS:
{
age: patientInfo.age,
birth: 868723200000,
cwh: patientInfo.bedName,
cardNo: patientInfo.hisId,
hospDate: patientInfo.firstInBedTime.substring(0, 10),
inDate: patientInfo.firstInBedTime,
inDiagName: patientInfo.diag,
name: patientInfo.patientName,
deptName: patientInfo.deptName,
operaDays: null,
outdate: patientInfo.checkOutWardTime,
sex: patientInfo.gender.display
},
rows: [],
types: [],
};
},
};
types: []
}
}
}