100 手术安排界面:增加【医嘱】按钮弹出门诊术中临时医嘱生成界面
This commit is contained in:
@@ -24,11 +24,14 @@ export function getAdviceBaseInfo(queryParams) {
|
||||
}
|
||||
/**
|
||||
* 保存处方(单条)
|
||||
* @param {Object} data - 处方数据
|
||||
* @param {String} adviceOpType - 医嘱操作类型:'0'=保存草稿,'1'=签发医嘱
|
||||
*/
|
||||
export function savePrescription(data) {
|
||||
export function savePrescription(data, adviceOpType = '0') {
|
||||
return request({
|
||||
url: '/doctor-station/advice/save-advice',
|
||||
method: 'post',
|
||||
params: { adviceOpType },
|
||||
data: data
|
||||
})
|
||||
}
|
||||
@@ -56,8 +59,9 @@ export function singOut(data) {
|
||||
* 获取患者本次就诊处方
|
||||
*/
|
||||
export function getPrescriptionList(encounterId) {
|
||||
// Add timestamp to bypass browser caching and ensure fresh data is loaded
|
||||
return request({
|
||||
url: '/doctor-station/advice/request-base-info?encounterId=' + encounterId,
|
||||
url: '/doctor-station/advice/request-base-info?encounterId=' + encounterId + '&t=' + Date.now(),
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user