新增门诊医生站确认取消接诊后移除错误消息提示
This commit is contained in:
@@ -66,10 +66,11 @@ export function completeEncounter(encounterId) {
|
||||
/**
|
||||
* 取消接诊
|
||||
*/
|
||||
export function cancelEncounter(encounterId) {
|
||||
export function cancelEncounter(encounterId, config = {}) {
|
||||
return request({
|
||||
url: '/doctor-station/main/cancel-encounter?encounterId=' + encounterId,
|
||||
method: 'get',
|
||||
...config
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -497,7 +497,7 @@ function handleCancelEncounter(){
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
//调用取消接诊API
|
||||
cancelEncounter(patientInfo.value.encounterId).then((res) => {
|
||||
cancelEncounter(patientInfo.value.encounterId, { skipErrorMsg: true }).then((res) => {
|
||||
if (res.code == 200) {
|
||||
proxy.$modal.msgSuccess('取消接诊成功');
|
||||
patientInfo.value = {};
|
||||
|
||||
Reference in New Issue
Block a user