Commit 4e1cfa55 by chenwq

预估人数

1 parent c3f672eb
...@@ -350,16 +350,7 @@ export default { ...@@ -350,16 +350,7 @@ export default {
} }
], ],
handleRadioChange: val => { handleRadioChange: val => {
switch (this.parentCustomerObj.currentCustomerTypeName) { this.getCustomerNum()
case '人群':
this.getCustomerByCrowdList()
break
case '标签':
this.getCustomerByTagList()
break
case '指定':
break
}
} }
}, },
{ {
...@@ -543,6 +534,7 @@ export default { ...@@ -543,6 +534,7 @@ export default {
this.previewList = this.editForm.object ? [{ attContent: JSON.parse(JSON.stringify(this.editForm.object)), additionalType: this.editForm.object.additionalType }] : [] this.previewList = this.editForm.object ? [{ attContent: JSON.parse(JSON.stringify(this.editForm.object)), additionalType: this.editForm.object.additionalType }] : []
this.recoveryRepeat() this.recoveryRepeat()
this.recoveryEndTime() this.recoveryEndTime()
this.getCustomerNum()
}, },
handleReachesType(val) { handleReachesType(val) {
...@@ -626,6 +618,19 @@ export default { ...@@ -626,6 +618,19 @@ export default {
}, },
// 营销内容 // 营销内容
getCustomerNum() {
switch (this.parentCustomerObj.currentCustomerTypeName) {
case '人群':
this.getCustomerByCrowdList()
break
case '标签':
this.getCustomerByTagList()
break
case '指定':
break
}
},
getCustomerByCrowdList() { getCustomerByCrowdList() {
var params = { var params = {
pageSize: 1, pageSize: 1,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!