|
@@ -56,6 +56,7 @@
|
|
|
</span>
|
|
|
<span v-else>
|
|
|
<NoValueInputVue :data="blInfo.patient_address_info.AAA11" />
|
|
|
+ (区)
|
|
|
</span>
|
|
|
</td>
|
|
|
<td class="label AAA43 AAA44" :class="{'jy': hasIntersection(zk_codes.jy, ['AAA43', 'AAA44']), 'qz': hasIntersection(zk_codes.qz, ['AAA43', 'AAA44'])}">籍贯</td>
|
|
@@ -97,6 +98,7 @@
|
|
|
</span>
|
|
|
<span v-else>
|
|
|
<NoValueInputVue :data="blInfo.patient_address_info.AAA50" />
|
|
|
+ (区)
|
|
|
</span>
|
|
|
<NoValueInputVue :data="blInfo.patient_address_info.AAA15" />
|
|
|
</td>
|
|
@@ -122,6 +124,7 @@
|
|
|
</span>
|
|
|
<span v-else>
|
|
|
<NoValueInputVue :data="blInfo.patient_address_info.AAA47" />
|
|
|
+ (区)
|
|
|
</span>
|
|
|
<NoValueInputVue :data="blInfo.patient_address_info.AAA12" />
|
|
|
</td>
|
|
@@ -211,12 +214,12 @@
|
|
|
<!-- 诊断信息 -->
|
|
|
<table class="table">
|
|
|
<tr>
|
|
|
- <th class="label" colspan="3">出院诊断</th>
|
|
|
- <th class="label">疾病编码</th>
|
|
|
- <th class="label">入院病情</th>
|
|
|
- <th class="label" colspan="3">出院诊断</th>
|
|
|
- <th class="label">疾病编码</th>
|
|
|
- <th class="label">入院病情</th>
|
|
|
+ <th class="label" colspan="3" :class="{'jy': hasIntersection(zk_codes.jy, ['ICD10_NAME']), 'qz': hasIntersection(zk_codes.qz, ['ICD10_NAME'])}">出院诊断</th>
|
|
|
+ <th class="label" :class="{'jy': hasIntersection(zk_codes.jy, ['ICD10_ID1']), 'qz': hasIntersection(zk_codes.qz, ['ICD10_ID1'])}">疾病编码</th>
|
|
|
+ <th class="label" :class="{'jy': hasIntersection(zk_codes.jy, ['RYQK']), 'qz': hasIntersection(zk_codes.qz, ['RYQK'])}">入院病情</th>
|
|
|
+ <th class="label" colspan="3" :class="{'jy': hasIntersection(zk_codes.jy, ['ICD10_NAME']), 'qz': hasIntersection(zk_codes.qz, ['ICD10_NAME'])}">出院诊断</th>
|
|
|
+ <th class="label" :class="{'jy': hasIntersection(zk_codes.jy, ['ICD10_ID1']), 'qz': hasIntersection(zk_codes.qz, ['ICD10_ID1'])}">疾病编码</th>
|
|
|
+ <th class="label" :class="{'jy': hasIntersection(zk_codes.jy, ['RYQK']), 'qz': hasIntersection(zk_codes.qz, ['RYQK'])}">入院病情</th>
|
|
|
</tr>
|
|
|
<tr v-for="i of zdRows" :key="'zd' + i">
|
|
|
<td colspan="3">{{ zdList[i - 1] ? `${zdLevel(i)}` + (zdList[i - 1].ICD10_NAME ? zdList[i - 1].ICD10_NAME : '') : '' }}</td>
|
|
@@ -1372,7 +1375,6 @@ export default {
|
|
|
},
|
|
|
// 判断两个数组是否存在交际
|
|
|
hasIntersection(arr1, arr2) {
|
|
|
- console.log(arr1, arr2, 8989)
|
|
|
// 在arr1中筛选出arr2中存在的元素
|
|
|
const filtered = arr1.filter(item => arr2.includes(item));
|
|
|
// 如果筛选后的数组长度大于0,则存在交集
|
|
@@ -1485,13 +1487,13 @@ export default {
|
|
|
border-radius: 2px;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
+.jy {
|
|
|
+ color: #178691 !important;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
.qz {
|
|
|
color: #FB5C4F !important;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
-.jy {
|
|
|
- color: #178691 !important;
|
|
|
- font-weight: bold;
|
|
|
-}
|
|
|
</style>
|