Browse Source

当不是症状时跟主症状和伴随症状不显示

zhangxc 6 years ago
parent
commit
da3da2e672
2 changed files with 6 additions and 1 deletions
  1. 1 0
      src/components/icss/NoiseTemplate.vue
  2. 5 1
      src/components/icss/SymptomTagGroup.vue

+ 1 - 0
src/components/icss/NoiseTemplate.vue

@@ -30,6 +30,7 @@
         v-if="dataPub.region2 == 4" 
         :pool="dataPub.tagPool" 
         :type="dataPub.region1"
+        :isSymp="dataPub.region12"
         :sexType="dataPub.region7"
         :options="editData.questionMapping"
         @changeActionData="changeActionData"

+ 5 - 1
src/components/icss/SymptomTagGroup.vue

@@ -54,7 +54,7 @@
             </li>
         </ul>
     </div>
-    <div class="buttonBox" v-if="type == 1"> 
+    <div class="buttonBox" v-if="type == 1 && isSymp == 0"> 
         <div class="mainButton">
             <el-button type="primary" @click="mainSymptom">跟主症状</el-button>
         </div>
@@ -79,6 +79,10 @@ export default {
             default: '',
             type: String
         },
+        isSymp: {
+            default: '',
+            type: String
+        },
         sexType: {
             default: '',
             type: String