|
@@ -65,6 +65,21 @@
|
|
|
<el-col :span="4">{{ patient.xnhReferralno }}</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
+ <div style="height: 8px"></div>
|
|
|
+ <el-tag size="mini">医保入院诊断</el-tag>
|
|
|
+ <el-table :data="zyInYbDiags" stripe size="mini">
|
|
|
+ <el-table-column prop="diagNo" label="诊断序号"></el-table-column>
|
|
|
+ <el-table-column prop="property" label="诊断属性"></el-table-column>
|
|
|
+ <el-table-column prop="icdCode" label="诊断编码"></el-table-column>
|
|
|
+ <el-table-column prop="icdText" label="诊断名称"></el-table-column>
|
|
|
+ <el-table-column label="诊断类别">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ getDiagTypeName(scope.row.diagType) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="opDate" label="诊断时间"></el-table-column>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
<div class="his-info mt10">
|
|
|
<el-tag size="mini">科室备注信息</el-tag>
|
|
|
<div class="remark">
|
|
@@ -150,7 +165,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { computed, onActivated, onDeactivated, onMounted, ref } from 'vue'
|
|
|
+import { computed, onActivated, onDeactivated, onMounted, ref, watchEffect } from 'vue'
|
|
|
import store from '@/store'
|
|
|
import { cptSex } from '@/utils/computed'
|
|
|
import maleIcon from '@/assets/male-icon.png'
|
|
@@ -159,9 +174,10 @@ import { approveYbsf, rejectYbsf, getUnhandledRequests, handleRequest } from '@/
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import { cptResponceTypeName } from '@/utils/computed'
|
|
|
import { nullPatient } from '@/utils/validate'
|
|
|
-import { getBizAppyTypes, getMedTypesByFlag } from '@/api/medical-insurance/si-dict'
|
|
|
+import { getBizAppyTypes, getMedTypesByFlag, getDiagTypes } from '@/api/medical-insurance/si-dict'
|
|
|
import { checkPersonTreatment, obtainBasicPersonInfo, queryPersonnelAssignmentInfo } from '@/api/medical-insurance/si-query'
|
|
|
import { admissRegister } from '@/api/medical-insurance/si-inpatient'
|
|
|
+import { getZyInYbDiags } from '@/api/yibao/patient'
|
|
|
import { baseinfo } from '@/data/inpatient'
|
|
|
export default {
|
|
|
setup() {
|
|
@@ -181,8 +197,30 @@ export default {
|
|
|
const showTrtInfos = ref(false)
|
|
|
const showPsnInsuinfo = ref(false)
|
|
|
const insuRowClickFlag = ref(null)
|
|
|
-
|
|
|
+ const zyInYbDiags = ref([])
|
|
|
const medTypes = ref([])
|
|
|
+
|
|
|
+ const actived = ref(false)
|
|
|
+ onActivated(() => {
|
|
|
+ actived.value = true
|
|
|
+ store.commit('app/setCurrentPageName', 'medInsVerification')
|
|
|
+ })
|
|
|
+
|
|
|
+ onDeactivated(() => {
|
|
|
+ actived.value = false
|
|
|
+ store.commit('app/setCurrentPageName', '')
|
|
|
+ })
|
|
|
+
|
|
|
+ watchEffect(() => {
|
|
|
+ if (actived.value) {
|
|
|
+ if (patient.value.inpatientNo) {
|
|
|
+ getZyInYbDiags(patient.value.inpatientNo, patient.value.admissTimes).then((res) => {
|
|
|
+ zyInYbDiags.value = res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
const getPsnInsuinfo = (flag) => {
|
|
|
if (nullPatient()) {
|
|
|
return
|
|
@@ -344,13 +382,14 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- onActivated(() => {
|
|
|
- store.commit('app/setCurrentPageName', 'medInsVerification')
|
|
|
- })
|
|
|
-
|
|
|
- onDeactivated(() => {
|
|
|
- store.commit('app/setCurrentPageName', '')
|
|
|
- })
|
|
|
+ const diagTypes = ref([])
|
|
|
+ const getDiagTypeName = (val) => {
|
|
|
+ for (let i = 0; i < diagTypes.value.length; i++) {
|
|
|
+ if (diagTypes.value[i].code === val) {
|
|
|
+ return diagTypes.value[i].name
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
onMounted(() => {
|
|
|
getMedTypesByFlag('hospitalization').then((res) => {
|
|
@@ -359,12 +398,17 @@ export default {
|
|
|
getBizAppyTypes().then((res) => {
|
|
|
bizAppyTypes.value = res
|
|
|
})
|
|
|
+ getDiagTypes().then((res) => {
|
|
|
+ diagTypes.value = res
|
|
|
+ })
|
|
|
})
|
|
|
|
|
|
return {
|
|
|
patient,
|
|
|
+ zyInYbDiags,
|
|
|
tableHeight,
|
|
|
drawerVisible,
|
|
|
+ getDiagTypeName,
|
|
|
cancelData,
|
|
|
maleIcon,
|
|
|
femaleIcon,
|