|
|
|
@ -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({ |
|
|
|
|