Commit c19d05a8 by 前端

添加一键营销状态回收

1 parent 631d094e
...@@ -36,7 +36,15 @@ export default { ...@@ -36,7 +36,15 @@ export default {
returnAll: true returnAll: true
}) })
}, },
//一键营销状态回收
ocmarketingRecovery(data) {
data.method = 'marketing.api.solicit.ocmarketing.status.recovery'
return window.$HTTP({
url,
data,
returnAll: true
})
},
// 客户招揽-任务总览 // 客户招揽-任务总览
taskOverviewData(data) { taskOverviewData(data) {
data.method = 'marketing.api.solicit.taskOverview' data.method = 'marketing.api.solicit.taskOverview'
......
...@@ -167,7 +167,6 @@ export default { ...@@ -167,7 +167,6 @@ export default {
}, },
changeFirst(index) { changeFirst(index) {
this.status = index this.status = index
console.log(this.status, ' console.log(this.status)')
this.result = 0 this.result = 0
this.getSendCustomerList() this.getSendCustomerList()
}, },
......
...@@ -142,7 +142,8 @@ export default { ...@@ -142,7 +142,8 @@ export default {
}, },
mounted() { mounted() {
this.showLoading() this.showLoading()
//一键营销状态回收
this.ocmarketingRecovery()
//员工发送状态判断 //员工发送状态判断
this.staffSendStatus() this.staffSendStatus()
// 触达统计-客户送达分层 // 触达统计-客户送达分层
...@@ -175,6 +176,14 @@ export default { ...@@ -175,6 +176,14 @@ export default {
this.show = true this.show = true
this.phoneNumber = data.phoneNumber this.phoneNumber = data.phoneNumber
}, },
ocmarketingRecovery() {
let params = {
id: this.activityId,
staffId: this.staffId,
groupId: this.groupId
}
solicitApi.ocmarketingRecovery(params).then(({ code, data, message }) => {})
},
staffSendStatus() { staffSendStatus() {
let params = { let params = {
// id: 65, // id: 65,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!