|
@ -39,11 +39,8 @@ |
|
|
</text> |
|
|
</text> |
|
|
<img :src="cssUrl+'index_comback.svg'" v-if="item.hospital_pos" @click="toLocation(item)"> |
|
|
<img :src="cssUrl+'index_comback.svg'" v-if="item.hospital_pos" @click="toLocation(item)"> |
|
|
</view> |
|
|
</view> |
|
|
<view class="date over2 over4" v-if="item.plan==0"> |
|
|
<view class="date over2 over4"> |
|
|
停诊 |
|
|
出诊:{{ item.workdate_desc }} |
|
|
</view> |
|
|
|
|
|
<view class="date over2 over4" v-else> |
|
|
|
|
|
出诊:{{ item.visit_time }} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="right"> |
|
|
<view class="right"> |
|
@ -254,6 +251,7 @@ |
|
|
let workDateValArr = Object.values(this.workdate); |
|
|
let workDateValArr = Object.values(this.workdate); |
|
|
let timeList = []; |
|
|
let timeList = []; |
|
|
this.hospital_departs = this.doctorInfo.hospital_departs.map((item,index)=>{ |
|
|
this.hospital_departs = this.doctorInfo.hospital_departs.map((item,index)=>{ |
|
|
|
|
|
item.workdate_desc = this.doctorInfo.workdate_desc[item.depart_id] |
|
|
let indexofNum = workDatKeyArr.indexOf(item.depart_id); |
|
|
let indexofNum = workDatKeyArr.indexOf(item.depart_id); |
|
|
if(indexofNum > -1){ |
|
|
if(indexofNum > -1){ |
|
|
let departCurItem = workDateValArr[indexofNum]; |
|
|
let departCurItem = workDateValArr[indexofNum]; |
|
@ -272,10 +270,6 @@ |
|
|
} |
|
|
} |
|
|
return item |
|
|
return item |
|
|
}) |
|
|
}) |
|
|
console.log(this.hospital_departs,'this.hospital_departs'); |
|
|
|
|
|
// }else{ |
|
|
|
|
|
|
|
|
|
|
|
// } |
|
|
|
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
enlargePicture(imgUrl) { |
|
|
enlargePicture(imgUrl) { |
|
|