diff --git a/buyer/src/components/mixes/talkIm.vue b/buyer/src/components/mixes/talkIm.vue index a50e3cab..ab7c5df1 100644 --- a/buyer/src/components/mixes/talkIm.vue +++ b/buyer/src/components/mixes/talkIm.vue @@ -15,16 +15,24 @@ export default { }, methods: { // 跳转im客服 - async IMService(id) { + async IMService(id, goodsId, skuId) { // 获取访问Token let accessToken = Storage.getItem("accessToken"); await this.getIMDetailMethods(); const userInfo = await getMemberMsg(); if (userInfo.success) { - window.open( - this.IMLink + "?token=" + accessToken + "&id=" + id || this.storeMsg.storeId - ); + //携带商品Id,在IM可以发送商品信息 + if(goodsId && skuId){ + window.open( + this.IMLink + "?token=" + accessToken + "&id=" + id || this.storeMsg.storeId + "&goodsId=" + goodsId + "&skuId=" + skuId + ); + }else{ + window.open( + this.IMLink + "?token=" + accessToken + "&id=" + id || this.storeMsg.storeId + ); + } + } else { this.$Message.error("请登录后再联系客服"); return; diff --git a/buyer/src/pages/GoodsDetail.vue b/buyer/src/pages/GoodsDetail.vue index 89685d2c..22820f71 100644 --- a/buyer/src/pages/GoodsDetail.vue +++ b/buyer/src/pages/GoodsDetail.vue @@ -22,7 +22,7 @@ {{ storeCollected? "已收藏店铺": "收藏店铺" }} - 联系客服 + 联系客服 diff --git a/buyer/src/pages/Merchant.vue b/buyer/src/pages/Merchant.vue index 621f3ad5..d773cdfe 100644 --- a/buyer/src/pages/Merchant.vue +++ b/buyer/src/pages/Merchant.vue @@ -14,7 +14,7 @@ type="ios-heart"/>{{ storeCollected ? '已收藏店铺' : '收藏店铺' }} - 联系客服 @@ -60,7 +60,6 @@
{{ cateName }}
-
+
- +
@@ -254,7 +254,7 @@ export default { goodsList(this.params) .then((res) => { if (res.success) { - this.goodsList = res.result; + this.goodsList = res.result.records; this.total = res.result.total; } }) diff --git a/buyer/src/pages/home/orderCenter/MyOrder.vue b/buyer/src/pages/home/orderCenter/MyOrder.vue index c390427a..a0293c1e 100644 --- a/buyer/src/pages/home/orderCenter/MyOrder.vue +++ b/buyer/src/pages/home/orderCenter/MyOrder.vue @@ -70,7 +70,8 @@ - +
@@ -206,7 +207,7 @@ export default { applyAfterSale (goodsItem) { // 申请售后 let arr = [] goodsItem.forEach(e => { - if (e.afterSaleStatus === 'NOT_APPLIED') { + if (e.afterSaleStatus === 'NOT_APPLIED'|| e.afterSaleStatus === 'PART_AFTER_SALE') { arr.push(e) } }); diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue index 04890d8c..cfc86f2f 100644 --- a/manager/src/views/member/list/index.vue +++ b/manager/src/views/member/list/index.vue @@ -466,7 +466,6 @@ export default { // 提交修改数据 handleSubmitModal() { - debugger const { nickName, sex, username, face, newPassword,id } = this.form; let time = new Date(this.form.birthday); let birthday = this.form.birthday=== undefined?'': @@ -491,7 +490,7 @@ export default { API_Member.updateMember(submit).then((res) => { if (res.result) { this.$Message.success("修改成功!"); - this.init(); + this.getData(); } }); },