|
@@ -97,56 +97,122 @@
|
|
|
</el-main>
|
|
|
</el-container>
|
|
|
<el-dialog v-model="showRegisterInfo" width="60%">
|
|
|
- <el-descriptions title="患者医保在院信息" :column="3" size="small" border>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 姓名 </template>
|
|
|
- {{ registerInfo.psnName }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 住院号 </template>
|
|
|
- {{ registerInfo.iptOtpNo }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 性别 </template>
|
|
|
- {{ cptSex(registerInfo.gend) }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 证件类型 </template>
|
|
|
- {{ cptPsnCertType(registerInfo.psnCertType) }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 证件号码 </template>
|
|
|
- {{ registerInfo.certno }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 出生日期 </template>
|
|
|
- {{ registerInfo.brdy }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 险种类型 </template>
|
|
|
- {{ cptInsutype(registerInfo.insutype) }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 医疗类别 </template>
|
|
|
- {{ cptMedType(registerInfo.medType) }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 异地标志 </template>
|
|
|
- {{ cptYesOrNo(registerInfo.outFlag) }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 开始日期 </template>
|
|
|
- {{ registerInfo.begndate }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 就诊ID </template>
|
|
|
- {{ registerInfo.mdtrtId }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 人员编号 </template>
|
|
|
- {{ registerInfo.psnNo }}
|
|
|
- </el-descriptions-item>
|
|
|
- </el-descriptions>
|
|
|
+ <div v-if="injuryMode">
|
|
|
+ <el-descriptions title="工伤患者在院信息" :column="3" size="small" border>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 姓名 </template>
|
|
|
+ {{ registerInfo.name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 住院号 </template>
|
|
|
+ {{ registerInfo.patient_id }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 个人电脑号 </template>
|
|
|
+ {{ registerInfo.indi_id }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 性别 </template>
|
|
|
+ {{ cptSex(registerInfo.sex) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 身份证 </template>
|
|
|
+ {{ registerInfo.idcard }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 出生日期 </template>
|
|
|
+ {{ registerInfo.birthday }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 医疗类别 </template>
|
|
|
+ {{ registerInfo.treatment_name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 入院科室 </template>
|
|
|
+ {{ registerInfo.out_dept_name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 入院病房 </template>
|
|
|
+ {{ registerInfo.area_name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 诊断编码 </template>
|
|
|
+ {{ registerInfo.in_diagnose }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 诊断名称 </template>
|
|
|
+ {{ registerInfo.in_disease_name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 就诊登记号 </template>
|
|
|
+ {{ registerInfo.serial_no }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 工伤业务序号 </template>
|
|
|
+ {{ registerInfo.serial_bo_no }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 入院登记时间 </template>
|
|
|
+ {{ registerInfo.reg_date }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 单位名称 </template>
|
|
|
+ {{ registerInfo.corp_name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <el-descriptions title="患者医保在院信息" :column="3" size="small" border>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 姓名 </template>
|
|
|
+ {{ registerInfo.psnName }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 住院号 </template>
|
|
|
+ {{ registerInfo.iptOtpNo }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 性别 </template>
|
|
|
+ {{ cptSex(registerInfo.gend) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 证件类型 </template>
|
|
|
+ {{ cptPsnCertType(registerInfo.psnCertType) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 证件号码 </template>
|
|
|
+ {{ registerInfo.certno }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 出生日期 </template>
|
|
|
+ {{ registerInfo.brdy }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 险种类型 </template>
|
|
|
+ {{ cptInsutype(registerInfo.insutype) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 医疗类别 </template>
|
|
|
+ {{ cptMedType(registerInfo.medType) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 异地标志 </template>
|
|
|
+ {{ cptYesOrNo(registerInfo.outFlag) }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 开始日期 </template>
|
|
|
+ {{ registerInfo.begndate }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 就诊ID </template>
|
|
|
+ {{ registerInfo.mdtrtId }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 人员编号 </template>
|
|
|
+ {{ registerInfo.psnNo }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+ </div>
|
|
|
</el-dialog>
|
|
|
</el-container>
|
|
|
</template>
|
|
@@ -166,6 +232,7 @@ import { getWards } from '@/api/login'
|
|
|
import { queryInHospitalPatientsInfo } from '@/api/medical-insurance/si-query'
|
|
|
import { cptSex, cptPsnCertType, cptInsutype, cptMedType, cptYesOrNo } from '@/utils/computed'
|
|
|
import { baseinfo, setBaseinfo } from '@/data/inpatient'
|
|
|
+import { getInjuryRegisterInfo } from '@/api/medical-insurance/si-injury'
|
|
|
export default {
|
|
|
setup() {
|
|
|
const ward = reactive({
|
|
@@ -256,21 +323,31 @@ export default {
|
|
|
store.commit('SET_SELECTIONS', val)
|
|
|
}
|
|
|
|
|
|
+ const injuryMode = computed(() => {
|
|
|
+ return store.state.ptnt.injuryMode
|
|
|
+ })
|
|
|
const registerInfo = ref({})
|
|
|
const showRegisterInfo = ref(false)
|
|
|
|
|
|
const getRegInfo = () => {
|
|
|
if (nullPatient()) return
|
|
|
- const param = {
|
|
|
- patNo: patient.value.inpatientNo,
|
|
|
- times: patient.value.admissTimes,
|
|
|
- ledgerSn: patient.value.ledgerSn,
|
|
|
- begntime: patient.value.admissDate,
|
|
|
+ if (injuryMode.value) {
|
|
|
+ getInjuryRegisterInfo(patient.value).then((res) => {
|
|
|
+ registerInfo.value = res
|
|
|
+ showRegisterInfo.value = true
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ const param = {
|
|
|
+ patNo: patient.value.inpatientNo,
|
|
|
+ times: patient.value.admissTimes,
|
|
|
+ ledgerSn: patient.value.ledgerSn,
|
|
|
+ begntime: patient.value.admissDate,
|
|
|
+ }
|
|
|
+ queryInHospitalPatientsInfo(param).then((res) => {
|
|
|
+ registerInfo.value = res[0]
|
|
|
+ showRegisterInfo.value = true
|
|
|
+ })
|
|
|
}
|
|
|
- queryInHospitalPatientsInfo(param).then((res) => {
|
|
|
- registerInfo.value = res[0]
|
|
|
- showRegisterInfo.value = true
|
|
|
- })
|
|
|
}
|
|
|
|
|
|
const currentPage = ref(1)
|
|
@@ -314,6 +391,7 @@ export default {
|
|
|
ward,
|
|
|
permission,
|
|
|
tableHieght,
|
|
|
+ injuryMode,
|
|
|
handleSelectSearchMehtod,
|
|
|
currentMedType,
|
|
|
medTypes,
|