yuwandanmian hace 1 año
padre
commit
e6abbd7f78
Se han modificado 1 ficheros con 18 adiciones y 9 borrados
  1. 18 9
      src/views/search/components/ProfessionSearch.vue

+ 18 - 9
src/views/search/components/ProfessionSearch.vue

@@ -130,17 +130,19 @@
                 <el-input placeholder="终止体温" v-model="formInline2.TIWEN_END" style="width: 180px; margin-right: 10px;">
                   <template slot="append">℃</template>
                 </el-input>
-                <el-cascader
+                <el-select
                   v-model="formInline2.TIWEN_FIELD"
-                  :options="bl"
+                  multiple
                   collapse-tags
-                  :props="{
-                    label: 'name',
-                    value: 'key',
-                    expandTrigger: 'hover',
-                    multiple: true
-                  }">
-                </el-cascader>
+                  style="margin-left: 20px; width: 240px;"
+                  placeholder="请选择">
+                  <el-option
+                    v-for="item in tiwens"
+                    :key="item.id"
+                    :label="item.name"
+                    :value="item.id">
+                  </el-option>
+                </el-select>
               </el-form-item>
             </el-form>
           </div>
@@ -184,6 +186,7 @@ export default {
         },
       },
       bl: [],
+      tiwens: [],
       formInline: {
         AAA28: '',
         AAC11N: '',
@@ -215,6 +218,7 @@ export default {
   },
   created() {
     this.getSelects()
+    this.getTiwensSelects()
     this.selectInfo()
   },
   methods: {
@@ -224,6 +228,11 @@ export default {
         this.bl = res.data.bl || [];
       });
     },
+    getTiwensSelects() {
+      this.$axios3.post('/bl/tiwenWhere', {}).then(res => {
+        this.tiwens = res.data || [];
+      });
+    },
     // 获取科室
     selectInfo() {
       this.$axios.post('/selectInfo').then(res => {