Browse Source

终末病历质控-病案详情:质控结果中质控依据的解析显示根据字段类型值判断渲染

liyanyan 1 day ago
parent
commit
8d2310c659
1 changed files with 10 additions and 13 deletions
  1. 10 13
      src/views/allcase/components/CaseQualityBox2.vue

+ 10 - 13
src/views/allcase/components/CaseQualityBox2.vue

@@ -136,19 +136,16 @@
               <div class="list-basis-text">
                 <div class="list-basis-text-t" :class="item.show?'show':''">
                   <div v-for="(yItem, yIndex) of item.basis" :key="yIndex" style="margin-bottom: 10px;">
-                    <div v-if="item.rule_id !== 6">
-                      <span class="span-index">{{ yIndex+1 }}</span>
-                      <span v-if="item.category=='入院记录'">
-                      <span v-for="(cItem, cIndex) of yItem" :key="cIndex" @click="hightRight(cItem,292,item.JZHM)" v-html="cItem"></span>
-                    </span>
-                      <span v-else>
-                      <span v-for="(cItem, cIndex) of yItem" :key="cIndex" v-html="cItem"></span>
-                    </span>
-                    </div>
-                    <div v-else>
-                      <span class="span-index">1</span>
-                      <span style="font-size: 13px;">{{ yItem[0] }}</span>
-                    </div>
+                      <div v-if="typeof yItem == 'string'">
+                        <span class="span-index">{{ yIndex+1 }}</span>
+                          <span>{{yItem}}</span><br/>
+                      </div>
+                       <div v-else>
+                        <span class="span-index">{{ yIndex+1 }}</span>
+                        <span v-for="(cItem, cIndex) in yItem" :key="cIndex">
+                          <span v-if="!isNaN(parseFloat(cIndex))" style="line-height: 25px">{{cItem}}</span><br/>
+                        </span>
+                      </div>
                   </div>
                 </div>
                 <div class="list-basis-bottom-box" v-if="$route.path == '/whitelist-caseControl'">