|
@@ -116,16 +116,19 @@
|
116
|
116
|
</div>
|
117
|
117
|
<p style="font-size:13px;line-height:30px;color:#f9a527;margin-left:10px">*持续邀请入群任务仅可新增不可编辑</p>
|
118
|
118
|
</div>
|
119
|
|
- <div v-show="continuously_attract_groups == 1" class="regulations">
|
120
|
|
- <label>
|
121
|
|
- <em>*</em>
|
122
|
|
- 单日拉群上限
|
123
|
|
- <el-tooltip content="结合客户续拉功能使用,拉群上限 * 客户群人数上限(不设置默认为40)= 每日续拉的客户数" placement="top">
|
124
|
|
- <div><i class="el-icon-question"></i></div>
|
125
|
|
- </el-tooltip>
|
126
|
|
- </label>
|
127
|
|
- <el-input placeholder="请输入单日拉群上限" :disabled="!editFlag" style="width:300px" v-model.trim="upper_limit" clearable size="small" @input="onInputUpperLimit" />
|
|
119
|
+ <div v-show="continuously_attract_groups == 1" class="screeningCustomers" style="margin-left: 125px;padding:0 15px 20px;">
|
|
120
|
+ <div v-show="continuously_attract_groups == 1" class="regulations">
|
|
121
|
+ <label>
|
|
122
|
+ <em>*</em>
|
|
123
|
+ 单日拉群上限
|
|
124
|
+ <el-tooltip content="结合客户续拉功能使用,拉群上限 * 客户群人数上限(不设置默认为40)= 每日续拉的客户数" placement="top">
|
|
125
|
+ <div><i class="el-icon-question"></i></div>
|
|
126
|
+ </el-tooltip>
|
|
127
|
+ </label>
|
|
128
|
+ <el-input placeholder="请输入单日拉群上限" :disabled="!editFlag" style="width:300px" v-model.trim="upper_limit" clearable size="small" @input="onInputUpperLimit" />
|
|
129
|
+ </div>
|
128
|
130
|
</div>
|
|
131
|
+
|
129
|
132
|
<!-- E 客户续拉 -->
|
130
|
133
|
|
131
|
134
|
<!-- 拉群模式 -->
|
|
@@ -147,8 +150,8 @@
|
147
|
150
|
</el-radio-group>
|
148
|
151
|
</div>
|
149
|
152
|
|
150
|
|
- <!-- S 客户补拉(拉群模式为“当前客服群聊”时可编辑) -->
|
151
|
|
- <div v-show="main_msg_data.owner_type == 1" class="regulations" style="align-items: center">
|
|
153
|
+ <!-- S 客户补拉 -->
|
|
154
|
+ <div class="regulations" style="align-items: center">
|
152
|
155
|
<label>
|
153
|
156
|
客户补拉
|
154
|
157
|
</label>
|
|
@@ -164,25 +167,27 @@
|
164
|
167
|
/>
|
165
|
168
|
</div>
|
166
|
169
|
</div>
|
167
|
|
- <div v-show="supplementary_invite == 1" class="regulations">
|
168
|
|
- <label>
|
169
|
|
- <em>*</em>
|
170
|
|
- 补拉入群周期
|
171
|
|
- </label>
|
172
|
|
- <el-input placeholder="请输入补拉周期" :disabled="!editFlag" style="width:300px" v-model.trim="supplementary_invite_cycle" clearable size="small" @input="onInputSupplementaryInviteCycle">
|
173
|
|
- <template slot="append">天</template>
|
174
|
|
- </el-input>
|
175
|
|
- </div>
|
176
|
|
- <div class="regulations" v-show="supplementary_invite == 1">
|
177
|
|
- <label><em>*</em>补拉时间点</label>
|
178
|
|
- <div class="send-time-item">
|
179
|
|
- <div class="timeNums-wrap">
|
180
|
|
- <div class="timeNums" v-for="(item, idx) in supplementary_invite_time" :key="idx">
|
181
|
|
- <el-time-picker v-model="supplementary_invite_time[idx]" size="mini" placeholder="请选择" value-format="HH:mm" format="HH:mm" :clearable="false" />
|
182
|
|
- <i v-if="idx !== 0" class="el-icon-error" @click="onClickDelSupplementaryInviteTime(idx)" />
|
|
170
|
+ <div v-show="supplementary_invite == 1" class="screeningCustomers" style="margin-left: 125px;padding:0 15px 20px;">
|
|
171
|
+ <div class="regulations">
|
|
172
|
+ <label>
|
|
173
|
+ <em>*</em>
|
|
174
|
+ 补拉入群周期
|
|
175
|
+ </label>
|
|
176
|
+ <el-input placeholder="请输入补拉周期" :disabled="!editFlag" style="width:300px" v-model.trim="supplementary_invite_cycle" clearable size="small" @input="onInputSupplementaryInviteCycle">
|
|
177
|
+ <template slot="append">天</template>
|
|
178
|
+ </el-input>
|
|
179
|
+ </div>
|
|
180
|
+ <div class="regulations">
|
|
181
|
+ <label><em>*</em>补拉时间点</label>
|
|
182
|
+ <div class="send-time-item">
|
|
183
|
+ <div class="timeNums-wrap">
|
|
184
|
+ <div class="timeNums" v-for="(item, idx) in supplementary_invite_time" :key="idx">
|
|
185
|
+ <el-time-picker v-model="supplementary_invite_time[idx]" size="mini" placeholder="请选择" value-format="HH:mm" format="HH:mm" :clearable="false" />
|
|
186
|
+ <i v-if="idx !== 0" class="el-icon-error" @click="onClickDelSupplementaryInviteTime(idx)" />
|
|
187
|
+ </div>
|
183
|
188
|
</div>
|
|
189
|
+ <span class="add-btn" @click="onClickAddSupplementaryInviteTime"><i class="el-icon-circle-plus-outline" />新增时间点</span>
|
184
|
190
|
</div>
|
185
|
|
- <span class="add-btn" @click="onClickAddSupplementaryInviteTime"><i class="el-icon-circle-plus-outline" />新增时间点</span>
|
186
|
191
|
</div>
|
187
|
192
|
</div>
|
188
|
193
|
<!-- E 客户补拉 -->
|
|
@@ -193,14 +198,7 @@
|
193
|
198
|
<label><em>*</em>选择群聊:</label>
|
194
|
199
|
<chatGroupOptions ref="chatGroupOptionsMain" width="300px" :isHasRoomId="true" :isOnJobUser="true" :chatListResult="main_msg_data.chat_group_config" @change="onChangeGlobalChatGroup" />
|
195
|
200
|
</div>
|
196
|
|
- <!-- 进群方式 -->
|
197
|
|
- <!-- <div class="regulations" style="margin-top: 20px;">
|
198
|
|
- <label>进群方式:</label>
|
199
|
|
- <el-radio-group v-model="main_msg_data.join_type">
|
200
|
|
- <el-radio :label="1">顺序进群</el-radio>
|
201
|
|
- <el-radio :label="2">随机进群</el-radio>
|
202
|
|
- </el-radio-group>
|
203
|
|
- </div> -->
|
|
201
|
+
|
204
|
202
|
<!-- 群管理 -->
|
205
|
203
|
<div class="regulations" style="align-items: center">
|
206
|
204
|
<label>渠道群管理:</label>
|
|
@@ -347,7 +345,6 @@ export default {
|
347
|
345
|
user_id_list: [],
|
348
|
346
|
main_msg_data: {
|
349
|
347
|
owner_type: 2, // 拉群模式 2其他客服群聊 1当前客服群聊
|
350
|
|
- // join_type: 1, // 进群方式 1:顺序进群 2:随机进群
|
351
|
348
|
chat_group_config: [],
|
352
|
349
|
is_limit:0
|
353
|
350
|
},
|
|
@@ -524,7 +521,6 @@ export default {
|
524
|
521
|
tag_type: this.afferent_tag_obj.tag
|
525
|
522
|
}
|
526
|
523
|
|
527
|
|
-
|
528
|
524
|
this.filter_type = res.rst.filter_type || 1
|
529
|
525
|
this.add_time_later = (res.rst.customer_filter && res.rst.filter_type == 1) ? res.rst.add_time_later : ''
|
530
|
526
|
this.add_times = (res.rst.customer_filter && res.rst.filter_type == 2) ? [res.rst.add_time_st || '', res.rst.add_time_et || ''] : []
|
|
@@ -543,8 +539,6 @@ export default {
|
543
|
539
|
item.name = item.group_name
|
544
|
540
|
})
|
545
|
541
|
this.main_msg_data.is_limit = 1
|
546
|
|
- //进群方式
|
547
|
|
- // this.main_msg_data.join_type = res.rst.join_type
|
548
|
542
|
//拉群模式
|
549
|
543
|
this.main_msg_data.owner_type = res.rst.owner_type
|
550
|
544
|
|
|
@@ -612,7 +606,7 @@ export default {
|
612
|
606
|
return
|
613
|
607
|
}
|
614
|
608
|
|
615
|
|
- if (this.main_msg_data.owner_type == 1 && this.supplementary_invite == 1) { // 客户补拉开启判空
|
|
609
|
+ if (this.supplementary_invite == 1) { // 客户补拉开启判空
|
616
|
610
|
if (!this.supplementary_invite_cycle) {
|
617
|
611
|
this.$message.warning('请输入补拉入群周期(不能为0)')
|
618
|
612
|
return
|
|
@@ -655,7 +649,6 @@ export default {
|
655
|
649
|
users:this.user_id_list&&this.user_id_list.length>0 ? this.user_id_list.join(',') : '',
|
656
|
650
|
invite_config:JSON.stringify(this.main_msg_data.chat_group_config),
|
657
|
651
|
owner_type:this.main_msg_data.owner_type,
|
658
|
|
- // join_type:this.main_msg_data.join_type,
|
659
|
652
|
customer_filter: this.customer_filter,
|
660
|
653
|
// S 自定义筛选参数
|
661
|
654
|
gender: this.gender && this.gender.length ? this.gender.join(',') : '',
|
|
@@ -671,15 +664,13 @@ export default {
|
671
|
664
|
// E 自定义筛选参数
|
672
|
665
|
invite_type: this.invite_type,
|
673
|
666
|
invite_time: this.invite_type == 2 ? JSON.stringify(this.invite_time_list) : '',
|
674
|
|
- }
|
675
|
667
|
|
676
|
|
- // S 客户补拉参数
|
677
|
|
- if (this.main_msg_data.owner_type == 1) {
|
678
|
|
- params.supplementary_invite = this.supplementary_invite
|
679
|
|
- params.supplementary_invite_cycle = this.supplementary_invite == 1 ? this.supplementary_invite_cycle : ''
|
680
|
|
- params.supplementary_invite_time = this.supplementary_invite == 1 ? JSON.stringify(this.supplementary_invite_time) : ''
|
|
668
|
+ // S 客户补拉参数
|
|
669
|
+ supplementary_invite: this.supplementary_invite,
|
|
670
|
+ supplementary_invite_cycle: this.supplementary_invite == 1 ? this.supplementary_invite_cycle : '',
|
|
671
|
+ supplementary_invite_time: this.supplementary_invite == 1 ? JSON.stringify(this.supplementary_invite_time) : '',
|
|
672
|
+ // E 客户补拉参数
|
681
|
673
|
}
|
682
|
|
- // E 客户补拉参数
|
683
|
674
|
|
684
|
675
|
if (this.isEdit) {
|
685
|
676
|
params.rule_id = this.rule_id
|
|
@@ -764,12 +755,10 @@ export default {
|
764
|
755
|
},
|
765
|
756
|
|
766
|
757
|
onInputUpperLimit(inputVal) {
|
767
|
|
- // this.upper_limit = getIntegerNumber(inputVal)
|
768
|
758
|
this.upper_limit = getNot0IntegerNumber(inputVal)
|
769
|
759
|
},
|
770
|
760
|
|
771
|
761
|
onInputSupplementaryInviteCycle(inputVal) {
|
772
|
|
- // this.supplementary_invite_cycle = getIntegerNumber(inputVal)
|
773
|
762
|
this.supplementary_invite_cycle = getNot0IntegerNumber(inputVal)
|
774
|
763
|
},
|
775
|
764
|
|
|
@@ -790,7 +779,7 @@ export default {
|
790
|
779
|
@import "./create.scss";
|
791
|
780
|
|
792
|
781
|
.listBox{
|
793
|
|
- margin-left: 90px;
|
|
782
|
+ margin-left: 115px;
|
794
|
783
|
width: 730px;
|
795
|
784
|
margin-top: 10px;
|
796
|
785
|
background-color: #fbfbfb;
|