Commit b29d9507 by liangjianmin

css

parent b1ed8608
Showing with 10 additions and 2 deletions
......@@ -282,16 +282,20 @@ export default {
this.ask_customer_confirm_feedback = '按照修改后的处理';
} else if (index == 1) {
this.ask_customer_confirm_feedback = '人工处理';
this.toChat();
}
},
toChat() {
this.request(API.turnManualProcessing, 'POST', {ask_customer_problem_list_id:this.ask_customer_problem_list_id}, true).then(res => {
this.request(API.turnManualProcessing, 'POST', { ask_customer_problem_list_id: this.ask_customer_problem_list_id }, true).then(res => {
if (res.err_code === 0) {
uni.showToast({
title: res.err_msg,
icon: 'success'
});
setTimeout(() => {
uni.switchTab({
url: '/pages/question/list'
});
}, 2000);
} else {
uni.showToast({
title: res.err_msg,
......@@ -314,6 +318,7 @@ export default {
},
submit() {
var self = this;
if (this.currentIndex === 0) {
for (let i = 0; i < this.order_goods.length; i++) {
if (this.order_goods[i].customer_result == '请选择') {
uni.showModal({
......@@ -368,6 +373,9 @@ export default {
}
}
});
} else if (this.currentIndex === 1) {
this.toChat();
}
}
},
onShareTimeline(res) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment