Fix Bug #471: 手术管理-门诊手术安排:手术申请查询结果中混入住院检验申请单数据(脏数据)
根因:手术申请查询弹窗错误使用了 getTestResultPage API(通用申请单分页接口 /reg-doctorstation/request-form/get-page), 该接口返回所有类型的申请单(含检验申请单 PAR 前缀数据),而非仅手术申请单。 修复:改为使用 getSurgery API(/reg-doctorstation/request-form/get-surgery),仅查询手术申请单数据。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -875,7 +875,7 @@ import { getSurgerySchedulePage, addSurgerySchedule, updateSurgerySchedule, dele
|
||||
import { listUser } from '@/api/system/user'
|
||||
import { deptTreeSelect } from '@/api/system/user'
|
||||
import { listOperatingRoom } from '@/api/operatingroom'
|
||||
import { getTestResultPage} from '@/views/inpatientDoctor/home/components/applicationShow/api.js'
|
||||
import { getSurgery} from '@/views/inpatientDoctor/home/components/applicationShow/api.js'
|
||||
import { getTenantPage } from '@/api/system/tenant'
|
||||
import { getContract } from '@/views/inpatientDoctor/home/components/api.js'
|
||||
import SurgeryCharge from '../charge/surgerycharge/index.vue'
|
||||
@@ -2013,7 +2013,7 @@ function getSurgicalScheduleList() {
|
||||
params.applyTimeEnd = params.applyTimeRange[1]
|
||||
delete params.applyTimeRange
|
||||
}
|
||||
getTestResultPage(params).then((res) => {
|
||||
getSurgery(params).then((res) => {
|
||||
// Check if data is nested under data.data or directly under data
|
||||
const responseData = res.data.data || res.data
|
||||
applyList.value = responseData.records || []
|
||||
|
||||
Reference in New Issue
Block a user