wyq 4 anni fa
parent
commit
d3d5e28448

+ 1 - 1
src/components/basicKnow/AddTerm.vue

@@ -562,7 +562,7 @@
               ></el-input>
             </el-form-item>
             <el-form-item v-if="data.type=='体格检查结果'" label="科室:" prop="description" class="marT">
-              <searchTerm :list.sync="klVitalResultVO.deptList" :autoValue="true" :type="115"></searchTerm>
+              <searchTerm v-bind:list.sync="klVitalResultVO.deptList" :type="115"></searchTerm>
             </el-form-item>
             <el-form-item v-if="data.type=='体格检查结果'" label="部位:" prop="description" class="marT">
               <searchTerm :list.sync="klVitalResultVO.partList" :autoValue="true" :type="122"></searchTerm>

+ 2 - 4
src/components/basicKnow/searchTerm.vue

@@ -72,10 +72,7 @@ export default {
       newVal.forEach(item => {
         arr.push(item.conceptId);
       });
-      console.log(arr);
-      if (this.autoValue) {
-        this.$emit('updata:list', arr);
-      }
+      this.$emit('updata:list',arr)
     }
   },
   methods: {
@@ -117,6 +114,7 @@ export default {
     unblur() {
       this.onshow = false;
       this.value = '';
+      
     },
     shuffle() {
       this.items = _.shuffle(this.items);