|
@@ -25,7 +25,7 @@
|
25
|
25
|
</div>
|
26
|
26
|
</div>
|
27
|
27
|
</div>
|
28
|
|
- <div style="margin-top: 20px;height: 81vh;">
|
|
28
|
+ <div style="margin-top: 20px;height: 82vh;">
|
29
|
29
|
<el-table
|
30
|
30
|
:row-style="{ color: '#303133' }"
|
31
|
31
|
:header-cell-style="{
|
|
@@ -175,11 +175,14 @@
|
175
|
175
|
:append-to-body = 'true'
|
176
|
176
|
|
177
|
177
|
:show-close="false"
|
178
|
|
- width="50%">
|
|
178
|
+ width="70%">
|
179
|
179
|
<div>
|
180
|
|
- <div class="listBox">
|
|
180
|
+ <div style="border-bottom: 1px solid #e5e5e5;">
|
181
|
181
|
<van-search v-model="schedulingVal2" @clear="onclear2"
|
182
|
182
|
@input="onUpdate2" placeholder="请输入搜索关键词" />
|
|
183
|
+ </div>
|
|
184
|
+ <div class="listBox">
|
|
185
|
+
|
183
|
186
|
<div v-for="(item,index) in huangxiu_arr" :key='index' @click="Select_click(item)">
|
184
|
187
|
{{ item.name }}
|
185
|
188
|
</div>
|
|
@@ -870,29 +873,34 @@ export default{
|
870
|
873
|
onclear(){
|
871
|
874
|
this.getlist()
|
872
|
875
|
},
|
873
|
|
- onclear2(){
|
|
876
|
+ onclear2(){
|
874
|
877
|
this.getGetAllPatients()
|
875
|
878
|
},
|
876
|
879
|
// 搜索
|
877
|
880
|
onUpdate(val){
|
878
|
|
- this.schedulingVal = val
|
879
|
|
- this.scheduleZone
|
880
|
|
- var suos=[]
|
881
|
|
- for(let i in this.scheduleZone){
|
882
|
|
- if(this.schedulingVal!=''){
|
883
|
|
- if(this.scheduleZone[i].Mon_A.patient.includes(this.schedulingVal)||
|
884
|
|
- this.scheduleZone[i].Mon_M.patient.includes(this.schedulingVal)||
|
885
|
|
- this.scheduleZone[i].Mon_N.patient.includes(this.schedulingVal))
|
886
|
|
- {
|
887
|
|
- suos.push(this.scheduleZone[i])
|
|
881
|
+ if(val !=''){
|
|
882
|
+ this.schedulingVal = val
|
|
883
|
+ this.scheduleZone
|
|
884
|
+ var suos=[]
|
|
885
|
+ for(let i in this.scheduleZone){
|
|
886
|
+ 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
|
+ {
|
|
891
|
+ suos.push(this.scheduleZone[i])
|
|
892
|
+ }
|
|
893
|
+ }else{
|
|
894
|
+ this.getlist()
|
888
|
895
|
}
|
889
|
|
- }else{
|
890
|
|
- this.getlist()
|
891
|
896
|
}
|
|
897
|
+ this.scheduleZone=suos
|
|
898
|
+ }else{
|
|
899
|
+ this.getlist()
|
892
|
900
|
}
|
893
|
|
- this.scheduleZone=suos
|
894
|
901
|
},
|
895
|
902
|
onUpdate2(val){
|
|
903
|
+ if(val != ''){
|
896
|
904
|
this.schedulingVal2=val
|
897
|
905
|
const namearr = []
|
898
|
906
|
for(let i in this.huangxiu_arr){
|
|
@@ -905,7 +913,11 @@ export default{
|
905
|
913
|
}
|
906
|
914
|
}
|
907
|
915
|
this.huangxiu_arr = namearr
|
|
916
|
+ }else{
|
|
917
|
+ this.getGetAllPatients()
|
|
918
|
+ }
|
908
|
919
|
},
|
|
920
|
+
|
909
|
921
|
// 修改
|
910
|
922
|
patientedit(value){
|
911
|
923
|
this.xiugaishow=true
|