|
@@ -50,12 +50,13 @@
|
|
<!-- 出院记录 -->
|
|
<!-- 出院记录 -->
|
|
<OutHospitalRecord :data="outHospitalRecordData" />
|
|
<OutHospitalRecord :data="outHospitalRecordData" />
|
|
</div>
|
|
</div>
|
|
- <div v-else-if="bcjlLiIds.includes(Number(is_active))">
|
|
|
|
|
|
+ <div v-else-if="bcjlLiIds.includes(is_active)">
|
|
<!-- 病程记录 -->
|
|
<!-- 病程记录 -->
|
|
|
|
+ <div>病程记录</div>
|
|
<CaseRecord v-if="caseRecodeInfo.is_format === 1" :data="caseRecodeInfo" />
|
|
<CaseRecord v-if="caseRecodeInfo.is_format === 1" :data="caseRecodeInfo" />
|
|
<NoFormatText v-else :text="caseRecodeInfo.content" :data="caseRecodeInfo" name="" />
|
|
<NoFormatText v-else :text="caseRecodeInfo.content" :data="caseRecodeInfo" name="" />
|
|
</div>
|
|
</div>
|
|
- <div v-else-if="shoushuLiIds.includes(Number(is_active))">
|
|
|
|
|
|
+ <div v-else-if="shoushuLiIds.includes(is_active)">
|
|
<!-- 手术记录 -->
|
|
<!-- 手术记录 -->
|
|
<template v-if="surgeryData.is_format">
|
|
<template v-if="surgeryData.is_format">
|
|
<ShouShuRecord1 v-if="surgeryData.type === 1" :data="surgeryData" />
|
|
<ShouShuRecord1 v-if="surgeryData.type === 1" :data="surgeryData" />
|
|
@@ -482,46 +483,41 @@ export default {
|
|
this.is_active_blbh = event.target.id
|
|
this.is_active_blbh = event.target.id
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- this.is_active_blbh = this.mainHomeData.MED_REC_ID
|
|
|
|
|
|
+ // this.is_active_blbh = this.mainHomeData.MED_REC_ID
|
|
|
|
+ this.is_active = 0;
|
|
|
|
+ this.funQuery();
|
|
}
|
|
}
|
|
this.titleName = n
|
|
this.titleName = n
|
|
this.parentType = b
|
|
this.parentType = b
|
|
const that = this
|
|
const that = this
|
|
// 判断点击的
|
|
// 判断点击的
|
|
- if (event.target.id || !item.list) {
|
|
|
|
|
|
+ if (event.target.id || !item?.list) {
|
|
if (event.target.outerText == '长期医嘱' || event.target.outerText == '临时医嘱') {
|
|
if (event.target.outerText == '长期医嘱' || event.target.outerText == '临时医嘱') {
|
|
- that.is_active = event.target.outerText
|
|
|
|
- } else if ([329, 288, 34, 87, 303, 294, 2000002].includes(b)) {
|
|
|
|
- that.is_active = event.target.id
|
|
|
|
|
|
+ that.is_active = event.target.outerText;
|
|
|
|
+ } else if (b == 2000002) {
|
|
|
|
+ that.is_active = event.target.id;
|
|
|
|
+ } else if (b == 294) {
|
|
|
|
+ that.is_active = event.target.id;
|
|
|
|
+ } else if (b == 303) {
|
|
|
|
+ that.is_active = event.target.id;
|
|
} else {
|
|
} else {
|
|
- that.is_active = b
|
|
|
|
|
|
+ that.is_active = b;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
that.name_title = n
|
|
that.name_title = n
|
|
if (b != 0 && b != 292 && b != 1) {
|
|
if (b != 0 && b != 292 && b != 1) {
|
|
- if ([329, 288, 34, 87].includes(b)) {
|
|
|
|
- // 授权同意类, 医患沟通类, 死亡记录类, 医疗常用表格
|
|
|
|
- if (this.is_active_blbh) {
|
|
|
|
- getBlInfo({blbh: this.is_active_blbh}).then(res => {
|
|
|
|
- that.text = [res.p]
|
|
|
|
- that.dataObj = [res.p]
|
|
|
|
- that.reload()
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
- const params = {
|
|
|
|
- MED_REC_ID: that.valData,
|
|
|
|
- bllb: b
|
|
|
|
- }
|
|
|
|
- if (this.$route.query.status) {
|
|
|
|
- params.is_tm = 1
|
|
|
|
- }
|
|
|
|
- getAllCase(params).then(res => {
|
|
|
|
- that.text = res.p
|
|
|
|
- that.dataObj = res.p
|
|
|
|
- that.reload()
|
|
|
|
- })
|
|
|
|
|
|
+ const params = {
|
|
|
|
+ MED_REC_ID: that.valData,
|
|
|
|
+ bllb: b
|
|
|
|
+ }
|
|
|
|
+ if (this.$route.query.status) {
|
|
|
|
+ params.is_tm = 1
|
|
}
|
|
}
|
|
|
|
+ getAllCase(params).then(res => {
|
|
|
|
+ that.text = res.data
|
|
|
|
+ that.dataObj = res.data
|
|
|
|
+ that.reload()
|
|
|
|
+ })
|
|
} else if (b == 292) {
|
|
} else if (b == 292) {
|
|
// 获取详情
|
|
// 获取详情
|
|
const params = {
|
|
const params = {
|
|
@@ -532,7 +528,7 @@ export default {
|
|
params.is_tm = '1'
|
|
params.is_tm = '1'
|
|
}
|
|
}
|
|
getCasePlatform(params).then(res => {
|
|
getCasePlatform(params).then(res => {
|
|
- this.admissionRecord = res.p
|
|
|
|
|
|
+ this.admissionRecord = res.data
|
|
})
|
|
})
|
|
} else if (b == 1) {
|
|
} else if (b == 1) {
|
|
// 获取详情
|
|
// 获取详情
|
|
@@ -544,7 +540,7 @@ export default {
|
|
params.is_tm = 1
|
|
params.is_tm = 1
|
|
}
|
|
}
|
|
getCasePlatform(params).then(res => {
|
|
getCasePlatform(params).then(res => {
|
|
- this.outHospitalRecordData = res.p
|
|
|
|
|
|
+ this.outHospitalRecordData = res.data;
|
|
})
|
|
})
|
|
}
|
|
}
|
|
if (that.is_active == '长期医嘱') {
|
|
if (that.is_active == '长期医嘱') {
|
|
@@ -587,7 +583,7 @@ export default {
|
|
})
|
|
})
|
|
|
|
|
|
getPacsData(parm).then(res => {
|
|
getPacsData(parm).then(res => {
|
|
- this.pacsDetail = res.p
|
|
|
|
|
|
+ this.pacsDetail = res.data
|
|
})
|
|
})
|
|
}
|
|
}
|
|
// 病程记录
|
|
// 病程记录
|
|
@@ -600,8 +596,8 @@ export default {
|
|
parm.is_tm = 1
|
|
parm.is_tm = 1
|
|
}
|
|
}
|
|
getBcData(parm).then(res => {
|
|
getBcData(parm).then(res => {
|
|
- that.caseRecodeInfo = res.p[0].bc_data
|
|
|
|
- that.caseRecodeInfo.is_format = res.p[0].is_format
|
|
|
|
|
|
+ that.caseRecodeInfo = res.data[0].bc_data
|
|
|
|
+ that.caseRecodeInfo.is_format = res.data[0].is_format
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|