Fix Bug #445: 【手术管理-门诊手术安排】临时医嘱生成界面逻辑错误:已生成医嘱的计费项目未从“待生成”列表中剔除
This commit is contained in:
@@ -52,6 +52,24 @@ export function getSurgeryApplyList(query) {
|
||||
})
|
||||
}
|
||||
|
||||
// 查询已生成医嘱的计费项目
|
||||
export function getGeneratedOrders(chargeIds) {
|
||||
return request({
|
||||
url: '/clinical-manage/surgery-schedule/generated-orders',
|
||||
method: 'post',
|
||||
data: chargeIds
|
||||
})
|
||||
}
|
||||
|
||||
// 生成临时医嘱
|
||||
export function generateTemporaryOrders(data) {
|
||||
return request({
|
||||
url: '/clinical-manage/surgery-schedule/generate-orders',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出手术安排列表
|
||||
export function exportSurgerySchedule(query) {
|
||||
return request({
|
||||
|
||||
@@ -86,8 +86,13 @@ const tableColumns = computed<TableColumn[]>(() => [
|
||||
* @param searchKey 搜索关键词
|
||||
*/
|
||||
function refresh(adviceType: any, categoryCode: string, searchKey: string) {
|
||||
queryParams.value.adviceTypes =
|
||||
adviceType !== undefined && adviceType !== '' ? String(adviceType) : '1,2,3,6';
|
||||
// 有搜索词时跨类型搜索,避免用户输入"级护理"但因当前adviceType为药品而搜不到诊疗类护理项目
|
||||
if (searchKey) {
|
||||
queryParams.value.adviceTypes = '1,2,3,6';
|
||||
} else {
|
||||
queryParams.value.adviceTypes =
|
||||
adviceType !== undefined && adviceType !== '' ? String(adviceType) : '1,2,3,6';
|
||||
}
|
||||
queryParams.value.categoryCode = categoryCode || '';
|
||||
queryParams.value.searchKey = searchKey || '';
|
||||
getList();
|
||||
|
||||
Reference in New Issue
Block a user