Commit c19d05a8 by 前端

添加一键营销状态回收

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