|
@@ -10,16 +10,155 @@ import {
|
|
|
huanZheXinXi,
|
|
|
unChangePatient
|
|
|
} from "@/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng";
|
|
|
-import {getOpRecord, shanChuShouShu} from "@/api/zhu-yuan-yi-sheng/shou-shu-shen-qing";
|
|
|
+import {getOpRecord, getSurgeryDetail, shanChuShouShu} from "@/api/zhu-yuan-yi-sheng/shou-shu-shen-qing";
|
|
|
import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
|
|
|
import {windowSizeStore} from "@/utils/store-public";
|
|
|
import {CyMessageBox} from "@/components/cy/message-box";
|
|
|
import AddShouShu from "@/views/hospitalization/zhu-yuan-yi-sheng/shou-shu-shen-qing/src/components/AddShouShu.vue";
|
|
|
import {ssMitt} from "@/views/hospitalization/zhu-yuan-yi-sheng/shou-shu-shen-qing/src/shou-shu";
|
|
|
+import ShouShuDetails
|
|
|
+ from "@/views/hospitalization/zhu-yuan-yi-sheng/shou-shu-shen-qing/src/components/ShouShuDetails.vue";
|
|
|
+import {OpRecord} from "@/ts-type/op-record";
|
|
|
|
|
|
const operationData = ref([])
|
|
|
const tabs = ref('ss-lishi')
|
|
|
|
|
|
+const details = ref<OpRecord>({
|
|
|
+ "recordId": 50421,
|
|
|
+ "zySerialNo": null,
|
|
|
+ "opTimes": null,
|
|
|
+ "patientName": "李宽量",
|
|
|
+ "deptCode": "8000007",
|
|
|
+ "deptCodeName": "七病室",
|
|
|
+ "wardCode": null,
|
|
|
+ "wardName": null,
|
|
|
+ "applyDate": "2023-12-11 15:19:59",
|
|
|
+ "applyUser": null,
|
|
|
+ "applyDoc": null,
|
|
|
+ "applyDocName": null,
|
|
|
+ "scheduleDate": null,
|
|
|
+ "scheduleUser": null,
|
|
|
+ "status": null,
|
|
|
+ "patientType": null,
|
|
|
+ "actOrderNo": null,
|
|
|
+ "opCode": null,
|
|
|
+ "opName": "经皮腓动脉药物洗脱支架置入术",
|
|
|
+ "opDatetime": "2023-12-11 15:19:59",
|
|
|
+ "roomCode": null,
|
|
|
+ "roomName": null,
|
|
|
+ "opGroupCode": null,
|
|
|
+ "hocusCode": "04",
|
|
|
+ "hocusName": "静脉麻醉",
|
|
|
+ "diagAfterOp": null,
|
|
|
+ "infectionFlag": null,
|
|
|
+ "urgentClinicFlag": "0",
|
|
|
+ "avocationFlag": null,
|
|
|
+ "bloodAmount": null,
|
|
|
+ "bloodType": null,
|
|
|
+ "opStasticsId": null,
|
|
|
+ "isolationIndicator": null,
|
|
|
+ "opScale": "3",
|
|
|
+ "diagBeforeCode": "L23.400",
|
|
|
+ "diagBeforeOp": "染料引起的变应性接触性皮炎",
|
|
|
+ "diagAfterCode": null,
|
|
|
+ "hbsag": null,
|
|
|
+ "bodyCode": null,
|
|
|
+ "partCode": "21",
|
|
|
+ "partCodeName": "左上腹",
|
|
|
+ "specialreqCode": null,
|
|
|
+ "instrumentCode": null,
|
|
|
+ "aspesisScale": null,
|
|
|
+ "preoperativeVisit": null,
|
|
|
+ "preoperativePreparation": null,
|
|
|
+ "remark": "",
|
|
|
+ "opDept": null,
|
|
|
+ "inputId": null,
|
|
|
+ "inputDate": null,
|
|
|
+ "reqId": null,
|
|
|
+ "reqDate": "2023-12-11 15:18:17",
|
|
|
+ "lastModifyId": null,
|
|
|
+ "arrangeId": null,
|
|
|
+ "arrangeDate": null,
|
|
|
+ "inpatientNo": "0422888",
|
|
|
+ "admissTimes": 1,
|
|
|
+ "cancelId": null,
|
|
|
+ "cancelTime": null,
|
|
|
+ "sstc": null,
|
|
|
+ "bedNo": "-04",
|
|
|
+ "twFlag": null,
|
|
|
+ "ssbc": 2,
|
|
|
+ "ssyzFlag": null,
|
|
|
+ "statusFlag": null,
|
|
|
+ "wardDept": null,
|
|
|
+ "doctorZd": null,
|
|
|
+ "doctorZdName": "余春燕",
|
|
|
+ "doctor1": null,
|
|
|
+ "doctor2": null,
|
|
|
+ "doctor3": "00009",
|
|
|
+ "doctor1Name": null,
|
|
|
+ "doctor2Name": null,
|
|
|
+ "doctor3Name": "唐登华",
|
|
|
+ "doctorMz": null,
|
|
|
+ "doctorMzName": null,
|
|
|
+ "nurseQx": null,
|
|
|
+ "nurseQxName": null,
|
|
|
+ "nurseXh": null,
|
|
|
+ "nurseXhName": null,
|
|
|
+ "referPhysicianName": null,
|
|
|
+ "deptDirectorName": null,
|
|
|
+ "sex": null,
|
|
|
+ "ybSelfFlag": 0,
|
|
|
+ "birthDate": null,
|
|
|
+ "age": null,
|
|
|
+ "doctorMzYs": null,
|
|
|
+ "doctorMzYsName": null,
|
|
|
+ "doctorMzHsName": null,
|
|
|
+ "doctorMzHs": null,
|
|
|
+ "opStartDate": null,
|
|
|
+ "opEndDate": null,
|
|
|
+ "anstStartDate": null,
|
|
|
+ "anstEndDate": null,
|
|
|
+ "chargeSum": null,
|
|
|
+ "arrangementExecuted": null,
|
|
|
+ "orderName": null,
|
|
|
+ "statusName": "",
|
|
|
+ "opScaleName": "二级",
|
|
|
+ "ssbcName": "",
|
|
|
+ "diagList": [
|
|
|
+ {
|
|
|
+ "reqNo": 50421,
|
|
|
+ "code": "L23.400",
|
|
|
+ "name": "染料引起的变应性接触性皮炎",
|
|
|
+ "type": 2,
|
|
|
+ "sort": 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "reqNo": 50421,
|
|
|
+ "code": "L23.503",
|
|
|
+ "name": "橡胶变应性接触性皮炎",
|
|
|
+ "type": 2,
|
|
|
+ "sort": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "opCodeList": [
|
|
|
+ {
|
|
|
+ "reqNo": 50421,
|
|
|
+ "code": "00.5500x012",
|
|
|
+ "name": "经皮腓动脉药物洗脱支架置入术",
|
|
|
+ "type": 1,
|
|
|
+ "sort": 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "reqNo": 50421,
|
|
|
+ "code": "01.3900x012",
|
|
|
+ "name": "经外侧裂脑内血肿清除术",
|
|
|
+ "type": 1,
|
|
|
+ "sort": 2
|
|
|
+ }
|
|
|
+ ]
|
|
|
+})
|
|
|
+const dialog = ref(true)
|
|
|
+
|
|
|
const queryOperation = async () => {
|
|
|
if (huanZheXinXi.value.inpatientNo) {
|
|
|
getOpRecord(huanZheXinXi.value.inpatientNo, huanZheXinXi.value.admissTimes).then(res => {
|
|
@@ -37,6 +176,13 @@ const delClick = async (row, index) => {
|
|
|
operationData.value.splice(index, 1)
|
|
|
}
|
|
|
|
|
|
+const viewDetails = ({inpatientNo, admissTimes, recordId}) => {
|
|
|
+ getSurgeryDetail(inpatientNo, admissTimes, recordId).then(res => {
|
|
|
+ details.value = res
|
|
|
+ dialog.value = true
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
onDeactivated(() => {
|
|
|
unChangePatient('手术')
|
|
|
})
|
|
@@ -48,18 +194,22 @@ onActivated(() => {
|
|
|
|
|
|
onMounted(async () => {
|
|
|
ssMitt.on('query', queryOperation)
|
|
|
+ console.log(details.value)
|
|
|
})
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
<el-container>
|
|
|
<el-main>
|
|
|
+ <ShouShuDetails v-model:dialog="dialog" :data="details"/>
|
|
|
+
|
|
|
<el-tabs v-model="tabs" type="border-card" class="shou_shu">
|
|
|
<el-tab-pane label="历史信息" name="ss-lishi">
|
|
|
<xc-table :final-height="windowSizeStore.h / 1.1 - 30"
|
|
|
:local-data="operationData">
|
|
|
<el-table-column label="申请号" prop="recordId" width="50" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="状态" width="30" prop="statusName" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column label="状态" width="40" prop="statusName" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column label="情况" width="40" prop="urgentClinicName" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column label="手术名" prop="opName" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column label="手术时间" prop="opDatetime" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column label="术前诊断" prop="diagBeforeOp" show-overflow-tooltip width="90"></el-table-column>
|
|
@@ -71,6 +221,7 @@ onMounted(async () => {
|
|
|
<el-button @click="queryOperation" type="primary">查询</el-button>
|
|
|
</template>
|
|
|
<template #default="{row,$index}">
|
|
|
+ <el-button @click="viewDetails(row)">查看</el-button>
|
|
|
<el-button icon="Delete" type="danger" @click.stop="delClick(row, $index)">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|