Parcourir la source

样本来源鼠标悬浮显示扩展字段信息

jianglw il y a 4 ans
Parent
commit
1c971a0e9c

+ 3 - 4
src/dashoo.cn/frontend_animal/src/pages/biobank/source/animal.vue

@@ -124,10 +124,9 @@
             <template v-if="item.filed === 'Genus'">
               <el-popover trigger="hover" placement="top">
                 <template v-for="item in ExpandInfoList">
-<!--                  <p v-if="item.FieldName == scope.row[item.FieldName]">
-
-                  </p>-->
-                  {{item.Name}}:{{scope.row[item.FieldName]}}
+                  <p v-if="scope.row[item.FieldName] != ''">
+                    {{item.Name}}:{{scope.row[item.FieldName]}}
+                  </p>
                 </template>
                 <div slot="reference" class="name-wrapper">
                   <el-tag size="medium">{{ scope.row[item.filed] }}</el-tag>