|
@@ -319,7 +319,17 @@
|
319
|
319
|
this.$message.error(response.data.msg)
|
320
|
320
|
return false
|
321
|
321
|
} else {
|
322
|
|
- this.drugways = response.data.data.drugways
|
|
322
|
+ this.drugways = []
|
|
323
|
+ //内蒙古医院因为使用坐标系统,需要按坐标系统的用药途径改造,所以需要把默认的用药途径删除
|
|
324
|
+ if(this.$store.getters.xt_user.org_id == 0 ){
|
|
325
|
+ for(let i = 0; i < response.data.data.drugways.length; i++){
|
|
326
|
+ if(response.data.data.drugways[i].org_id > 0 ){
|
|
327
|
+ this.drugways.push(response.data.data.drugways[i])
|
|
328
|
+ }
|
|
329
|
+ }
|
|
330
|
+ }else{
|
|
331
|
+ this.drugways = response.data.data.drugways
|
|
332
|
+ }
|
323
|
333
|
this.efs = response.data.data.efs
|
324
|
334
|
this.drugList = response.data.data.drugs
|
325
|
335
|
}
|