|
@@ -522,7 +522,23 @@ export default {
|
522
|
522
|
};
|
523
|
523
|
getpharmacycontent(params).then((res) => {
|
524
|
524
|
if (res.data.state == 1) {
|
525
|
|
- this.tableData = res.data.data.list;
|
|
525
|
+ var list = res.data.data.list;
|
|
526
|
+ console.log("hhhhawoowowow",list)
|
|
527
|
+ if(this.$store.getters.xt_user.org.id == 0 || this.$store.getters.xt_user.org.id == 10217 ){
|
|
528
|
+ this.tableData = []
|
|
529
|
+ if(list!=null && list.length >0){
|
|
530
|
+ for(let i=0;i<list.length;i++){
|
|
531
|
+ if(list[i].DataSources != "临时医嘱"){
|
|
532
|
+ this.tableData.push(list[i])
|
|
533
|
+ }
|
|
534
|
+ }
|
|
535
|
+ }
|
|
536
|
+
|
|
537
|
+ }
|
|
538
|
+ if(this.$store.getters.xt_user.org.id != 0 && this.$store.getters.xt_user.org.id != 10217){
|
|
539
|
+ this.tableData = []
|
|
540
|
+ this.tableData = list
|
|
541
|
+ }
|
526
|
542
|
} else {
|
527
|
543
|
this.$message.error(res.data.msg);
|
528
|
544
|
}
|