|
@@ -57,18 +57,18 @@
|
57
|
57
|
<td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
|
58
|
58
|
<td>
|
59
|
59
|
<div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
|
60
|
|
- <div v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':hidder ? '30px': '110px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" draggable="true" @dragover="allowDrop">
|
|
60
|
+ <div v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':hidder ? '30px': '110px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true" @dragover="allowDrop">
|
61
|
61
|
<div class="huanzhekuai">
|
62
|
|
- <div v-for="(item2) in item.list" draggable="true" @dragstart.self="curInfoDragStart($event,item2)">
|
|
62
|
+ <div v-for="(item2) in item.list" draggable="true" >
|
63
|
63
|
<template >
|
64
|
64
|
<div v-if="it.id==item2.bed_id" style="display: inline-block;">
|
65
|
65
|
<div>
|
66
|
66
|
<span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
|
67
|
|
- <div v-if="!hidder" >
|
68
|
|
- <span style="font-size: 14px;color: rgb(19, 241, 175);margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
|
69
|
|
- <span style="font-size: 14px;color:orange;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
|
70
|
|
- <span style="font-size: 13px;color:rgb(102, 13, 161);margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
|
71
|
|
- </div>
|
|
67
|
+ <span v-if="!hidder" >
|
|
68
|
+ <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
|
|
69
|
+ <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
|
|
70
|
+ <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
|
|
71
|
+ </span>
|
72
|
72
|
</div>
|
73
|
73
|
</div>
|
74
|
74
|
</template>
|
|
@@ -121,11 +121,11 @@
|
121
|
121
|
<div>
|
122
|
122
|
<div style="margin: 10px 30px 10px 10px;background: rgb(74 211 235 / 51%);height: 110px;width: 125px;text-align: center;">
|
123
|
123
|
<span >{{ huanzhe.name}}({{getmode(huanzhe.mode_id)}})</span><br>
|
124
|
|
- <span style="font-size: 14px;color: rgb(12, 185, 50);margin-bottom: 5px;">
|
|
124
|
+ <span style="font-size: 14px;margin-bottom: 5px;">
|
125
|
125
|
{{ huanzhe.zeng_fenqu }}-{{ huanzhe.zeng_chuang }}
|
126
|
126
|
</span><br>
|
127
|
|
- <span style="font-size: 14px;color:orange;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
|
128
|
|
- <span style="font-size: 13px;color:rgb(102, 13, 161);margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span>
|
|
127
|
+ <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(huanzhe.boolen_id)}}</span><br>
|
|
128
|
+ <span style="font-size: 13px;margin-bottom: 5px;">{{huanzhe.schedule_remark}}</span>
|
129
|
129
|
</div>
|
130
|
130
|
<div style="margin-left: 10px;">{{getZoneName(xian_fenqu.zone_id)}}-{{xian_fenqu.number}}</div>
|
131
|
131
|
</div>
|
|
@@ -133,12 +133,12 @@
|
133
|
133
|
<div>
|
134
|
134
|
<div style="margin: 10px 30px 10px 10px;background: rgb(74 197 235);height: 110px;width: 125px;text-align: center;">
|
135
|
135
|
<span >{{genghuan.name}}</span><span v-if="genghuan.mode_id !=''">({{genghuan.mode_id}})</span><br>
|
136
|
|
- <span style="font-size: 14px;color: rgb(12, 185, 50);margin-bottom: 5px;">
|
|
136
|
+ <span style="font-size: 14px;margin-bottom: 5px;">
|
137
|
137
|
{{ genghuan.genghuan_fenqu }}-{{ genghuan.genghuan_chuang }}
|
138
|
138
|
<!-- A1区-6号床 -->
|
139
|
139
|
</span><br>
|
140
|
|
- <span style="font-size: 14px;color:orange;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
|
141
|
|
- <span style="font-size: 13px;color:rgb(102, 13, 161);margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
|
|
140
|
+ <span style="font-size: 14px;margin-bottom: 5px;"></span>{{getBloodAccess(genghuan.g_boolen_id)}}<br>
|
|
141
|
+ <span style="font-size: 13px;margin-bottom: 5px;">{{genghuan.genghuan_remark}}</span>
|
142
|
142
|
</div>
|
143
|
143
|
<div style="margin-left: 10px;">{{getZoneName(g_xian_fenqu.zone_id)}}-{{g_xian_fenqu.number}}</div>
|
144
|
144
|
</div>
|
|
@@ -243,7 +243,7 @@ export default {
|
243
|
243
|
tipDialogVisible:false,
|
244
|
244
|
tipDialogVisibleTwo:false,
|
245
|
245
|
tipDialogVisibleThree:false,
|
246
|
|
- hidder: false,
|
|
246
|
+ hidder: true,
|
247
|
247
|
td_1_width: '8%',
|
248
|
248
|
td_3_width: '90%',
|
249
|
249
|
date:'',
|
|
@@ -658,12 +658,12 @@ export default {
|
658
|
658
|
var bedname=''
|
659
|
659
|
var zonename=''
|
660
|
660
|
var zoneid=''
|
661
|
|
- console.log('6666',val,value);
|
662
|
|
- console.log('7777',this.numberlist);
|
|
661
|
+ console.log('kkkkk',e.target.innerText);
|
663
|
662
|
const inntext= e.target.innerText.split('(')[0]
|
664
|
|
-
|
665
|
663
|
for(let i=0;i<val.list.length;i++){
|
666
|
664
|
if(inntext == val.list[i].name){
|
|
665
|
+ console.log('6666',val,value);
|
|
666
|
+ console.log('7777',this.numberlist);
|
667
|
667
|
this.tipDialogVisible=true
|
668
|
668
|
this.currentData={
|
669
|
669
|
currentData_id:val.list[i].id,
|
|
@@ -686,8 +686,9 @@ export default {
|
686
|
686
|
zonename = this.partitionArr[y].name
|
687
|
687
|
}
|
688
|
688
|
}
|
689
|
|
- console.log('3333',bedid);
|
|
689
|
+
|
690
|
690
|
if(e.target.innerText == ''){
|
|
691
|
+ console.log('3333',e.target.innerText);
|
691
|
692
|
this.schedule={
|
692
|
693
|
schedule_date:this.date,
|
693
|
694
|
schedule_type:this.classes,
|
|
@@ -817,19 +818,26 @@ export default {
|
817
|
818
|
},
|
818
|
819
|
// 需要拖动的
|
819
|
820
|
curInfoDragStart(e,val){
|
820
|
|
- this.cur_drag_info={
|
821
|
|
- id:val.id,
|
822
|
|
- name:val.name,
|
823
|
|
- quhao:val.order.DeviceNumber.zone.name,
|
824
|
|
- chaung:val.order.DeviceNumber.number,
|
825
|
|
- patient_id:val.patient_id,
|
826
|
|
- bed_id:val.bed_id,
|
827
|
|
- mode_id:val.mode_id,
|
828
|
|
- partition_id:val.partition_id,
|
829
|
|
- schedule_date:this.date,
|
830
|
|
- schedule_type:this.classes,
|
831
|
|
- schedule_week: val.schedule_week,
|
|
821
|
+ const inntext2= e.target.innerText.split('(')[0]
|
|
822
|
+ for(let i=0;i<val.list.length;i++){
|
|
823
|
+ if(inntext2 == val.list[i].name){
|
|
824
|
+ this.cur_drag_info={
|
|
825
|
+ id:val.list[i].id,
|
|
826
|
+ name:val.list[i].name,
|
|
827
|
+ quhao:val.list[i].order.DeviceNumber.zone.name,
|
|
828
|
+ chaung:val.list[i].order.DeviceNumber.number,
|
|
829
|
+ patient_id:val.list[i].patient_id,
|
|
830
|
+ bed_id:val.list[i].bed_id,
|
|
831
|
+ mode_id:val.list[i].mode_id,
|
|
832
|
+ partition_id:val.list[i].partition_id,
|
|
833
|
+ schedule_date:this.date,
|
|
834
|
+ schedule_type:this.classes,
|
|
835
|
+ schedule_week: val.list[i].schedule_week,
|
|
836
|
+ }
|
|
837
|
+ }
|
832
|
838
|
}
|
|
839
|
+
|
|
840
|
+ console.log('bbbb',e.target.innerText);
|
833
|
841
|
console.log('4444',val);
|
834
|
842
|
console.log('5555',this.cur_drag_info);
|
835
|
843
|
},
|