|
@@ -123,6 +123,7 @@ import addMedicine from "./components/addMedicine"
|
123
|
123
|
import medicineDetail from "./components/medicineDetail"
|
124
|
124
|
import warehousing from "./components/warehousing"
|
125
|
125
|
import warehouseOut from "./components/warehouseOut"
|
|
126
|
+import {getCurrentPatient} from "@/api/drug/drug"
|
126
|
127
|
export default {
|
127
|
128
|
components:{
|
128
|
129
|
BreadCrumb,
|
|
@@ -186,7 +187,17 @@ export default {
|
186
|
187
|
},
|
187
|
188
|
toDetail(){
|
188
|
189
|
this.$refs.medicineDetail.show();
|
|
190
|
+ },
|
|
191
|
+
|
|
192
|
+ getCurrentPatient(){
|
|
193
|
+ getCurrentPatient().then(response=>{
|
|
194
|
+
|
|
195
|
+ })
|
189
|
196
|
}
|
|
197
|
+ },
|
|
198
|
+ created(){
|
|
199
|
+ //获取当前机构下的所有患者
|
|
200
|
+ this.getCurrentPatient()
|
190
|
201
|
}
|
191
|
202
|
}
|
192
|
203
|
</script>
|