|
@@ -234,7 +234,7 @@ export default {
|
234
|
234
|
}
|
235
|
235
|
this.customer_filter = res.rst.customer_filter
|
236
|
236
|
this.isLookCount = false;
|
237
|
|
- this.gender = res.rst.gender.split(',');
|
|
237
|
+ this.gender = res.rst.gender && res.rst.gender.split(',');
|
238
|
238
|
this.afferent_time = res.rst.add_time_start && res.rst.add_time_end ? [res.rst.add_time_start, res.rst.add_time_end] : []
|
239
|
239
|
this.afferent_tag_obj = {
|
240
|
240
|
tag_id_list: res.rst.tag_list ? res.rst.tag_list.split(',') : [],
|
|
@@ -333,7 +333,7 @@ export default {
|
333
|
333
|
send_time: send_time,
|
334
|
334
|
chat_type: 1,//群发任务的类型,1:single,表示发送给客户 2:group表示发送给客户群.默认为1
|
335
|
335
|
customer_filter: this.customer_filter,
|
336
|
|
- gender: this.gender.join(','),
|
|
336
|
+ gender: this.gender && this.gender.join(','),
|
337
|
337
|
add_time_start: this.afferent_time && this.afferent_time.length > 1 ? this.afferent_time[0] : '',
|
338
|
338
|
add_time_end: this.afferent_time && this.afferent_time.length > 1 ? this.afferent_time[1] : '',
|
339
|
339
|
tag_screen_type: this.tag_info && this.tag_info.tag_type ? this.tag_info.tag_type : 0,
|
|
@@ -418,7 +418,7 @@ export default {
|
418
|
418
|
customer_filter: this.customer_filter
|
419
|
419
|
}
|
420
|
420
|
if (this.customer_filter == 1) {//筛选客户
|
421
|
|
- params.gender = this.gender.join(',');
|
|
421
|
+ params.gender = this.gender && this.gender.join(',');
|
422
|
422
|
params.add_time_start = this.afferent_time && this.afferent_time.length > 1 ? this.afferent_time[0] : '';
|
423
|
423
|
params.add_time_end = this.afferent_time && this.afferent_time.length > 1 ? this.afferent_time[1] : '';
|
424
|
424
|
params.tag_screen_type = this.tag_info && this.tag_info.tag_type ? this.tag_info.tag_type : 0;
|