|
@@ -178,7 +178,7 @@
|
178
|
178
|
width="70%">
|
179
|
179
|
<div>
|
180
|
180
|
<div style="border-bottom: 1px solid #e5e5e5;">
|
181
|
|
- <van-search v-model="schedulingVal2" @clear="onclear2"
|
|
181
|
+ <van-search v-model="schedulingVal2" @clear="onclear2"
|
182
|
182
|
@input="onUpdate2" placeholder="请输入搜索关键词" />
|
183
|
183
|
</div>
|
184
|
184
|
<div class="listBox">
|
|
@@ -609,6 +609,7 @@ export default{
|
609
|
609
|
,{id:15,name:'IUF+HD'},{id:16,name:'UF'},{id:17,name:'HD+'},{id:18,name:'血浆胆红素吸附+HDF'},{id:19,name:'H血浆胆红素吸附'},{id:20,name:'I-HDF'},{id:21,name:'HD高通'}
|
610
|
610
|
,{id:22,name:'CVVH'},{id:23,name:'CVVHD'},{id:24,name:'CVVHDF'},{id:25,name:'PE'},{id:26,name:'血浆胆红素吸附+HP'},{id:27,name:'HPD'},{id:28,name:'HDP'}
|
611
|
611
|
,{id:29,name:'HFD'},{id:30,name:'HDF100'},{id:31,name:'HDF600'},{id:32,name:'HDF800'},{id:33,name:'HDF1000'}],
|
|
612
|
+ options_arr:[],
|
612
|
613
|
}
|
613
|
614
|
},
|
614
|
615
|
computed:{
|
|
@@ -815,6 +816,7 @@ export default{
|
815
|
816
|
}
|
816
|
817
|
}
|
817
|
818
|
this.scheduleZone=scheduleZone
|
|
819
|
+ this.schedule_list = scheduleZone
|
818
|
820
|
}
|
819
|
821
|
console.log("34455555566666",this.scheduleZone)
|
820
|
822
|
}
|
|
@@ -826,6 +828,7 @@ export default{
|
826
|
828
|
if(response.data.state==1){
|
827
|
829
|
const huanzhi_arr = response.data.data.patients
|
828
|
830
|
this.huangxiu_arr = huanzhi_arr
|
|
831
|
+ this.options_arr = huanzhi_arr
|
829
|
832
|
// console.log('cccccc',this.huangxiu_arr);
|
830
|
833
|
}
|
831
|
834
|
})
|
|
@@ -882,13 +885,13 @@ export default{
|
882
|
885
|
this.schedulingVal = val
|
883
|
886
|
this.scheduleZone
|
884
|
887
|
var suos=[]
|
885
|
|
- for(let i in this.scheduleZone){
|
|
888
|
+ for(let i in this.schedule_list){
|
886
|
889
|
if(this.schedulingVal!=''){
|
887
|
|
- if(this.scheduleZone[i].Mon_A.patient.includes(this.schedulingVal)||
|
888
|
|
- this.scheduleZone[i].Mon_M.patient.includes(this.schedulingVal)||
|
889
|
|
- this.scheduleZone[i].Mon_N.patient.includes(this.schedulingVal))
|
|
890
|
+ if(this.schedule_list[i].Mon_A.patient.indexOf(this.schedulingVal) != -1||
|
|
891
|
+ this.schedule_list[i].Mon_M.patient.indexOf(this.schedulingVal) != -1 ||
|
|
892
|
+ this.schedule_list[i].Mon_N.patient.indexOf(this.schedulingVal) != -1)
|
890
|
893
|
{
|
891
|
|
- suos.push(this.scheduleZone[i])
|
|
894
|
+ suos.push(this.schedule_list[i])
|
892
|
895
|
}
|
893
|
896
|
}else{
|
894
|
897
|
this.getlist()
|
|
@@ -903,21 +906,16 @@ export default{
|
903
|
906
|
if(val != ''){
|
904
|
907
|
this.schedulingVal2=val
|
905
|
908
|
const namearr = []
|
906
|
|
- for(let i in this.huangxiu_arr){
|
907
|
|
- if(this.schedulingVal2 !=''){
|
908
|
|
- if(this.huangxiu_arr[i].name.includes(this.schedulingVal2)){
|
909
|
|
- namearr.push(this.huangxiu_arr[i])
|
910
|
|
- }
|
911
|
|
- }else{
|
912
|
|
- this.getGetAllPatients()
|
913
|
|
- }
|
|
909
|
+ for(let i in this.options_arr){
|
|
910
|
+ if(this.options_arr[i].name.indexOf(this.schedulingVal2) !=-1){
|
|
911
|
+ namearr.push(this.options_arr[i])
|
|
912
|
+ }
|
914
|
913
|
}
|
915
|
914
|
this.huangxiu_arr = namearr
|
916
|
915
|
}else{
|
917
|
916
|
this.getGetAllPatients()
|
918
|
917
|
}
|
919
|
918
|
},
|
920
|
|
-
|
921
|
919
|
// 修改
|
922
|
920
|
patientedit(value){
|
923
|
921
|
this.xiugaishow=true
|