|
|
@@ -29,6 +29,9 @@ Page({
|
|
|
}, {
|
|
|
icon: "icon-dibu-zhuanhuan",
|
|
|
label: "转化"
|
|
|
+ }, {
|
|
|
+ icon: "icon-dibu-tuihui",
|
|
|
+ label: "退回"
|
|
|
}, {
|
|
|
icon: "icon-zhuanyi",
|
|
|
label: "更换负责人"
|
|
|
@@ -268,7 +271,6 @@ Page({
|
|
|
})
|
|
|
break;
|
|
|
case "无效":
|
|
|
-
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
content: `是否设置该线索为"无效"状态,确定后无法撤销!`,
|
|
|
@@ -300,6 +302,32 @@ Page({
|
|
|
}
|
|
|
})
|
|
|
break;
|
|
|
+ case "退回":
|
|
|
+ wx.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: `是否退回该线索,确定后无法撤销!`,
|
|
|
+ complete: ({
|
|
|
+ confirm
|
|
|
+ }) => {
|
|
|
+ if (confirm) _Http.basic({
|
|
|
+ "id":20221207160802,
|
|
|
+ "content": {
|
|
|
+ sat_orderclueid: this.data.detail.sat_orderclueid
|
|
|
+ }
|
|
|
+ }).then(res => {
|
|
|
+ if (res.msg == '成功') {
|
|
|
+ that.getDetail();
|
|
|
+ }
|
|
|
+ setTimeout(() => {
|
|
|
+ wx.showToast({
|
|
|
+ title: res.msg == '成功' ? `操作成功` : res.msg,
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ }, 1000)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ break;
|
|
|
case "转化":
|
|
|
wx.navigateTo({
|
|
|
url: `/packageA/saleClue/change?rowData=${JSON.stringify(this.data.detail)}`,
|