|
@@ -15,8 +15,8 @@
|
|
>
|
|
>
|
|
<span>{{ item.name }}</span>
|
|
<span>{{ item.name }}</span>
|
|
<div v-if="item.bllb == 49">
|
|
<div v-if="item.bllb == 49">
|
|
- <div :class="['li-left-item-li', is_active == '长期医嘱' ? 'is-active' : '']" data-li="49-1">长期医嘱</div>
|
|
|
|
- <div :class="['li-left-item-li', is_active == '临时医嘱' ? 'is-active' : '']" data-li="49-2">临时医嘱</div>
|
|
|
|
|
|
+ <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>
|
|
</div>
|
|
</div>
|
|
<div v-if="item.bllb == 2000002">
|
|
<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-for="(jitem, jindex) in item.list" :id="jitem.type" :key="jindex" :class="['li-left-item-li', is_active == jitem.ExamType ? 'is-active' : '']">
|
|
@@ -391,11 +391,7 @@ export default {
|
|
if (item.blbh) {
|
|
if (item.blbh) {
|
|
this.is_active_blbh = item.blbh
|
|
this.is_active_blbh = item.blbh
|
|
} else {
|
|
} else {
|
|
- if (event.target.id) {
|
|
|
|
- this.is_active_blbh = event.target.id
|
|
|
|
- } else {
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ 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
|
|
@@ -404,12 +400,14 @@ export default {
|
|
this.parentType = b
|
|
this.parentType = b
|
|
const that = this
|
|
const that = this
|
|
// 判断点击的
|
|
// 判断点击的
|
|
- 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
|
|
|
|
- } else {
|
|
|
|
- that.is_active = b
|
|
|
|
|
|
+ if (event.target.id || !item.list) {
|
|
|
|
+ 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
|
|
|
|
+ } else {
|
|
|
|
+ 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) {
|