|
@@ -10,9 +10,9 @@
|
|
<table class="table">
|
|
<table class="table">
|
|
<tr>
|
|
<tr>
|
|
<td class="label ZA03" :class="{'jy': hasIntersection(zk_codes.jy, ['ZA03']), 'qz': hasIntersection(zk_codes.qz, ['ZA03'])}">医疗机构</td>
|
|
<td class="label ZA03" :class="{'jy': hasIntersection(zk_codes.jy, ['ZA03']), 'qz': hasIntersection(zk_codes.qz, ['ZA03'])}">医疗机构</td>
|
|
- <td colspan="5">{{ blInfo.patient_other_info.ZA03 }}</td>
|
|
|
|
|
|
+ <td colspan="5" :class="{'jy_bg': hasIntersection(active_zk_codes.jy, ['ZA03']), 'qz_bg': hasIntersection(active_zk_codes.qz, ['ZA03'])}">{{ blInfo.patient_other_info.ZA03 }}</td>
|
|
<td class="label TYSHXYDM UNT_ID" :class="{'jy': hasIntersection(zk_codes.jy, ['TYSHXYDM', 'UNT_ID']), 'qz': hasIntersection(zk_codes.qz, ['TYSHXYDM', 'UNT_ID'])}">统一社会信用代码</td>
|
|
<td class="label TYSHXYDM UNT_ID" :class="{'jy': hasIntersection(zk_codes.jy, ['TYSHXYDM', 'UNT_ID']), 'qz': hasIntersection(zk_codes.qz, ['TYSHXYDM', 'UNT_ID'])}">统一社会信用代码</td>
|
|
- <td colspan="5">
|
|
|
|
|
|
+ <td colspan="5" :class="{'jy_bg': hasIntersection(active_zk_codes.jy, ['TYSHXYDM', 'UNT_ID']), 'qz_bg': hasIntersection(active_zk_codes.qz, ['TYSHXYDM', 'UNT_ID'])}">
|
|
<NoValueInputVue :data="blInfo.patient_add.TYSHXYDM" />
|
|
<NoValueInputVue :data="blInfo.patient_add.TYSHXYDM" />
|
|
(组织机构机构代码:
|
|
(组织机构机构代码:
|
|
<NoValueInputVue :data="blInfo.patient_other_info.UNT_ID" />
|
|
<NoValueInputVue :data="blInfo.patient_other_info.UNT_ID" />
|
|
@@ -21,11 +21,11 @@
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="label AAA26C" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA26C']), 'qz': hasIntersection(zk_codes.qz, ['AAA26C'])}">医疗付费方式</td>
|
|
<td class="label AAA26C" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA26C']), 'qz': hasIntersection(zk_codes.qz, ['AAA26C'])}">医疗付费方式</td>
|
|
- <td colspan="5">{{ blInfo.patient_info.AAA26C }}</td>
|
|
|
|
|
|
+ <td colspan="5" :class="{'jy_bg': hasIntersection(active_zk_codes.jy, ['AAA26C']), 'qz_bg': hasIntersection(active_zk_codes.qz, ['AAA26C'])}">{{ blInfo.patient_info.AAA26C }}</td>
|
|
<td class="label JKKH" :class="{'jy': hasIntersection(zk_codes.jy, ['JKKH']), 'qz': hasIntersection(zk_codes.qz, ['JKKH'])}">健康卡号</td>
|
|
<td class="label JKKH" :class="{'jy': hasIntersection(zk_codes.jy, ['JKKH']), 'qz': hasIntersection(zk_codes.qz, ['JKKH'])}">健康卡号</td>
|
|
- <td colspan="3">{{ blInfo.patient_add.JKKH }}</td>
|
|
|
|
|
|
+ <td colspan="3" :class="{'jy_bg': hasIntersection(active_zk_codes.jy, ['JKKH']), 'qz_bg': hasIntersection(active_zk_codes.qz, ['JKKH'])}">{{ blInfo.patient_add.JKKH }}</td>
|
|
<td class="label AAA29" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA29']), 'qz': hasIntersection(zk_codes.qz, ['AAA29'])}">住院次数</td>
|
|
<td class="label AAA29" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA29']), 'qz': hasIntersection(zk_codes.qz, ['AAA29'])}">住院次数</td>
|
|
- <td>{{ blInfo.patient_info.AAA29 }}</td>
|
|
|
|
|
|
+ <td :class="{'jy_bg': hasIntersection(active_zk_codes.jy, ['AAA29']), 'qz_bg': hasIntersection(active_zk_codes.qz, ['AAA29'])}">{{ blInfo.patient_info.AAA29 }}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
<td class="label AAA01" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA01']), 'qz': hasIntersection(zk_codes.qz, ['AAA01'])}">姓名</td>
|
|
<td class="label AAA01" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA01']), 'qz': hasIntersection(zk_codes.qz, ['AAA01'])}">姓名</td>
|
|
@@ -1309,7 +1309,10 @@ export default {
|
|
qz: [],
|
|
qz: [],
|
|
jy: []
|
|
jy: []
|
|
},
|
|
},
|
|
- zk_level: 0
|
|
|
|
|
|
+ active_zk_codes: {
|
|
|
|
+ qz: [],
|
|
|
|
+ jy: []
|
|
|
|
+ }
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -1361,16 +1364,16 @@ export default {
|
|
},
|
|
},
|
|
// 质控栏锚点及高亮
|
|
// 质控栏锚点及高亮
|
|
handleZK(val) {
|
|
handleZK(val) {
|
|
- const { level, zk } = val
|
|
|
|
- const { key, field } = zk
|
|
|
|
|
|
+ console.log(val, 89898)
|
|
|
|
+ const { anchor, codes } = val
|
|
|
|
+ const { key, field } = anchor
|
|
|
|
+ this.active_zk_codes = codes
|
|
if (key === 'user') {
|
|
if (key === 'user') {
|
|
this.highlight_code = field
|
|
this.highlight_code = field
|
|
- this.zk_level = level
|
|
|
|
document.querySelector(`.${field}`).scrollIntoView({ behavior: 'smooth', block: 'center' })
|
|
document.querySelector(`.${field}`).scrollIntoView({ behavior: 'smooth', block: 'center' })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleCodes(codes) {
|
|
handleCodes(codes) {
|
|
- console.log(codes, 'zkcodes')
|
|
|
|
this.$set(this, 'zk_codes', codes)
|
|
this.$set(this, 'zk_codes', codes)
|
|
},
|
|
},
|
|
// 判断两个数组是否存在交际
|
|
// 判断两个数组是否存在交际
|
|
@@ -1455,6 +1458,12 @@ export default {
|
|
color: #333333;
|
|
color: #333333;
|
|
padding: 0 12px;
|
|
padding: 0 12px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
|
|
+ &.jy_bg {
|
|
|
|
+ background: rgba($color: #178691, $alpha: 0.2);
|
|
|
|
+ }
|
|
|
|
+ &.qz_bg {
|
|
|
|
+ background: rgba($color: #ED3028, $alpha: 0.2);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
td.label {
|
|
td.label {
|
|
width: 140px;
|
|
width: 140px;
|
|
@@ -1462,12 +1471,28 @@ export default {
|
|
color: #666666;
|
|
color: #666666;
|
|
background-color: #ebebeb;
|
|
background-color: #ebebeb;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ &.jy {
|
|
|
|
+ color: #178691;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
|
|
+ &.qz {
|
|
|
|
+ color: #FB5C4F;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
th.label {
|
|
th.label {
|
|
height: 40px;
|
|
height: 40px;
|
|
color: #666666;
|
|
color: #666666;
|
|
background-color: #ebebeb;
|
|
background-color: #ebebeb;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ &.jy {
|
|
|
|
+ color: #178691;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
|
|
+ &.qz {
|
|
|
|
+ color: #FB5C4F;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.center {
|
|
.center {
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -1487,13 +1512,6 @@ export default {
|
|
border-radius: 2px;
|
|
border-radius: 2px;
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
-.jy {
|
|
|
|
- color: #178691 !important;
|
|
|
|
- font-weight: bold;
|
|
|
|
-}
|
|
|
|
-.qz {
|
|
|
|
- color: #FB5C4F !important;
|
|
|
|
- font-weight: bold;
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
|
|
|
|
</style>
|
|
</style>
|