tianyi 6 hours ago
parent
commit
6811bad352
  1. 25
      package1/order/orderEvaluate.vue

25
package1/order/orderEvaluate.vue

@ -211,18 +211,21 @@
score:this.shopEvaluateNum,
orderId:this.shopData.id,
shopId:this.shopData.shopId,
},{ //
parentId:'',
leve:0,
remark:this.shopRemark,
picture:this.manPicture,
createBy:uni.getStorageSync('id'),
createByName:'微信用户',
createByIcon:'https://ooo.0o0.ooo/2019/04/28/5cc5a71a6e3b6.png',
score:this.manEvaluateNum,
orderId:this.shopData.id,
shopId:this.manId,
}]
if(this.shopData.deliveryType == 1){
data.push({ //
parentId:'',
leve:0,
remark:this.shopRemark,
picture:this.manPicture,
createBy:uni.getStorageSync('id'),
createByName:'微信用户',
createByIcon:'https://ooo.0o0.ooo/2019/04/28/5cc5a71a6e3b6.png',
score:this.manEvaluateNum,
orderId:this.shopData.id,
shopId:this.manId,
})
}
that.tui.request("/app/comment/save", "POST", data, false, false).then((res) => {
if (res.code == 200) {
uni.showToast({

Loading…
Cancel
Save