需求17 门诊医生站-》患者列表,修复门诊医生站的初诊/复诊标识没有完成数据存储和显示

This commit is contained in:
HuangShun
2026-01-29 14:59:07 +08:00
parent 96a8f75aa1
commit 638f853af6
5 changed files with 56 additions and 45 deletions

View File

@@ -68,10 +68,11 @@ export const rearrangeMissedNumber = (encounterId) => {
/**
* 完诊
*/
export function completeEncounter(encounterId) {
export function completeEncounter(params) {
return request({
url: '/doctor-station/main/complete-encounter?encounterId=' + encounterId,
method: 'get',
url: '/doctor-station/main/complete-encounter',
method: 'post',
data: params,
});
}

View File

@@ -569,7 +569,7 @@ function handleLeave(encounterId) {
}
function handleFinish(encounterId) {
completeEncounter(encounterId).then((res) => {
completeEncounter({ encounterId, firstEnum: firstEnum.value }).then((res) => {
if (res.code == 200) {
proxy.$modal.msgSuccess('操作成功');
patientInfo.value = {};