专家咨询
This commit is contained in:
parent
51abc350f8
commit
c8f8a9812c
@ -357,8 +357,10 @@
|
|||||||
}, {
|
}, {
|
||||||
"path": "consulted/consulted",
|
"path": "consulted/consulted",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "待咨询",
|
// "navigationBarTitleText": "待咨询",
|
||||||
"enablePullDownRefresh": false
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||||
|
"onReachBottomDistance": 20, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "cancel/cancel",
|
"path": "cancel/cancel",
|
||||||
@ -725,4 +727,4 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
active-color='#26A888'></u-tabs>
|
active-color='#26A888'></u-tabs>
|
||||||
<view class="" v-if="total>0" style="margin-top: 80rpx;padding: 3%;">
|
<view class="" v-if="total>0" style="margin-top: 80rpx;padding: 3%;">
|
||||||
<view class="Apayment" v-for='(item,index) in orderlist' :key="index">
|
<view class="Apayment" v-for='(item,index) in orderlist' :key="index">
|
||||||
<view class="names">店铺名称
|
<view class="names">{{item.orderTime}}
|
||||||
<image class="picture" src="../../static/huijiantou.png" mode=""></image>
|
<image class="picture" src="../../static/huijiantou.png" mode=""></image>
|
||||||
<span v-if="item.orderStatus=='WAIT_PAY'">待付款</span>
|
<span v-if="item.orderStatus=='WAIT_PAY'">待付款</span>
|
||||||
<span v-if="item.orderStatus=='WAIT_REFUND'">退款中</span>
|
<span v-if="item.orderStatus=='WAIT_REFUND'">退款中</span>
|
||||||
@ -24,7 +24,7 @@
|
|||||||
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType !='HEALTH_CONSULTATION'">待收货</span>
|
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType !='HEALTH_CONSULTATION'">待收货</span>
|
||||||
<span
|
<span
|
||||||
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType =='HEALTH_CONSULTATION'">待咨询</span>
|
v-if="item.orderStatus=='WAIT_RECEIVED_GOODS'&&item.orderType =='HEALTH_CONSULTATION'">待咨询</span>
|
||||||
<span v-if="item.orderStatus=='RECEIVED_GOODS'">待评价</span>
|
<span v-if="item.orderStatus=='RECEIVED_GOODS'">待服务</span>
|
||||||
<span v-if="item.orderStatus=='EVALUATED'">已完成</span>
|
<span v-if="item.orderStatus=='EVALUATED'">已完成</span>
|
||||||
<span v-if="item.orderStatus=='PAY'">待发货</span>
|
<span v-if="item.orderStatus=='PAY'">待发货</span>
|
||||||
<span v-if="item.orderStatus=='REFUNDED'">已退款</span>
|
<span v-if="item.orderStatus=='REFUNDED'">已退款</span>
|
||||||
@ -41,7 +41,7 @@
|
|||||||
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
||||||
<view class="model">
|
<view class="model">
|
||||||
<view class="top">
|
<view class="top">
|
||||||
<span v-if="item.orderType =='HEALTH_CONSULTATION'">健康咨询</span>
|
<span v-if="item.orderType =='HEALTH_CONSULTATION'">{{item.hospitalPersonName}}</span>
|
||||||
<span v-else>{{item.goodsName}}</span>
|
<span v-else>{{item.goodsName}}</span>
|
||||||
<!-- <span v-if="item.orderType =='HEALTH_CONSULTATION'">¥{{item.totalPrice}}</span> -->
|
<!-- <span v-if="item.orderType =='HEALTH_CONSULTATION'">¥{{item.totalPrice}}</span> -->
|
||||||
<span
|
<span
|
||||||
@ -137,7 +137,7 @@
|
|||||||
{
|
{
|
||||||
name: '待付款',
|
name: '待付款',
|
||||||
orderStatus: 'WAIT_PAY',
|
orderStatus: 'WAIT_PAY',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '待接单',
|
name: '待接单',
|
||||||
orderStatus: 'WAIT_RECEIVED_GOODS',
|
orderStatus: 'WAIT_RECEIVED_GOODS',
|
||||||
@ -145,15 +145,17 @@
|
|||||||
{
|
{
|
||||||
name: '待服务',
|
name: '待服务',
|
||||||
orderStatus: 'RECEIVED_GOODS',
|
orderStatus: 'RECEIVED_GOODS',
|
||||||
},{
|
|
||||||
name: '待评价',
|
|
||||||
orderStatus: 'RECEIVED_GOODS',
|
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// name: '待评价',
|
||||||
|
// orderStatus: 'RECEIVED_GOODS',
|
||||||
|
// },
|
||||||
|
|
||||||
{
|
{
|
||||||
name: '已完成',
|
name: '已完成',
|
||||||
orderStatus: 'EVALUATED',
|
orderStatus: 'EVALUATED',
|
||||||
},
|
},
|
||||||
|
|
||||||
],
|
],
|
||||||
tabscurrent: 0,
|
tabscurrent: 0,
|
||||||
background: {
|
background: {
|
||||||
@ -292,7 +294,7 @@
|
|||||||
//订单详情页面
|
//订单详情页面
|
||||||
goorderdetails(item) {
|
goorderdetails(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${item.goodsOrderId}`
|
url: `/pagesB/consulted/consulted?item=${JSON.stringify(item)}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//商品订单请求
|
//商品订单请求
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
right: 10%;
|
right: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
span:nth-child(4) {
|
span:nth-child(4) {
|
||||||
@ -53,7 +53,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
top: 53%;
|
top: 53%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
right: 5%;
|
right: 0%;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -82,7 +82,7 @@
|
|||||||
letter-spacing: 0.2em;
|
letter-spacing: 0.2em;
|
||||||
::v-deep .uni-textarea-textarea{
|
::v-deep .uni-textarea-textarea{
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
::v-deep .uni-textarea-compute, .uni-textarea-line, .uni-textarea-placeholder, .uni-textarea-textarea{
|
::v-deep .uni-textarea-compute, .uni-textarea-line, .uni-textarea-placeholder, .uni-textarea-textarea{
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
@ -106,4 +106,4 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,8 +4,8 @@
|
|||||||
<view class="refund">
|
<view class="refund">
|
||||||
<span>退款金额</span>
|
<span>退款金额</span>
|
||||||
<span>¥</span>
|
<span>¥</span>
|
||||||
<span>39</span>
|
<!-- <span></span> -->
|
||||||
<span>.90</span>
|
<span>{{list.totalPrice}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="reason">
|
<view class="reason">
|
||||||
<view class="reasondata">原因</view>
|
<view class="reasondata">原因</view>
|
||||||
@ -13,10 +13,10 @@
|
|||||||
<textarea v-model="value" :type="type" :border="border" placeholder="请输入您的退款原因" />
|
<textarea v-model="value" :type="type" :border="border" placeholder="请输入您的退款原因" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
确认取消
|
确认取消
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -28,9 +28,24 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
list:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
console.log(options,'999')
|
||||||
|
this.list = JSON.parse(options.list)
|
||||||
|
console.log(this.list, '99')
|
||||||
|
// console.log(options,'88')
|
||||||
|
this.baseurl = baseurl
|
||||||
|
this.orderTypeList.goodsOrderId = options.goodsOrderId
|
||||||
|
let that = this
|
||||||
|
// const value = uni.getStorageSync('patientId');
|
||||||
|
// const value2 = uni.getStorageSync('openid');
|
||||||
|
// if (value && value2) {
|
||||||
|
// that.orderTypeList.patientId = value
|
||||||
|
// that.orderTypeList.openid = value2
|
||||||
|
// }
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -39,4 +54,4 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import './cancel.scss'
|
@import './cancel.scss'
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -1,6 +1,58 @@
|
|||||||
.app {
|
.app {
|
||||||
padding: 0 0 124rpx;
|
padding: 0 0 124rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
.u-navbar {
|
||||||
|
display: block;
|
||||||
|
image {
|
||||||
|
margin: 0 4% 0 4%;
|
||||||
|
width: 20rpx;
|
||||||
|
height: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
width: 31%;
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputs {
|
||||||
|
position: relative;
|
||||||
|
// margin-left: 4%;
|
||||||
|
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||||
|
width: 60%;
|
||||||
|
height: 65rpx;
|
||||||
|
border-radius: 31rpx;
|
||||||
|
z-index: 999;
|
||||||
|
background: #65c0a9;
|
||||||
|
color: #FFFFFF;
|
||||||
|
|
||||||
|
.placeholder {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
margin: 0 auto;
|
||||||
|
position: absolute;
|
||||||
|
height: 65rpx;
|
||||||
|
// top: 8%;
|
||||||
|
left: 18%;
|
||||||
|
width: 80%;
|
||||||
|
font-size: 26rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
background: url(@/static/pagesB/sousuo.png) no-repeat;
|
||||||
|
width: 30rpx;
|
||||||
|
height: 28rpx;
|
||||||
|
background-size: cover;
|
||||||
|
position: absolute;
|
||||||
|
top: 28%;
|
||||||
|
left: 4%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
// 弹框支付
|
// 弹框支付
|
||||||
.payment {
|
.payment {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -11,11 +63,11 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
border-bottom: 1rpx solid #D8D4D4;
|
border-bottom: 1rpx solid #D8D4D4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat {
|
.chat {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 200rpx;
|
height: 200rpx;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50rpx;
|
top: 50rpx;
|
||||||
@ -24,7 +76,7 @@
|
|||||||
font-size: 42rpx;
|
font-size: 42rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
image {
|
image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50rpx;
|
top: 50rpx;
|
||||||
@ -33,7 +85,7 @@
|
|||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.submits {
|
.submits {
|
||||||
background: #26A888;
|
background: #26A888;
|
||||||
width: 501rpx;
|
width: 501rpx;
|
||||||
@ -108,7 +160,7 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
|
|
||||||
.timeitem {
|
.timeitem {
|
||||||
width: 29%;
|
width: 29%;
|
||||||
margin: 0 2% 20rpx;
|
margin: 0 2% 20rpx;
|
||||||
@ -116,19 +168,19 @@
|
|||||||
border-radius: 5rpx;
|
border-radius: 5rpx;
|
||||||
border: 2rpx solid #26A888;
|
border: 2rpx solid #26A888;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemstext{
|
.itemstext{
|
||||||
line-height: 38rpx;
|
line-height: 38rpx;
|
||||||
padding-top: 10rpx;
|
padding-top: 10rpx;
|
||||||
font-size: 23rpx;
|
font-size: 23rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemstexttwo{
|
.itemstexttwo{
|
||||||
line-height: 42rpx;
|
line-height: 42rpx;
|
||||||
font-size: 16rpx;
|
font-size: 16rpx;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeitemtap {
|
.timeitemtap {
|
||||||
width: 29%;
|
width: 29%;
|
||||||
margin: 0 2% 20rpx;
|
margin: 0 2% 20rpx;
|
||||||
@ -303,4 +355,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -148,7 +148,7 @@
|
|||||||
请选择支付方式
|
请选择支付方式
|
||||||
</view>
|
</view>
|
||||||
<view class="chat">
|
<view class="chat">
|
||||||
<image src="/static/chat.png" mode=""></image>
|
<image src="/static/pagesB/chat.png" mode=""></image>
|
||||||
<span>微信支付</span>
|
<span>微信支付</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="submits" @tap='buy'>
|
<view class="submits" @tap='buy'>
|
||||||
@ -434,4 +434,4 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import './confirmation.scss';
|
@import './confirmation.scss';
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -5,7 +5,58 @@
|
|||||||
color: #000000;
|
color: #000000;
|
||||||
padding-top: 20rpx;
|
padding-top: 20rpx;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
|
.u-navbar {
|
||||||
|
display: block;
|
||||||
|
image {
|
||||||
|
margin: 0 4% 0 4%;
|
||||||
|
width: 20rpx;
|
||||||
|
height: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
width: 31%;
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inputs {
|
||||||
|
position: relative;
|
||||||
|
// margin-left: 4%;
|
||||||
|
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||||
|
width: 60%;
|
||||||
|
height: 65rpx;
|
||||||
|
border-radius: 31rpx;
|
||||||
|
z-index: 999;
|
||||||
|
background: #65c0a9;
|
||||||
|
color: #FFFFFF;
|
||||||
|
|
||||||
|
.placeholder {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input {
|
||||||
|
margin: 0 auto;
|
||||||
|
position: absolute;
|
||||||
|
height: 65rpx;
|
||||||
|
// top: 8%;
|
||||||
|
left: 18%;
|
||||||
|
width: 80%;
|
||||||
|
font-size: 26rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
background: url(@/static/pagesB/sousuo.png) no-repeat;
|
||||||
|
width: 30rpx;
|
||||||
|
height: 28rpx;
|
||||||
|
background-size: cover;
|
||||||
|
position: absolute;
|
||||||
|
top: 28%;
|
||||||
|
left: 4%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.content {
|
.content {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -277,7 +328,7 @@
|
|||||||
letter-spacing: 0.2em;
|
letter-spacing: 0.2em;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.submits{
|
.submits{
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -294,6 +345,6 @@
|
|||||||
top: 35%;
|
top: 35%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,22 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app">
|
||||||
|
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||||
|
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
|
||||||
|
<view class="title" v-if="list.orderStatus=='WAIT_PAY'">待付款</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='WAIT_REFUND'">退款中</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='CANCEL'">已取消</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'&&list.orderType !='HEALTH_CONSULTATION'">
|
||||||
|
待收货</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='WAIT_RECEIVED_GOODS'&&list.orderType =='HEALTH_CONSULTATION'">
|
||||||
|
待咨询</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='RECEIVED_GOODS'">待评价</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='EVALUATED'">已完成</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='PAY'">待发货</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='REFUNDED'">已退款</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='WAIT_RETURNED_GOODS'">待退货</view>
|
||||||
|
<view class="title" v-if="list.orderStatus=='RETURNED_GOODS'">退款成功</view>
|
||||||
|
|
||||||
|
</u-navbar>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="service">
|
<view class="service">
|
||||||
<image src="/static/pagesB/persone.png" mode=""></image>
|
<image src="/static/pagesB/persone.png" mode=""></image>
|
||||||
@ -10,15 +27,20 @@
|
|||||||
<image src="../../static/headsculpture.png" mode=""></image>
|
<image src="../../static/headsculpture.png" mode=""></image>
|
||||||
<view class="ppointment">
|
<view class="ppointment">
|
||||||
<view class="doctorname">
|
<view class="doctorname">
|
||||||
<span>张医生</span>
|
<span>{{list.hospitalPersonName}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="reservation">
|
<view class="reservation">
|
||||||
<span>齐鲁医院</span>
|
<span>齐鲁医院</span>
|
||||||
<span>副主任医师</span>
|
<span v-if="list.academicTitle=='DEPUTY_CHIEF_PHYSICIAN'">副主任医师</span>
|
||||||
|
<span v-if="list.academicTitle=='CHIEF_PHYSICIAN'">主任医师</span>
|
||||||
|
<span v-if="list.academicTitle=='ATTENDING_DOCTOR'">主治医师</span>
|
||||||
|
<span v-if="list.academicTitle=='PHYSICIAN'">医师</span>
|
||||||
|
<span v-if="list.academicTitle=='HEALER'">医士</span>
|
||||||
|
<span v-if="list.academicTitle=='RESIDENT_PHYSICIAN'">住院医师</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="hospital">
|
<!-- <view class="hospital">
|
||||||
三甲医院
|
三甲医院
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -27,44 +49,44 @@
|
|||||||
<view class="doctorphone">
|
<view class="doctorphone">
|
||||||
医生电话
|
医生电话
|
||||||
</view>
|
</view>
|
||||||
<view class="phone">
|
<view class="phone" v-if="list.personPhone">
|
||||||
·15864658751
|
·{{list.personPhone}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="doctordetails">
|
<view class="doctordetails">
|
||||||
<view class="doctorphone">
|
<view class="doctorphone">
|
||||||
预约时间
|
预约时间
|
||||||
</view>
|
</view>
|
||||||
<view class="phone">
|
<view class="phone" v-if="list.healthAppointDate">
|
||||||
·2023-10-10
|
{{list.healthAppointDate}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="doctordetailstwo">
|
<view class="doctordetailstwo">
|
||||||
<view class="doctorphonetwo">
|
<view class="doctorphonetwo">
|
||||||
咨询内容
|
咨询内容
|
||||||
</view>
|
</view>
|
||||||
<view class="phonetwo advicetwo">
|
<view class="phonetwo advicetwo" v-if="list.healthConsultationContent">
|
||||||
·咨询内内容咨询内容咨询内容咨询内容咨询内容咨咨询内容咨询内容咨询内容咨询内容
|
·{{list.healthConsultationContent}}
|
||||||
<!-- <textarea v-model="value" :type="type" :border="border" /> -->
|
<!-- <textarea v-model="value" :type="type" :border="border" /> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="amount">
|
<view class="amount">
|
||||||
<span>预约金额</span><span>¥39.90</span>
|
<span>预约金额</span><span>¥{{list.totalPrice}}</span>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="doctordetailstwo">
|
<view class="doctordetailstwo">
|
||||||
<view class="doctorphonetwo">
|
<view class="doctorphonetwo">
|
||||||
备注
|
备注
|
||||||
</view>
|
</view>
|
||||||
<view class="phonetwo advicetwo">
|
<view class="phonetwo advicetwo" v-if="list.remark">
|
||||||
·备注内容
|
·{{list.remark}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<span>更多</span>
|
<span>更多</span>
|
||||||
<span @tap="cancle">取消订单</span>
|
<span @tap="cancle" v-if="list.orderStatus!='RECEIVED_GOODS'||list.orderStatus!='EVALUATED'">取消订单</span>
|
||||||
<span @tap="evaluate">服务评价</span>
|
<span @tap="evaluate">服务评价</span>
|
||||||
</view>
|
</view>
|
||||||
<u-popup v-model="evaluateshow" mode="bottom" length="45%" border-radius="30" :closeable='true'>
|
<u-popup v-model="evaluateshow" mode="bottom" length="45%" border-radius="30" :closeable='true'>
|
||||||
@ -76,7 +98,7 @@
|
|||||||
<span>非常差/差/满意/非常满意</span>
|
<span>非常差/差/满意/非常满意</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="submits">
|
<view class="submits">
|
||||||
提交
|
提交
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
@ -85,25 +107,85 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {
|
||||||
|
confirmReceipt,
|
||||||
|
ssgoodsOrder,
|
||||||
|
} from '@/api/pagesB/CommodityOrder/index.js'
|
||||||
|
import baseurl from '@/api/baseurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
list: [],
|
||||||
// 评价弹框
|
// 评价弹框
|
||||||
evaluateshow:false,
|
background: {
|
||||||
|
backgroundColor: '#26A888',
|
||||||
|
},
|
||||||
|
evaluateshow: false,
|
||||||
|
orderTypeList: {
|
||||||
|
goodsOrderId: null,
|
||||||
|
patientId: '',
|
||||||
|
openid: null,
|
||||||
|
orderType: 'HEALTH_CONSULTATION',
|
||||||
|
orderStatus: 'WAIT_PAY',
|
||||||
|
// orderTypeList: [
|
||||||
|
// 'INTEGRAL_EXCHANGE',
|
||||||
|
// 'DIRECT_BUY',
|
||||||
|
// ],
|
||||||
|
// orderStatus: '',
|
||||||
|
pageSize: 15,
|
||||||
|
pageNum: 1,
|
||||||
|
goodsName: '',
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
this.list = JSON.parse(options.item)
|
||||||
|
console.log(this.list, '99')
|
||||||
|
// console.log(options,'88')
|
||||||
|
this.baseurl = baseurl
|
||||||
|
this.orderTypeList.goodsOrderId = options.goodsOrderId
|
||||||
|
let that = this
|
||||||
|
// const value = uni.getStorageSync('patientId');
|
||||||
|
// const value2 = uni.getStorageSync('openid');
|
||||||
|
// if (value && value2) {
|
||||||
|
// that.orderTypeList.patientId = value
|
||||||
|
// that.orderTypeList.openid = value2
|
||||||
|
// }
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
goprevious() {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
})
|
||||||
|
},
|
||||||
|
goodsOrderinfo() {
|
||||||
|
ssgoodsOrder(this.orderTypeList).then(
|
||||||
|
res => {
|
||||||
|
this.order = res.rows[0]
|
||||||
|
var ordertimes = this.order.orderTime.replaceAll(/\-/gi, "/")
|
||||||
|
var time = new Date(ordertimes).getTime() / 1000 + (60 * 60 * 2)
|
||||||
|
var times = new Date().getTime() / 1000
|
||||||
|
this.timestamp = time - times
|
||||||
|
if (this.timestamp >= 0) {
|
||||||
|
this.timecount = this.timestamp
|
||||||
|
this.Timers = setInterval(() => {
|
||||||
|
this.timecount--;
|
||||||
|
}, 1000)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
// 取消订单
|
// 取消订单
|
||||||
cancle(){
|
cancle() {
|
||||||
|
var list=this.list
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pagesB/cancel/cancel'
|
url: `/pagesB/cancel/cancel?list=${JSON.stringify(this.list)}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 服务评价
|
// 服务评价
|
||||||
evaluate(){
|
evaluate() {
|
||||||
this.evaluateshow=true;
|
this.evaluateshow = true;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -112,4 +194,3 @@
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import './consulted.scss'
|
@import './consulted.scss'
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user