修改订单反馈

tykong-cidian
duxiaoning 2023-12-21 16:10:27 +08:00
parent 0a486dd18c
commit 5b4e82d3e0
1 changed files with 14 additions and 13 deletions

View File

@ -419,7 +419,7 @@ export default {
fb.append("feedbackResult", this.unDeal.udMsg); fb.append("feedbackResult", this.unDeal.udMsg);
fb.append("feedbackReason", this.unDeal.udReason); fb.append("feedbackReason", this.unDeal.udReason);
fb.append("feedbackContext", this.unDeal.remark); fb.append("feedbackContext", this.unDeal.remark);
fb.append("imgFile", this.feedbackImg); fb.append("multipartFile", this.feedbackImg);
orderFeedback(fb).then((res) => { orderFeedback(fb).then((res) => {
if (res.code === 200 || res.message === "反馈成功") { if (res.code === 200 || res.message === "反馈成功") {
this.$message({ this.$message({
@ -428,18 +428,19 @@ export default {
}); });
this.imgLocalUrl = null; this.imgLocalUrl = null;
this.dialogFormVisible = false; this.dialogFormVisible = false;
updateOrderStage( window.location.href = DAICHULI_URL;
qs.stringify( // updateOrderStage(
{ // qs.stringify(
orderId: this.orderId, // {
orderStatus: 3, // orderId: this.orderId,
userId: this.userId, // orderStatus: 3,
}, // userId: this.userId,
{ indices: false } // },
) // { indices: false }
).then(uoRes => { // )
if (uoRes.code == 200 && uoRes.success) window.location.href = DAICHULI_URL; // ).then(uoRes => {
}); // if (uoRes.code == 200 && uoRes.success)
// });
} }
}); });
} else { } else {