diff --git a/api/order.js b/api/order.js
index db2860b..193cb14 100644
--- a/api/order.js
+++ b/api/order.js
@@ -17,7 +17,7 @@ export const orderDetailApi = (data) => {
//重新发起支付
export const rePaymentApi = (data) => {
- return request.post('/order/order/Repayment', data);
+ return request.post('/order/order/pay', data);
}
//订单数量统计
diff --git a/pagesOrder/order/component/good.vue b/pagesOrder/order/component/good.vue
index 1979db3..63356a3 100644
--- a/pagesOrder/order/component/good.vue
+++ b/pagesOrder/order/component/good.vue
@@ -62,13 +62,25 @@
datas: {
type: Object,
default: () => {}
+ },
+ status: {
+ type: String,
+ default: ''
}
})
const navTo = () => {
- uni.navigateTo({
- url: `/pagesOrder/detail/detail?type=${props.datas.paid}&id=${props.datas.id}`
- })
+ console.log(status);
+ if (status == 4) {
+ console.log(props.datas.id);
+ uni.navigateTo({
+ url: "/pages/afterSales/afterSalesOrderDetail?id=" + props.datas.id
+ })
+ } else {
+ uni.navigateTo({
+ url: `/pagesOrder/detail/detail?type=${props.datas.paid}&id=${props.datas.id}`
+ })
+ }
}
const emit = defineEmits(['cancleOrder', 'rePay', 'takeOrder', 'purchaseAgain']);
diff --git a/pagesOrder/order/order.vue b/pagesOrder/order/order.vue
index e438f0f..5250f58 100644
--- a/pagesOrder/order/order.vue
+++ b/pagesOrder/order/order.vue
@@ -46,7 +46,7 @@
-
+