|
@@ -17,29 +17,57 @@
|
|
<!-- 左侧点击列表部分 -->
|
|
<!-- 左侧点击列表部分 -->
|
|
<div class="cont-left-tiem">
|
|
<div class="cont-left-tiem">
|
|
<ul class="el-menu-vertical-demo el-menu">
|
|
<ul class="el-menu-vertical-demo el-menu">
|
|
- <li class="li-left-item" :class="is_active == 0 ? 'is-active' : ''" @click="clickTree(0, '住院病案')">
|
|
|
|
- <span>住院病案</span>
|
|
|
|
|
|
+ <li v-if="$route.query.from !== 'forewarning'" class="li-left-item" :class="is_active == 0 ? 'is-active' : ''">
|
|
|
|
+ <span class="treeTitle" @click="clickTree(0, '病案首页')">病案首页</span>
|
|
</li>
|
|
</li>
|
|
- <li v-for="(item, index) in treeList" :key="index"
|
|
|
|
- :class="[is_active == item.bllb && item.bllb != 49 ? 'is-active' : '', item.bllb == 49 || [2000002, 294, 303, 329, 288, 34, 87].includes(item.bllb) ? 'li-left-itemyz' : 'li-left-item']"
|
|
|
|
- @click="clickTree(item.bllb, item.name, item)">
|
|
|
|
- <span>{{ item.name }}</span>
|
|
|
|
- <div v-if="item.bllb == 49">
|
|
|
|
- <div :class="['li-left-item-li', is_active == '长期医嘱' ? 'is-active' : '']" data-li="49-1" :id="item.bllb">
|
|
|
|
- 长期医嘱</div>
|
|
|
|
- <div :class="['li-left-item-li', is_active == '临时医嘱' ? 'is-active' : '']" data-li="49-2" :id="item.bllb">
|
|
|
|
- 临时医嘱</div>
|
|
|
|
|
|
+ <li
|
|
|
|
+ v-for="(item, index) in treeList"
|
|
|
|
+ :class="[
|
|
|
|
+ is_active == item.bllb ? 'is-active' : '',
|
|
|
|
+ item.bllb == 49 || [2000002, 294, 303, 329, 288, 87, 43, 2000185, 34].includes(item.bllb) ? 'li-left-itemyz' : 'li-left-item',
|
|
|
|
+ ]"
|
|
|
|
+ :key="index"
|
|
|
|
+ >
|
|
|
|
+ <el-row type="flex" justify="space-between" align="middle">
|
|
|
|
+ <span class="treeTitle" @click="clickTree(item.bllb, item.name, item)">
|
|
|
|
+ {{ item.name }}
|
|
|
|
+ <span v-if="item.bllb == 49">(2)</span>
|
|
|
|
+ <span v-if="(Array.isArray(item.list) && !!item.list.length)">({{item.list.length}})</span>
|
|
|
|
+ </span>
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ v-if="item.bllb == 49 || (Array.isArray(item.list) && !!item.list.length)"
|
|
|
|
+ :class="`el-icon-arrow-${item.collapse ? 'down' : 'up'}`"
|
|
|
|
+ @click.stop="setTreeCollapse(index)"
|
|
|
|
+ />
|
|
|
|
+ </el-row>
|
|
|
|
+ <!-- 医嘱 -->
|
|
|
|
+ <div v-if="item.bllb == 49 && !item.collapse">
|
|
|
|
+ <div :class="['li-left-item-li', is_active == '长期医嘱' ? 'is-active' : '']" data-li="49-1" :id="item.bllb" @click.stop="clickTree(item.bllb, '长期医嘱', {}, true)" >长期医嘱</div>
|
|
|
|
+ <div :class="['li-left-item-li', is_active == '临时医嘱' ? 'is-active' : '']" data-li="49-2" :id="item.bllb" @click.stop="clickTree(item.bllb, '临时医嘱', {}, true)">临时医嘱</div>
|
|
</div>
|
|
</div>
|
|
- <div v-if="item.bllb == 2000002">
|
|
|
|
- <div v-for="(jitem, jindex) in item.list" :id="jitem.type" :key="jindex"
|
|
|
|
- :class="['li-left-item-li', is_active == jitem.ExamType ? 'is-active' : '']">
|
|
|
|
|
|
+ <!-- 报告单 -->
|
|
|
|
+ <div v-if="item.bllb == 2000002 && !item.collapse">
|
|
|
|
+ <div
|
|
|
|
+ v-for="(jitem, jindex) in item.list"
|
|
|
|
+ :key="jindex"
|
|
|
|
+ :id="jitem.type"
|
|
|
|
+ :class="['li-left-item-li', parentType == item.bllb && is_active == jitem.type ? 'is-active' : '']"
|
|
|
|
+ @click.stop="clickTree(item.bllb, jitem.name, jitem, true)"
|
|
|
|
+ >
|
|
{{ jitem.name }}
|
|
{{ jitem.name }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 病程记录、手术记录 -->
|
|
<!-- 病程记录、手术记录 -->
|
|
- <div v-if="[294, 303, 329, 288, 34, 87].includes(item.bllb)">
|
|
|
|
- <div v-for="(jitem, jindex) in item.list" :id="`${jitem.blbh}`" :key="jindex"
|
|
|
|
- :class="['li-left-item-li', is_active == jitem.blbh ? 'is-active' : '']" :title="jitem.name.trim()">
|
|
|
|
|
|
+ <div v-if="[294, 303, 329, 288, 87, 43, 2000185, 34].includes(item.bllb) && !item.collapse">
|
|
|
|
+ <div
|
|
|
|
+ v-for="(jitem, jindex) in item.list"
|
|
|
|
+ :class="['li-left-item-li', parentType == item.bllb && is_active == jitem.blbh ? 'is-active' : '']"
|
|
|
|
+ :key="jindex"
|
|
|
|
+ :id="`${jitem.blbh}`"
|
|
|
|
+ :title="jitem.name.trim()"
|
|
|
|
+ @click.stop="clickTree(item.bllb, jitem.name, jitem, true)"
|
|
|
|
+ >
|
|
{{ jitem.name.trim() }}
|
|
{{ jitem.name.trim() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -48,23 +76,24 @@
|
|
</div>
|
|
</div>
|
|
<div class="cont-left-file" @mouseup.prevent="handleMouseupHandle" @contextmenu.prevent="openMenu($event)">
|
|
<div class="cont-left-file" @mouseup.prevent="handleMouseupHandle" @contextmenu.prevent="openMenu($event)">
|
|
<div v-if="is_active == 0">
|
|
<div v-if="is_active == 0">
|
|
- <mainHomePage ref="main" :data="mainHomeData" :if-file="ifFile" />
|
|
|
|
|
|
+ <mainHomePage :data="mainHomeData" ref="main" :if-file="ifFile"></mainHomePage>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == 292">
|
|
<div v-else-if="parentType == 292">
|
|
<!-- 入院记录 -->
|
|
<!-- 入院记录 -->
|
|
- <admissionRecord :data="admissionRecord" :if-file="ifFile" />
|
|
|
|
|
|
+ <admissionRecord v-if="!admissionRecord.HTML_PRINT" :data="admissionRecord" :ifFile="ifFile"></admissionRecord>
|
|
|
|
+ <NoFormatText :text="admissionRecord.HTML_PRINT" :data="admissionRecord" name="" v-else />
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '1' && is_active == 1">
|
|
<div v-else-if="parentType == '1' && is_active == 1">
|
|
<!-- 出院记录 -->
|
|
<!-- 出院记录 -->
|
|
- <OutHospitalRecord :data="outHospitalRecordData" />
|
|
|
|
|
|
+ <OutHospitalRecord v-if="!outHospitalRecordData.HTML_PRINT" :data="outHospitalRecordData" />
|
|
|
|
+ <NoFormatText :text="outHospitalRecordData.HTML_PRINT" :data="outHospitalRecordData" name="" v-else />
|
|
</div>
|
|
</div>
|
|
- <div v-else-if="parentType == 294">
|
|
|
|
|
|
+ <div v-else-if="[294,329,43, 2000185, 34].includes(parentType) && !([294,329,43, 2000185, 34].includes(is_active))">
|
|
<!-- 病程记录 -->
|
|
<!-- 病程记录 -->
|
|
- <div>病程记录</div>
|
|
|
|
- <CaseRecord v-if="caseRecodeInfo.is_format === 1" :data="caseRecodeInfo" />
|
|
|
|
- <NoFormatText v-else :text="caseRecodeInfo.content" :data="caseRecodeInfo" name="" />
|
|
|
|
|
|
+ <CaseRecord :data="caseRecodeInfo" v-if="caseRecodeInfo.is_format === 1" :ZYH="valData"/>
|
|
|
|
+ <NoFormatText :text="caseRecodeInfo.content" :data="caseRecodeInfo" name="" v-else />
|
|
</div>
|
|
</div>
|
|
- <div v-else-if="parentType == 303">
|
|
|
|
|
|
+ <div v-else-if="parentType == 303 && is_active != 303">
|
|
<!-- 手术记录 -->
|
|
<!-- 手术记录 -->
|
|
<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" />
|
|
@@ -75,43 +104,43 @@
|
|
</div>
|
|
</div>
|
|
<div v-else-if="is_active == '长期医嘱'">
|
|
<div v-else-if="is_active == '长期医嘱'">
|
|
<!-- 长期医嘱 -->
|
|
<!-- 长期医嘱 -->
|
|
- <medicalAdvice :data-obj="longAdvice" />
|
|
|
|
|
|
+ <medicalAdvice :dataObj="longAdvice"></medicalAdvice>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="is_active == '临时医嘱'">
|
|
<div v-else-if="is_active == '临时医嘱'">
|
|
<!-- 临时医嘱 -->
|
|
<!-- 临时医嘱 -->
|
|
- <medicalTemporary :data-obj="happensAdvice" />
|
|
|
|
|
|
+ <medicalTemporary :dataObj="happensAdvice"></medicalTemporary>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '2000002' && is_active == '1'">
|
|
<div v-else-if="parentType == '2000002' && is_active == '1'">
|
|
<!-- 病历图文报告 -->
|
|
<!-- 病历图文报告 -->
|
|
- <caseImageText :data-obj-arr="pacsDetail" />
|
|
|
|
|
|
+ <caseImageText :dataObjArr="pacsDetail"></caseImageText>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '2000002' && is_active == '2'">
|
|
<div v-else-if="parentType == '2000002' && is_active == '2'">
|
|
<!-- 超声诊断 -->
|
|
<!-- 超声诊断 -->
|
|
- <ultrasound :data-obj-arr="pacsDetail" />
|
|
|
|
|
|
+ <ultrasound :dataObjArr="pacsDetail"></ultrasound>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '2000002' && is_active == '3'">
|
|
<div v-else-if="parentType == '2000002' && is_active == '3'">
|
|
<!-- 影像诊断 -->
|
|
<!-- 影像诊断 -->
|
|
- <imaging :data-obj-arr="pacsDetail" />
|
|
|
|
|
|
+ <imaging :dataObjArr="pacsDetail"></imaging>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '2000002' && is_active == '4'">
|
|
<div v-else-if="parentType == '2000002' && is_active == '4'">
|
|
<!-- 为心电 -->
|
|
<!-- 为心电 -->
|
|
- <electrocar :data-obj-arr="pacsDetail" />
|
|
|
|
|
|
+ <electrocar :dataObjArr="pacsDetail"></electrocar>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '2000002' && is_active == '5'">
|
|
<div v-else-if="parentType == '2000002' && is_active == '5'">
|
|
<!-- 检验报告单 病理 -->
|
|
<!-- 检验报告单 病理 -->
|
|
- <checkout :data-obj-arr="pacsDetail" />
|
|
|
|
|
|
+ <checkout :dataObjArr="pacsDetail"></checkout>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="parentType == '2000002' && is_active == '6'">
|
|
<div v-else-if="parentType == '2000002' && is_active == '6'">
|
|
<!-- 內窥镜检查报告 病理 -->
|
|
<!-- 內窥镜检查报告 病理 -->
|
|
- <sightGlass :data-obj-arr="pacsDetail" />
|
|
|
|
|
|
+ <sightGlass :dataObjArr="pacsDetail"></sightGlass>
|
|
</div>
|
|
</div>
|
|
<div v-else-if="is_active == 288 || is_active == 18">
|
|
<div v-else-if="is_active == 288 || is_active == 18">
|
|
- <!-- 死亡记录 或者 24小时内入院记录 -->
|
|
|
|
- <DeathText :data-obj-arr="dataObj" v-if="update" />
|
|
|
|
|
|
+ <!-- 死亡记录 或 24小时内入院记录 -->
|
|
|
|
+ <DeathText :dataObjArr="dataObj"></DeathText>
|
|
</div>
|
|
</div>
|
|
<div v-else>
|
|
<div v-else>
|
|
<div v-if="update">
|
|
<div v-if="update">
|
|
- <newContFile v-for="(item, index) of text" :key="index" :text="item.HJNR" :name="name_title" />
|
|
|
|
|
|
+ <newContFile v-for="(item, index) of text" :key="index" :data="item" :name="name_title"></newContFile>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -349,6 +378,9 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
+ setTreeCollapse(index) {
|
|
|
|
+ this.$set(this.treeList[index], 'collapse', !(this.treeList[index].collapse))
|
|
|
|
+ },
|
|
getInitData() {
|
|
getInitData() {
|
|
this.valData = this.$route.query.ZYH
|
|
this.valData = this.$route.query.ZYH
|
|
if (this.valData) {
|
|
if (this.valData) {
|
|
@@ -500,151 +532,137 @@ export default {
|
|
that.treeList = res.data
|
|
that.treeList = res.data
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- clickTree(b, n, item) {
|
|
|
|
|
|
+ clickTree(b, n, item, isLeaf = false) {
|
|
this.currentTreeItem.blbh = ''
|
|
this.currentTreeItem.blbh = ''
|
|
if (item) {
|
|
if (item) {
|
|
- if (item.blbh) {
|
|
|
|
- this.is_active_blbh = item.blbh
|
|
|
|
- } else {
|
|
|
|
- this.is_active_blbh = event.target.id
|
|
|
|
|
|
+ if (isLeaf) {
|
|
|
|
+ if(n == '长期医嘱' || n == '临时医嘱') {
|
|
|
|
+ this.is_active = n
|
|
|
|
+ } else if (b == '2000002') { // 报告单
|
|
|
|
+ this.is_active = item.type
|
|
|
|
+ } else {
|
|
|
|
+ this.is_active = item.blbh
|
|
|
|
+ }
|
|
|
|
+ } else { // 如果不是叶子节点
|
|
|
|
+ this.is_active = b;
|
|
}
|
|
}
|
|
- } else {
|
|
|
|
- // this.is_active_blbh = this.mainHomeData.MED_REC_ID
|
|
|
|
|
|
+ } else { // 病案首页
|
|
this.is_active = 0;
|
|
this.is_active = 0;
|
|
this.funQuery();
|
|
this.funQuery();
|
|
}
|
|
}
|
|
- this.titleName = n
|
|
|
|
- this.parentType = b
|
|
|
|
- const that = this
|
|
|
|
- // 判断点击的
|
|
|
|
- if (event.target.id || !item?.list) {
|
|
|
|
- if (event.target.outerText == '长期医嘱' || event.target.outerText == '临时医嘱') {
|
|
|
|
- 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 {
|
|
|
|
- that.is_active = b;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- that.name_title = n
|
|
|
|
- if (b != 0 && b != 292 && b != 1) {
|
|
|
|
|
|
+ this.titleName = n;
|
|
|
|
+ this.parentType = b;
|
|
|
|
+ let that = this;
|
|
|
|
+ that.name_title = n;
|
|
|
|
+ console.log('>>>>>>>>>>>>', this.parentType,this.is_active )
|
|
|
|
+ if (b != 0 && b != 292 && b != 1 && !isLeaf) {
|
|
const params = {
|
|
const params = {
|
|
MED_REC_ID: that.valData,
|
|
MED_REC_ID: that.valData,
|
|
- bllb: b
|
|
|
|
- }
|
|
|
|
|
|
+ bllb: b,
|
|
|
|
+ };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- params.is_tm = 1
|
|
|
|
|
|
+ params.is_tm = 1;
|
|
}
|
|
}
|
|
- this.$axios.post('/getAllCase', params).then(res => {
|
|
|
|
- that.text = res.data
|
|
|
|
- that.dataObj = res.data
|
|
|
|
- that.reload()
|
|
|
|
- })
|
|
|
|
|
|
+ that.$axios.post('/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 = {
|
|
id: this.valData,
|
|
id: this.valData,
|
|
- bllb: b
|
|
|
|
- }
|
|
|
|
|
|
+ bllb: b,
|
|
|
|
+ };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- params.is_tm = '1'
|
|
|
|
|
|
+ params.is_tm = '1';
|
|
}
|
|
}
|
|
- getCasePlatform(params).then(res => {
|
|
|
|
- this.admissionRecord = res.data
|
|
|
|
|
|
+ that.$axios2.post('/get_case_platform', params).then(res => {
|
|
|
|
+ this.admissionRecord = res.data;
|
|
this.currentTreeItem.blbh = res.data.blbh
|
|
this.currentTreeItem.blbh = res.data.blbh
|
|
- })
|
|
|
|
|
|
+ });
|
|
} else if (b == 1) {
|
|
} else if (b == 1) {
|
|
- // 获取详情
|
|
|
|
|
|
+ // 获取详情-出院记录
|
|
const params = {
|
|
const params = {
|
|
id: this.valData,
|
|
id: this.valData,
|
|
- bllb: b
|
|
|
|
- }
|
|
|
|
|
|
+ bllb: b,
|
|
|
|
+ };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- params.is_tm = 1
|
|
|
|
|
|
+ params.is_tm = 1;
|
|
}
|
|
}
|
|
- getCasePlatform(params).then(res => {
|
|
|
|
|
|
+ that.$axios2.post('/get_case_platform', params).then(res => {
|
|
this.outHospitalRecordData = res.data;
|
|
this.outHospitalRecordData = res.data;
|
|
this.currentTreeItem.blbh = res.data.blbh
|
|
this.currentTreeItem.blbh = res.data.blbh
|
|
- })
|
|
|
|
|
|
+ });
|
|
}
|
|
}
|
|
if (that.is_active == '长期医嘱') {
|
|
if (that.is_active == '长期医嘱') {
|
|
// 长期医嘱
|
|
// 长期医嘱
|
|
const params = {
|
|
const params = {
|
|
- AAA28: that.valData
|
|
|
|
- }
|
|
|
|
|
|
+ AAA28: that.valData,
|
|
|
|
+ };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- params.is_tm = 1
|
|
|
|
|
|
+ params.is_tm = 1;
|
|
}
|
|
}
|
|
- getLong(params).then(res => {
|
|
|
|
- this.longAdvice = res.data
|
|
|
|
- })
|
|
|
|
|
|
+ that.$axios.post('/long', params).then(res => {
|
|
|
|
+ this.longAdvice = res.data;
|
|
|
|
+ });
|
|
}
|
|
}
|
|
if (that.is_active == '临时医嘱') {
|
|
if (that.is_active == '临时医嘱') {
|
|
// 临时医嘱
|
|
// 临时医嘱
|
|
const params = {
|
|
const params = {
|
|
- AAA28: that.valData
|
|
|
|
- }
|
|
|
|
|
|
+ AAA28: that.valData,
|
|
|
|
+ };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- params.is_tm = 1
|
|
|
|
|
|
+ params.is_tm = 1;
|
|
}
|
|
}
|
|
- getTemporary(params).then(res => {
|
|
|
|
- this.happensAdvice = res.data
|
|
|
|
- })
|
|
|
|
|
|
+ that.$axios.post('/temporary', params).then(res => {
|
|
|
|
+ this.happensAdvice = res.data;
|
|
|
|
+ });
|
|
}
|
|
}
|
|
- if (that.parentType == '2000002' && that.is_active != '') {
|
|
|
|
|
|
+ if (that.parentType == '2000002' && isLeaf) {
|
|
// 报告单 相关
|
|
// 报告单 相关
|
|
- const parm = {
|
|
|
|
- type: Number(that.is_active)
|
|
|
|
- }
|
|
|
|
|
|
+ let parm = {
|
|
|
|
+ type: Number(that.is_active),
|
|
|
|
+ };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- parm.is_tm = 1
|
|
|
|
|
|
+ parm.is_tm = 1;
|
|
}
|
|
}
|
|
- const treeListArr = Object.values(that.treeList)
|
|
|
|
- treeListArr.forEach((item, index) => {
|
|
|
|
- if (item.bllb == 2000002) {
|
|
|
|
- parm.zyh = Number(item.list[0].ZYH)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
- getPacsData(parm).then(res => {
|
|
|
|
- this.pacsDetail = res.data
|
|
|
|
- })
|
|
|
|
|
|
+ parm.zyh = item.ZYH
|
|
|
|
+ that.$axios.post('/get_pacs_data', parm).then(res => {
|
|
|
|
+ this.pacsDetail = res.data;
|
|
|
|
+ });
|
|
}
|
|
}
|
|
// 病程记录
|
|
// 病程记录
|
|
- if (item.bllb === 294) {
|
|
|
|
- if (that.is_active) {
|
|
|
|
|
|
+ if ([294,329,43, 2000185, 34].includes(b) && isLeaf) {
|
|
|
|
+ // if (that.is_active) {
|
|
// 请求前先重置之前的数据
|
|
// 请求前先重置之前的数据
|
|
- that.caseRecodeInfo = {}
|
|
|
|
- const parm = { blbh: that.is_active }
|
|
|
|
|
|
+ that.caseRecodeInfo = {};
|
|
|
|
+ let parm = { blbh: item.blbh };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- parm.is_tm = 1
|
|
|
|
|
|
+ parm.is_tm = 1;
|
|
}
|
|
}
|
|
- getBcData(parm).then(res => {
|
|
|
|
- that.caseRecodeInfo = res.data[0].bc_data
|
|
|
|
- that.caseRecodeInfo.is_format = res.data[0].is_format
|
|
|
|
|
|
+ that.$axios.post('/get_bc_data', parm).then(res => {
|
|
|
|
+ that.caseRecodeInfo = res.data[0].bc_data;
|
|
|
|
+ that.caseRecodeInfo.is_format = res.data[0].is_format;
|
|
that.currentTreeItem.blbh = res.data[0].blbh
|
|
that.currentTreeItem.blbh = res.data[0].blbh
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ });
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
// 手术记录
|
|
// 手术记录
|
|
- if (item.bllb === 303) {
|
|
|
|
- if (that.is_active) {
|
|
|
|
|
|
+ if (b == 303 && isLeaf) {
|
|
|
|
+ // if (that.is_active) {
|
|
// 请求前先重置之前的数据
|
|
// 请求前先重置之前的数据
|
|
- that.surgeryData = {}
|
|
|
|
- const parm = { blbh: that.is_active }
|
|
|
|
|
|
+ that.surgeryData = {};
|
|
|
|
+ let parm = { blbh: item.blbh };
|
|
if (this.$route.query.status) {
|
|
if (this.$route.query.status) {
|
|
- parm.is_tm = 1
|
|
|
|
|
|
+ parm.is_tm = 1;
|
|
}
|
|
}
|
|
- getSurgeryData(parm).then(res => {
|
|
|
|
- that.surgeryData = res.p[0].surgery_data
|
|
|
|
- that.surgeryData.is_format = res.p[0].is_format
|
|
|
|
|
|
+ that.$axios.post('/get_surgery_data', parm).then(res => {
|
|
|
|
+ that.surgeryData = res.data[0].surgery_data;
|
|
|
|
+ that.surgeryData.is_format = res.data[0].is_format;
|
|
that.currentTreeItem.blbh = res.p[0].blbh
|
|
that.currentTreeItem.blbh = res.p[0].blbh
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ });
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -762,7 +780,7 @@ export default {
|
|
line-height: 56px;
|
|
line-height: 56px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
color: #303133;
|
|
color: #303133;
|
|
- padding-left: 20px;
|
|
|
|
|
|
+ padding: 0 20px;
|
|
|
|
|
|
-webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s;
|
|
-webkit-transition: border-color 0.3s, background-color 0.3s, color 0.3s;
|
|
transition: border-color 0.3s, background-color 0.3s, color 0.3s;
|
|
transition: border-color 0.3s, background-color 0.3s, color 0.3s;
|