专家咨询订单

This commit is contained in:
shidongli 2023-11-14 15:14:40 +08:00
parent 79a2fd1a59
commit e39df72c1e
5 changed files with 19 additions and 10 deletions

View File

@ -32,12 +32,12 @@
</view>
<view class="details" @tap='goorderdetails(item)'>
<view class="detailslist">
<image :src="baseurl+item.attributePitureUrl" mode=""
v-if="item.orderType =='HEALTH_CONSULTATION'&&item.attributePitureUrl"></image>
<image :src="baseurl+item.attributePitureUrl" mode=""
<image :src="baseurl+item.personPictureUrl" mode=""
v-if="item.orderType =='HEALTH_CONSULTATION'"></image>
<!-- <image :src="baseurl+item.attributePitureUrl" mode=""
v-if="item.orderType =='HEALTH_CONSULTATION'&&!item.attributePitureUrl"></image>
<image :src="baseurl+item.attributePitureUrl" mode=""
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
v-if="item.orderType !='HEALTH_CONSULTATION'"></image> -->
<view class="model">
<view class="top">
<span v-if="item.orderType =='HEALTH_CONSULTATION'">{{item.hospitalPersonName}}</span>
@ -82,9 +82,9 @@
去评价
<!-- </view> -->
</view>
<view class="logistics harvest" @tap='Receipt(item)'
<!-- <view class="logistics harvest" @tap='Receipt(item)'
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType !='HEALTH_CONSULTATION'">
确认收货</view>
确认收货</view> -->
<!-- <view class="logistics harvest" @tap='Receipt(item)'
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType =='HEALTH_CONSULTATION'">
咨询完成</view> -->

View File

@ -201,6 +201,7 @@
address: null,
doctorId: null,
doctorName: null,
schedulePlanDetailId:null,
consultationType: 'VIDEO_CONSULTATION',
problemDescription: null,
situationDescription: null,
@ -264,6 +265,7 @@
console.log(item, '8')
this.formdata.appointmentStartTime = item.starttime
this.formdata.appointmentEndTime = item.endtime
this.formdata.schedulePlanDetailId = item.schedulePlanDetailId
this.timeindex = index
},
timechange(index) {

View File

@ -34,6 +34,7 @@
{{ item.academicTitle=='ATTENDING_DOCTOR'?'主治医师':''}}
{{ item.academicTitle=='PHYSICIAN'?'医师':''}}
{{ item.academicTitle=='HEALER'?'医士':''}}
{{ item.academicTitle=='RESIDENT_PHYSICIAN'?'住院医师':''}}
</view>
<view class="text">
{{item.personIntroduce}}

View File

@ -6,7 +6,7 @@
<view class="title" v-if="list.orderStatus=='WAIT_REFUND'" @tap="goprevious">退款中</view>
<view class="title" v-if="list.orderStatus=='CANCEL'" @tap="goprevious">已取消</view>
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'" @tap="goprevious">待接单</view>
<view class="title" v-if="list.orderStatus=='COMPLETED'" @tap="goprevious">待评价</view>
<view class="title" v-if="list.orderStatus=='RECEIVED_GOODS'" @tap="goprevious">待服务</view>
<view class="title" v-if="list.orderStatus=='EVALUATED'" @tap="goprevious">已评价</view>
@ -35,7 +35,7 @@
</view>
<view class="orderitem">
<view class="details">
<image src="../../static/headsculpture.png" mode=""></image>
<image :src="baseurl+list.personPictureUrl" mode=""></image>
<view class="ppointment">
<view class="doctorname">
<span>{{list.hospitalPersonName}}</span>
@ -133,6 +133,7 @@
export default {
data() {
return {
baseurl:'',
timestamp: 0,
countvalue: 0,
list: [],
@ -163,7 +164,7 @@
onLoad(options) {
// if(options.item){
this.list = JSON.parse(options.item)
// console.log(this.list, '555')
console.log(this.list, '555')
this.orderTypeList.orderStatus = this.list.orderStatus
this.orderTypeList.goodsOrderId = this.list.goodsOrderId
// console.log(this.orderTypeList.orderStatus, '25256')
@ -270,4 +271,4 @@
</script>
<style lang="scss">
@import './consulted.scss'
</style>
</style>

View File

@ -125,7 +125,12 @@
this.order = JSON.parse(options.order)
this.order.id = this.order.goodsOrderId
}else if(options.list){
this.order = JSON.parse(options.list)
this.order.attributePitureUrl=this.order.personPictureUrl
// console.log(this.order,'78787')
this.order.id = this.order.goodsOrderId
}