diff --git a/src/api/system/goodsOrder.js b/src/api/system/goodsOrder.js index 5046115..74f0155 100644 --- a/src/api/system/goodsOrder.js +++ b/src/api/system/goodsOrder.js @@ -16,13 +16,20 @@ export function getGoodsOrder(id) { method: 'get' }) } -// 查看商品详细信息 +// 查看健康咨询详情 export function getGoodsOrderlist(id) { return request({ url: `/nurseApplet/nursingOrder/getConsultationOrder` + `?orderNo=${id}`, method: 'get' }) } +// 查看商品详情 +export function goodsOrderByOrderdata(id) { + return request({ + url: `/system/goodsOrder/goodsOrderByOrder` + `?orderNo=${id}`, + method: 'get' + }) +} // 退款 export function goodsOrderRefundinfo(id) { return request({ diff --git a/src/views/system/goodsOrder/indexjs.js b/src/views/system/goodsOrder/indexjs.js index b990efb..594762a 100644 --- a/src/views/system/goodsOrder/indexjs.js +++ b/src/views/system/goodsOrder/indexjs.js @@ -4,7 +4,7 @@ import { delGoodsOrder, addGoodsOrder, updateGoodsOrder, - getGoodsOrderlist, + goodsOrderByOrderdata, goodsOrderRefundinfo, editExpressNo, goodsOrderrefund, @@ -243,7 +243,7 @@ export default { // 查看商品信息 seeOrder(row) { const id = row.orderNo; - getGoodsOrderlist(id).then((res) => { + goodsOrderByOrderdata(id).then((res) => { this.orderList = res.data; this.innerorder = true; this.ratelist = {} diff --git a/src/views/system/healthorder/index.vue b/src/views/system/healthorder/index.vue index 210583c..5352ebe 100644 --- a/src/views/system/healthorder/index.vue +++ b/src/views/system/healthorder/index.vue @@ -170,6 +170,12 @@ + + + + + + @@ -188,7 +194,7 @@ > - +