diff --git a/src/api/order.ts b/src/api/order.ts index d2b6116..7afe611 100644 --- a/src/api/order.ts +++ b/src/api/order.ts @@ -54,3 +54,7 @@ export const apiByteQueryRefund = (params: any) => // 取消订单扣分规则 export const apiCancelOrderRule = (params: any) => request.get({ url: '/order/getCancelOrderConfigByOrder', data: params }) + +// 师傅上传服务照片 +export const apiServiceImages = (params: any) => + request.post({ url: '/order/staff/uploadServiceImg', data: params }) diff --git a/src/bundle/pages/service_order_detail/index.vue b/src/bundle/pages/service_order_detail/index.vue index a389d31..9627e11 100644 --- a/src/bundle/pages/service_order_detail/index.vue +++ b/src/bundle/pages/service_order_detail/index.vue @@ -26,16 +26,29 @@ {{ orderData.orderStatusName }} - - - - {{ orderData.contact }} {{ orderData.mobile }} + + + + + + {{ orderData.province }} + {{ orderData.city }} + {{ orderData.district }} + {{ orderData.address }} + + + + {{ orderData.contact }} + {{ orderData.mobile }} + - - {{ orderData.province }} - {{ orderData.city }} - {{ orderData.district }} - {{ orderData.address }} + + + 上门时间 + + {{ orderData.appointTime }} {{ orderData.weekDay }} + {{ orderData.appointTimeStartStr }}-{{ orderData.appointTimeEndStr }} + @@ -65,15 +78,6 @@ - - - 上门时间 - - {{ orderData.appointTime }} {{ orderData.weekDay }} - {{ orderData.appointTimeStartStr }}-{{ orderData.appointTimeEndStr }} - - - @@ -119,6 +123,22 @@ {{ orderData.cancelTime }} + + + 服务照片 + + + + @@ -140,11 +160,11 @@ diff --git a/src/bundle/pages/service_order_image/index.vue b/src/bundle/pages/service_order_image/index.vue new file mode 100644 index 0000000..dd036fb --- /dev/null +++ b/src/bundle/pages/service_order_image/index.vue @@ -0,0 +1,77 @@ + + + + diff --git a/src/components/order-footer/index.vue b/src/components/order-footer/index.vue index 5f01371..75c154f 100644 --- a/src/components/order-footer/index.vue +++ b/src/components/order-footer/index.vue @@ -42,7 +42,7 @@ - + - - - -