|
@@ -27,7 +27,7 @@
|
|
|
<xc-date-picker style="width: 180px"
|
|
|
type="daterange"
|
|
|
clearable
|
|
|
- v-model="param.admissionTime"/>
|
|
|
+ v-model="param.dischargeTime"/>
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="科室" prop="dept">
|
|
@@ -50,6 +50,14 @@
|
|
|
</template>
|
|
|
|
|
|
<template #main>
|
|
|
+ <pat-infomation-dialog
|
|
|
+ v-if="dialog"
|
|
|
+ @closed="dialog = false"
|
|
|
+ :pat-no="rowData.patNo"
|
|
|
+ :times="rowData.admissTimes"
|
|
|
+ :leave-hospital="param.leaveHospital ? 2 : 1"
|
|
|
+ :dics="dics"/>
|
|
|
+
|
|
|
<xc-table :local-data="patInfoList"
|
|
|
:final-height="getWindowSize.h / 1.2">
|
|
|
<el-table-column label="操作" fixed="left" width="60">
|
|
@@ -76,44 +84,6 @@
|
|
|
<el-table-column label="入院诊断" prop="admissDiagStr"/>
|
|
|
</xc-table>
|
|
|
|
|
|
- <el-dialog v-model="dialog"
|
|
|
- title="患者详情"
|
|
|
- class="dialog-temp"
|
|
|
- fullscreen
|
|
|
- destroy-on-close>
|
|
|
- <el-tabs>
|
|
|
- <el-tab-pane label="首页">
|
|
|
- <first-page-of-medical-record :dics="dics"
|
|
|
- :sheet-data="sheetData"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="医嘱">
|
|
|
- <emr-order-list :pat-no="rowData.patNo" :times="rowData.admissTimes"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="清单">
|
|
|
- <charge-list :pat-no="rowData.inpatientNo"
|
|
|
- :times="rowData.admissTimes"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="检验">
|
|
|
- <inspection-report-index
|
|
|
- style="font-size: 12px;height: 100%"
|
|
|
- :pat-no="rowData.patNo"
|
|
|
- :start="startDate"
|
|
|
- :end="endDate"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="检查">
|
|
|
- <emr-inspect :pat-no="rowData.inpatientNo"
|
|
|
- :times="rowData.admissTimes"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="会诊">
|
|
|
- <group-consultation :pat-no="rowData.inpatientNo"
|
|
|
- :times="rowData.admissTimes"/>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="病历">
|
|
|
- <electronic-medical-record :pat-no="rowData.inpatientNo"
|
|
|
- :times="rowData.admissTimes"/>
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
- </el-dialog>
|
|
|
</template>
|
|
|
</page-layer>
|
|
|
</template>
|
|
@@ -125,18 +95,10 @@ import SelectV4 from "@/components/xiao-chan/select-v4/SelectV4.vue";
|
|
|
import XcDatePicker from "@/components/xiao-chan/date-picker/XcDatePicker.vue";
|
|
|
import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
|
|
|
import {getWindowSize} from "@/utils/window-size";
|
|
|
-import EmrOrderList from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrOrderList.vue";
|
|
|
-import FirstPageOfMedicalRecord from "@/components/pat-info-list/FirstPageOfMedicalRecord.vue";
|
|
|
-import {getAllDictionary, getSheetInfo} from "@/api/case-front-sheet";
|
|
|
-import ChargeList from '@/components/medical-insurance/charge-list/Index.vue'
|
|
|
-import InspectionReportIndex from "@/views/examination/InspectionReportIndex.vue";
|
|
|
-import {formatDate} from "@/utils/date";
|
|
|
-import {getServerDateApi} from "@/api/public-api";
|
|
|
-import EmrInspect from "@/components/zhu-yuan-yi-sheng/emr/auxiliary-tools/EmrInspect.vue";
|
|
|
-import ElectronicMedicalRecord from "@/components/pat-info-list/ElectronicMedicalRecord.vue";
|
|
|
+import {getAllDictionary} from "@/api/case-front-sheet";
|
|
|
import {operations} from "@/data";
|
|
|
import {autopsies, haveOrNot, yesOrNo} from "@/views/hospitalization/case-front-sheet/common";
|
|
|
-import GroupConsultation from "@/components/pat-info-list/GroupConsultation.vue";
|
|
|
+import PatInfomationDialog from "@/components/pat-info-list/PatInfomationDialog.vue";
|
|
|
|
|
|
|
|
|
const param = ref({
|
|
@@ -155,10 +117,7 @@ const patInfoList = ref([])
|
|
|
const dialog = ref(false)
|
|
|
const rowData = ref()
|
|
|
const dics = ref([])
|
|
|
-const sheetData = ref({})
|
|
|
|
|
|
-const endDate = ref('')
|
|
|
-const startDate = ref('')
|
|
|
|
|
|
const queryClick = () => {
|
|
|
getPatientInfo(param.value).then(res => {
|
|
@@ -171,13 +130,6 @@ const reset = () => {
|
|
|
|
|
|
const details = async (row) => {
|
|
|
rowData.value = row
|
|
|
-
|
|
|
- sheetData.value = await getSheetInfo({
|
|
|
- bah: row.inpatientNo,
|
|
|
- times: row.admissTimes,
|
|
|
- inOutFlag: param.value.leaveHospital ? 2 : 1
|
|
|
- })
|
|
|
- startDate.value = formatDate(rowData.value.admissDate)
|
|
|
dialog.value = true
|
|
|
}
|
|
|
|
|
@@ -193,31 +145,12 @@ onMounted(async () => {
|
|
|
res.getAutopsies = autopsies;
|
|
|
dics.value = res
|
|
|
})
|
|
|
-
|
|
|
- endDate.value = formatDate(await getServerDateApi())
|
|
|
-
|
|
|
})
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-:deep(.el-dialog__body) {
|
|
|
- padding: 0 16px;
|
|
|
- height: calc(100% - 55px);
|
|
|
-}
|
|
|
-
|
|
|
-:deep(.el-tabs) {
|
|
|
- height: calc(100% - 50px);
|
|
|
|
|
|
- .el-tabs__content {
|
|
|
- height: calc(100% - 50px);
|
|
|
- }
|
|
|
-
|
|
|
- .el-tab-pane {
|
|
|
- height: calc(100% - 50px);
|
|
|
- overflow: auto;
|
|
|
- }
|
|
|
-}
|
|
|
|
|
|
|
|
|
</style>
|