Browse Source

化验注释掉选项直接连接词(561)

zhangxc 6 years ago
parent
commit
cd4ae0589b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/icss/PubIndeptTag.vue

+ 3 - 1
src/components/icss/PubIndeptTag.vue

@@ -117,6 +117,7 @@
                 ></el-input></el-col>
                 ></el-input></el-col>
             </el-form-item>
             </el-form-item>
             <el-form-item
             <el-form-item
+                    v-if="form.region1 != 5"
                     label="选择项之间链接:"
                     label="选择项之间链接:"
                     prop="region5"
                     prop="region5"
             >
             >
@@ -366,7 +367,7 @@
         if(type === 1) {
         if(type === 1) {
           this.form.region2 = '';
           this.form.region2 = '';
           this.labelTypes = this.labelTypesList.filter(item => this.labelTypesMaps[tmpData].indexOf(item.val) > -1)
           this.labelTypes = this.labelTypesList.filter(item => this.labelTypesMaps[tmpData].indexOf(item.val) > -1)
-          
+          this.initForm()
         }
         }
         if(type === 2) {
         if(type === 2) {
           this.initForm()
           this.initForm()
@@ -397,6 +398,7 @@
         this.form.suffix = ''
         this.form.suffix = ''
         this.form.minNormalVal = ''
         this.form.minNormalVal = ''
         this.form.maxNormalVal = ''
         this.form.maxNormalVal = ''
+        this.form.region5 = ''
       },
       },
     }
     }
   }
   }