Browse Source

HIS 系统提交

XMLWAN 4 years ago
parent
commit
e5c9fe4e77

+ 5 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -64,7 +64,7 @@
64 64
           <span>医生:</span>
65 65
           <el-select style="margin-right:5px;" v-model="doctorValue" placeholder="">
66 66
             <el-option
67
-              v-for="item,index in doctors"
67
+              v-for="(item,index) in doctors"
68 68
               :key="index"
69 69
               :label="item.user_name"
70 70
               :value="item.id">
@@ -73,7 +73,7 @@
73 73
           <span>科室:</span>
74 74
           <el-select style="margin-right:5px;" v-model="departmentValue" placeholder="">
75 75
             <el-option
76
-              v-for="(item,index) in getDictionaryDataConfig('system','department')"
76
+              v-for="(item,index) in departMent"
77 77
               :key="index"
78 78
               :label="item.name"
79 79
               :value="item.id">
@@ -268,6 +268,7 @@
268 268
         tabPrjectTeam:[],
269 269
         teamList:[],
270 270
         doctors:[],
271
+        departMent:[]
271 272
       }
272 273
     },
273 274
     methods: {
@@ -324,7 +325,8 @@
324 325
             this.allDrugs = response.data.data.drugs
325 326
             this.advices_template = response.data.data.advices_template
326 327
             this.doctors = response.data.data.doctors
327
-
328
+            this.departMent =  response.data.data.department
329
+           
328 330
           }
329 331
         })
330 332