|
@@ -509,7 +509,6 @@ import {Export} from "@/utils/ExportExcel";
|
|
|
import {getDateRangeFormatDate} from "@/utils/date";
|
|
|
import SimplestPatInfo from "@/components/outpatient/SimplestPatInfo.vue";
|
|
|
import useDialogToJs from "@/components/js-dialog-comp/useDialogToJs";
|
|
|
-import cyMessageBox from "@/components/cy/message-box/src/cy-message-box";
|
|
|
|
|
|
const windowSize = store.state.app.windowSize
|
|
|
const tableHeight = windowSize.h - 55
|
|
@@ -564,7 +563,9 @@ const fetchAssessments = () => {
|
|
|
|
|
|
function beforeShowPatInfo(row) {
|
|
|
const patNo = inquiry.visitType === 'OUTPATIENT' ? row.patientId : row.inpatientNo
|
|
|
- getPatientBriefInfo(patNo).then(res => {
|
|
|
+ const times = row.admissTimes || 0
|
|
|
+ getPatientBriefInfo(patNo, times).then(res => {
|
|
|
+ res.visitType = inquiry.visitType
|
|
|
useDialogToJs(SimplestPatInfo, {patInfo: res})
|
|
|
})
|
|
|
}
|