|
@@ -591,18 +591,18 @@ export default {
|
591
|
591
|
this.$message.success("替换成功");
|
592
|
592
|
this.tipDialogVisible = false
|
593
|
593
|
this.tipDialogVisibleTwo = false
|
594
|
|
- const listl=this.list
|
595
|
|
- for(let i=0;i<listl.length;i++){
|
596
|
|
- if(this.cur_drag_info.name== listl[i].name){
|
597
|
|
- listl[i].bed_id = this.cur_drag_info.bed_id
|
|
594
|
+ // const listl=this.list
|
|
595
|
+ // for(let i=0;i<listl.length;i++){
|
|
596
|
+ // if(this.cur_drag_info.name== listl[i].name){
|
|
597
|
+ // listl[i].bed_id = this.cur_drag_info.bed_id
|
598
|
598
|
|
599
|
|
- }
|
600
|
|
- if(this.currentData.currentData_name== listl[i].name){
|
601
|
|
- listl[i].bed_id = this.cur_drag_info.bed_id
|
602
|
|
- console.log('nnnn',this.ent_index,this.cur_drag_info.bed_id);
|
603
|
|
- }
|
604
|
|
- }
|
605
|
|
- // this.getlist();
|
|
599
|
+ // }
|
|
600
|
+ // if(this.currentData.currentData_name== listl[i].name){
|
|
601
|
+ // listl[i].bed_id = this.cur_drag_info.bed_id
|
|
602
|
+ // console.log('nnnn',this.ent_index,this.cur_drag_info.bed_id);
|
|
603
|
+ // }
|
|
604
|
+ // }
|
|
605
|
+ this.getlist();
|
606
|
606
|
}
|
607
|
607
|
});
|
608
|
608
|
},
|
|
@@ -644,18 +644,18 @@ export default {
|
644
|
644
|
this.tipDialogVisible = false
|
645
|
645
|
this.tipDialogVisibleThree = false
|
646
|
646
|
|
647
|
|
- const listl=this.list
|
648
|
|
- for(let i=0;i<listl.length;i++){
|
649
|
|
- if(this.cur_drag_info.name== listl[i].name){
|
650
|
|
- listl[i].bed_id = this.currentData.bed_id
|
651
|
|
- console.log('mmmm',listl,this.currentData);
|
652
|
|
- }
|
653
|
|
- if(this.currentData.currentData_name== listl[i].name){
|
654
|
|
- // this.ent_index=listl[i].bed_id
|
655
|
|
- listl[i].bed_id =this.cur_drag_info.bed_id
|
656
|
|
- }
|
657
|
|
- }
|
658
|
|
- // this.getlist();
|
|
647
|
+ // const listl=this.list
|
|
648
|
+ // for(let i=0;i<listl.length;i++){
|
|
649
|
+ // if(this.cur_drag_info.name== listl[i].name){
|
|
650
|
+ // listl[i].bed_id = this.currentData.bed_id
|
|
651
|
+ // console.log('mmmm',listl,this.currentData);
|
|
652
|
+ // }
|
|
653
|
+ // if(this.currentData.currentData_name== listl[i].name){
|
|
654
|
+ // // this.ent_index=listl[i].bed_id
|
|
655
|
+ // listl[i].bed_id =this.cur_drag_info.bed_id
|
|
656
|
+ // }
|
|
657
|
+ // }
|
|
658
|
+ this.getlist();
|
659
|
659
|
}
|
660
|
660
|
});
|
661
|
661
|
|
|
@@ -677,14 +677,14 @@ export default {
|
677
|
677
|
// var schedule = response.data.data.schedule;
|
678
|
678
|
// console.log('ddddd',schedule);
|
679
|
679
|
// this.list
|
680
|
|
- const listl=this.list
|
681
|
|
- for(let i=0;i<listl.length;i++){
|
682
|
|
- if(this.schedule.patient== listl[i].name){
|
683
|
|
- listl[i].bed_id = this.schedule.bed_id
|
684
|
|
- console.log('mmmm',listl);
|
685
|
|
- }
|
686
|
|
- }
|
687
|
|
- // this.getlist()
|
|
680
|
+ // const listl=this.list
|
|
681
|
+ // for(let i=0;i<listl.length;i++){
|
|
682
|
+ // if(this.schedule.patient== listl[i].name){
|
|
683
|
+ // listl[i].bed_id = this.schedule.bed_id
|
|
684
|
+ // console.log('mmmm',listl);
|
|
685
|
+ // }
|
|
686
|
+ // }
|
|
687
|
+ this.getlist()
|
688
|
688
|
}
|
689
|
689
|
},
|
690
|
690
|
// 需要拖动的
|
|
@@ -1122,18 +1122,18 @@ export default {
|
1122
|
1122
|
this.$message.success("交换成功");
|
1123
|
1123
|
this.tipDialogVisible = false
|
1124
|
1124
|
this.tipDialogVisibleThree = false
|
1125
|
|
- // this.getlist();
|
1126
|
|
- const listl=this.list
|
1127
|
|
- for(let i=0;i<listl.length;i++){
|
1128
|
|
- if(this.huanzhe.name== listl[i].name){
|
1129
|
|
- listl[i].bed_id = this.chuangwei
|
1130
|
|
- console.log('mmmm',listl,this.currentData);
|
1131
|
|
- }
|
1132
|
|
- if(this.genghuan.name== listl[i].name){
|
1133
|
|
- // this.ent_index=listl[i].bed_id
|
1134
|
|
- listl[i].bed_id =this.huanzhe.bed_id
|
1135
|
|
- }
|
1136
|
|
- }
|
|
1125
|
+ this.getlist();
|
|
1126
|
+ // const listl=this.list
|
|
1127
|
+ // for(let i=0;i<listl.length;i++){
|
|
1128
|
+ // if(this.huanzhe.name== listl[i].name){
|
|
1129
|
+ // listl[i].bed_id = this.chuangwei
|
|
1130
|
+ // console.log('mmmm',listl,this.currentData);
|
|
1131
|
+ // }
|
|
1132
|
+ // if(this.genghuan.name== listl[i].name){
|
|
1133
|
+ // // this.ent_index=listl[i].bed_id
|
|
1134
|
+ // listl[i].bed_id =this.huanzhe.bed_id
|
|
1135
|
+ // }
|
|
1136
|
+ // }
|
1137
|
1137
|
}
|
1138
|
1138
|
});
|
1139
|
1139
|
return this.genghuan
|