diff --git a/pages.json b/pages.json
index cf414e4..c59e4a7 100644
--- a/pages.json
+++ b/pages.json
@@ -143,12 +143,6 @@
"navigationBarTitleText": "订单详情",
"enablePullDownRefresh": false
}
- }, {
- "path": "pages/payorderDetails/payorderDetails",
- "style": {
- "navigationBarTitleText": "订单详情",
- "enablePullDownRefresh": false
- }
}, {
"path": "pages/login/login",
"style": {
@@ -185,13 +179,7 @@
"navigationBarTitleText": "选择退款类型",
"enablePullDownRefresh": false
}
- }, {
- "path": "pages/menttimeorder/menttimeorder",
- "style": {
- "navigationBarTitleText": "预约详情",
- "enablePullDownRefresh": false
- }
- }, {
+ }, {
"path": "pages/homepage/homepage",
"style": {
"navigationBarTitleText": "泉医到家",
diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue
index 6e23d85..bb72606 100644
--- a/pages/CommodityDetails/CommodityDetails.vue
+++ b/pages/CommodityDetails/CommodityDetails.vue
@@ -490,11 +490,8 @@
title: '取消支付',
type: 'error',
duration: 1000,
- url: `/pages/payorderDetails/payorderDetails?goodsOrderId=${id}`
+ url: `/pages/orderDetails/orderDetails?goodsOrderId=${id}`
})
- // uni.navigateTo({
- // url: `/pages/payorderDetails/payorderDetails?goodsOrderId=${id}`
- // })
}
});
} else {
diff --git a/pages/appointmenttime/appointmenttime.vue b/pages/appointmenttime/appointmenttime.vue
index b1745ba..26f63a6 100644
--- a/pages/appointmenttime/appointmenttime.vue
+++ b/pages/appointmenttime/appointmenttime.vue
@@ -359,7 +359,7 @@
}
that.timer = setTimeout(e => {
uni.redirectTo({
- url: `/pages/menttimeorder/menttimeorder?list=${JSON.stringify(obj)}`
+ url: `/pages/ServiceDetails/ServiceDetails?orderNo=${obj.orderNo}`
})
}, 1500)
}
diff --git a/pages/confirmation/confirmation.vue b/pages/confirmation/confirmation.vue
index afbe5cd..bba21e5 100644
--- a/pages/confirmation/confirmation.vue
+++ b/pages/confirmation/confirmation.vue
@@ -73,6 +73,7 @@
export default {
data() {
return {
+ timer: null,
openid: null,
buyshow: false,
price: 0,
@@ -117,16 +118,30 @@
title: '支付成功',
type: 'success',
duration: 1500,
- url: `/pages/paysuccess/paysuccess`
})
+ if (that.timer) {
+ clearTimeout(that.timer)
+ }
+ that.timer = setTimeout(e => {
+ uni.redirectTo({
+ url: `/pages/paysuccess/paysuccess`
+ })
+ }, 1500)
},
fail: function(err) {
that.$refs.uToast.show({
title: '取消支付',
type: 'error',
duration: 1500,
- url: `/pages/payorderDetails/payorderDetails?goodsOrderId=${id}`
})
+ if (that.timer) {
+ clearTimeout(that.timer)
+ }
+ that.timer = setTimeout(e => {
+ uni.redirectTo({
+ url: `/pages/orderDetails/orderDetails?goodsOrderId=${id}`
+ })
+ }, 1500)
}
});
} else {
@@ -300,6 +315,7 @@
background: #FFFFFF;
border-radius: 20rpx;
padding: 30rpx 0 0 30rpx;
+
span {
font-weight: 600;
}
diff --git a/pages/hospitalcare/hospitalcare.vue b/pages/hospitalcare/hospitalcare.vue
index 6b8b942..af5c76b 100644
--- a/pages/hospitalcare/hospitalcare.vue
+++ b/pages/hospitalcare/hospitalcare.vue
@@ -70,7 +70,7 @@
timer: null,
companionDays: 1,
orderlist: {
- caregiverName:undefined,
+ caregiverName: undefined,
caregiverPhone: undefined,
hospitalName: undefined,
departmentName: undefined,
@@ -154,7 +154,7 @@
}
that.timer = setTimeout(e => {
uni.redirectTo({
- url: `/pages/menttimeorder/menttimeorder?list=${JSON.stringify(obj)}`
+ url: `/pages/ServiceDetails/ServiceDetails?orderNo=${obj.orderNo}`
})
}, 1500)
}
diff --git a/pages/menttimeorder/menttimeorder.vue b/pages/menttimeorder/menttimeorder.vue
deleted file mode 100644
index a76919e..0000000
--- a/pages/menttimeorder/menttimeorder.vue
+++ /dev/null
@@ -1,235 +0,0 @@
-
-
-
- 剩余付款时间:
-
-
-
-
- 订单已关闭
-
-
-
- 服务商家
-
-
-
-
-
-
- {{list.nurseStationName}}
-
-
- {{list.address}}
-
-
-
- 联系我们
-
-
-
-
-
-
-
- 服务项目
-
- ·{{list.nurseItemName}}
-
- 服务信息
-
- ·姓名:{{list.caregiverName}}
- ·电话:{{list.caregiverPhone}}
- ·医院:{{list.hospitalName}}
- ·科室:{{list.departmentName}}
- ·病床号:{{list.hospitalBedNumber}}
-
- ·时间:{{list.companionStartDate}} - {{list.companionEndDate}}
- ·下单时间:{{list.createTime}}
-
-
- ·姓名:{{list.patientName}}
- ·电话:{{list.patientPhone}}
- ·地址:{{list.serviceAddress}}
- ·预约时间:{{list.serviceDate}} {{list.serviceStartTime}}
-
- ·下单时间:{{list.createTime}}
-
-
- 套餐信息:
- ¥{{list.nurseItemPrice}}
-
- ·{{list.nurseItemName}}
-
-
- 耗材包详情:
- ¥{{list.consumableTotalPrice}}
- ¥0
-
- ·{{item.orderConsumableName}}
- {{item.orderConsumableCount}}{{item.consumableUnit}}/¥{{item.orderConsumablePrice}}
-
-
-
-
-
- ¥{{list.totalPrice}}
-
-
-
- 去支付
-
-
-
-
-
-
-
-
diff --git a/pages/payorderDetails/payorderDetails.vue b/pages/payorderDetails/payorderDetails.vue
deleted file mode 100644
index 900037a..0000000
--- a/pages/payorderDetails/payorderDetails.vue
+++ /dev/null
@@ -1,222 +0,0 @@
-
-
-
- 剩余付款时间:
-
-
-
-
- 订单已关闭
-
-
-
-
- 店铺名称
-
-
-
-
-
-
-
-
-
- 健康咨询
- {{order.goodsName}}
- ¥{{order.goodsPrice}}
-
-
- 型号:{{order.goodsAttributeName}}
- X{{order.goodsCount}}
-
-
- 优惠金额:
- -¥{{order.discountPrice}}
-
-
- 申请退款
-
-
- 退款中
-
-
- 退款成功
-
-
-
- 待退货
-
-
- 已取消
-
-
-
-
- 实付款
- ¥{{order.totalPrice}}
-
-
-
-
- 收货人:{{order.receiver}}
- 联系电话:{{order.phone}}
- 咨询医生:{{order.hospitalPersonName}}
- 咨询时间:{{order.healthAppointDate}}
- 收货地址:{{order.receiveAddress}}
- 订单编号:{{order.goOrderNo}}
-
- 下单时间:{{order.orderTime}}
- 退款时间:{{order.updateTime}}
-
-
-
-
- 去支付
-
-
-
-
-
-
-
-