|
@@ -0,0 +1,681 @@
|
|
1
|
+<template>
|
|
2
|
+ <div class="createMassMsg" v-loading="loading">
|
|
3
|
+ <div class="self_drawer_title">
|
|
4
|
+ <div class="flex">
|
|
5
|
+ {{ title }}
|
|
6
|
+ </div>
|
|
7
|
+ <div class="flex-align-center">
|
|
8
|
+ <i class="el-icon-close pointer" @click="$emit('close')" />
|
|
9
|
+ </div>
|
|
10
|
+ </div>
|
|
11
|
+
|
|
12
|
+ <div v-if="!loading" class="bg-ffffff content-wrap" style="padding: 15px 30px">
|
|
13
|
+ <div class="regulations">
|
|
14
|
+ <label>
|
|
15
|
+ <em>*</em>标题
|
|
16
|
+ <el-tooltip content="标题用于区分不同配置" placement="top">
|
|
17
|
+ <div><i class="el-icon-question"></i></div>
|
|
18
|
+ </el-tooltip>
|
|
19
|
+ </label>
|
|
20
|
+ <el-input
|
|
21
|
+ placeholder="请输入配置标题"
|
|
22
|
+ :disabled="!editFlag"
|
|
23
|
+ style="width: 300px"
|
|
24
|
+ v-model.trim="name"
|
|
25
|
+ clearable
|
|
26
|
+ size="small"
|
|
27
|
+ />
|
|
28
|
+ </div>
|
|
29
|
+ <div class="regulations">
|
|
30
|
+ <label>
|
|
31
|
+ <em>*</em>群名称前缀
|
|
32
|
+ <el-tooltip content="群名称会用前缀结合群个数生成" placement="top">
|
|
33
|
+ <div><i class="el-icon-question"></i></div>
|
|
34
|
+ </el-tooltip>
|
|
35
|
+ </label>
|
|
36
|
+ <el-input
|
|
37
|
+ placeholder="请输入群名称前缀"
|
|
38
|
+ :disabled="!editFlag"
|
|
39
|
+ style="width: 300px"
|
|
40
|
+ v-model.trim="chat_group_prefix"
|
|
41
|
+ clearable
|
|
42
|
+ size="small"
|
|
43
|
+ />
|
|
44
|
+ </div>
|
|
45
|
+ <div class="regulations">
|
|
46
|
+ <label>
|
|
47
|
+ <em>*</em>群个数
|
|
48
|
+ <el-tooltip content="自动创建的群个数" placement="top">
|
|
49
|
+ <div><i class="el-icon-question"></i></div>
|
|
50
|
+ </el-tooltip>
|
|
51
|
+ </label>
|
|
52
|
+ <el-input-number
|
|
53
|
+ placeholder="请输入群个数"
|
|
54
|
+ :min="1"
|
|
55
|
+ :disabled="!editFlag"
|
|
56
|
+ style="width: 180px"
|
|
57
|
+ v-model="number"
|
|
58
|
+ clearable
|
|
59
|
+ size="small"
|
|
60
|
+ />
|
|
61
|
+ </div>
|
|
62
|
+
|
|
63
|
+ <div class="regulations">
|
|
64
|
+ <label>
|
|
65
|
+ <em>*</em>群主
|
|
66
|
+ <el-tooltip
|
|
67
|
+ content="创建群的成员,结合【安卓设备绑定】中配置的客服使用"
|
|
68
|
+ placement="top"
|
|
69
|
+ >
|
|
70
|
+ <div><i class="el-icon-question"></i></div>
|
|
71
|
+ </el-tooltip>
|
|
72
|
+ </label>
|
|
73
|
+ <div>
|
|
74
|
+ <div style="display: flex">
|
|
75
|
+ <el-radio :disabled="!editFlag" v-model="is_for_all" :label="1"
|
|
76
|
+ >所有已绑定成员</el-radio
|
|
77
|
+ >
|
|
78
|
+ <el-radio :disabled="!editFlag" v-model="is_for_all" :label="0"
|
|
79
|
+ >筛选成员</el-radio
|
|
80
|
+ >
|
|
81
|
+ </div>
|
|
82
|
+ <self-customerservice
|
|
83
|
+ :disabled="!editFlag"
|
|
84
|
+ v-if="is_for_all == 0"
|
|
85
|
+ title=""
|
|
86
|
+ width="300px"
|
|
87
|
+ :afferent_users="user_id_list"
|
|
88
|
+ @customerDefine="
|
|
89
|
+ (val) => {
|
|
90
|
+ user_id_list = val;
|
|
91
|
+ }
|
|
92
|
+ "
|
|
93
|
+ />
|
|
94
|
+ </div>
|
|
95
|
+ </div>
|
|
96
|
+
|
|
97
|
+ <div class="regulations">
|
|
98
|
+ <label><em>*</em>待邀请入群客户</label>
|
|
99
|
+ <el-select v-model="waitInviteCustomer" multiple aria-placeholder="请选择需要邀请入群的客户" style="width: 300px;">
|
|
100
|
+ <el-option v-for="item,index in customerList"
|
|
101
|
+ :key="item.system_user_id"
|
|
102
|
+ :label="getOptionLabel(item)"
|
|
103
|
+ :value="item.system_user_id">
|
|
104
|
+ </el-option>
|
|
105
|
+ </el-select>
|
|
106
|
+ </div>
|
|
107
|
+
|
|
108
|
+ <div class="regulations">
|
|
109
|
+ <label><em>*</em>群创建方式</label>
|
|
110
|
+ <div class="flex">
|
|
111
|
+ <el-radio
|
|
112
|
+ v-model="create_type"
|
|
113
|
+ :disabled="!editFlag"
|
|
114
|
+ :label="1"
|
|
115
|
+ >立即创建</el-radio
|
|
116
|
+ >
|
|
117
|
+ <el-radio v-model="create_type" :disabled="!editFlag" :label="2">定时创建</el-radio>
|
|
118
|
+ </div>
|
|
119
|
+ </div>
|
|
120
|
+ <div class="regulations" v-show="create_type == 2">
|
|
121
|
+ <label><em>*</em>创建时间</label>
|
|
122
|
+ <div class="send-time-item">
|
|
123
|
+ <div class="timeNums-wrap">
|
|
124
|
+ <el-date-picker v-model="do_time.date" :picker-options="pickerOptions" size="small" value-format="yyyy-MM-dd" type="date" style="width:160px" placeholder="选择日期">
|
|
125
|
+ </el-date-picker>
|
|
126
|
+ <el-time-picker v-model="do_time.time" size="small" format="HH:mm" value-format="HH:mm:ss" placeholder="请输入时间" style="width:130px"></el-time-picker>
|
|
127
|
+ </div>
|
|
128
|
+ </div>
|
|
129
|
+ </div>
|
|
130
|
+
|
|
131
|
+ <div class="button_box">
|
|
132
|
+ <button
|
|
133
|
+ class="button"
|
|
134
|
+ v-if="editFlag && !isDisabledAll"
|
|
135
|
+ @click="massMsg_set"
|
|
136
|
+ >
|
|
137
|
+ 确定
|
|
138
|
+ </button>
|
|
139
|
+ </div>
|
|
140
|
+
|
|
141
|
+ <div
|
|
142
|
+ v-if="isDisabledAll"
|
|
143
|
+ class="disabled-wrap"
|
|
144
|
+ @click.stop="onClickDisabled"
|
|
145
|
+ />
|
|
146
|
+ </div>
|
|
147
|
+ </div>
|
|
148
|
+ </template>
|
|
149
|
+ <script>
|
|
150
|
+ import selfCustomerservice from "@/components/assembly/screen/customerService.vue";
|
|
151
|
+ import datePicker from "@/components/assembly/screen/datePicker.vue";
|
|
152
|
+ import screenPay from "@/components/assembly/screen/pay.vue";
|
|
153
|
+ import enterpriseTag from "@/components/assembly/screen/enterpriseTag.vue";
|
|
154
|
+ import _lodash from "lodash";
|
|
155
|
+
|
|
156
|
+ export default {
|
|
157
|
+ components: {
|
|
158
|
+ selfCustomerservice,
|
|
159
|
+ datePicker,
|
|
160
|
+ screenPay,
|
|
161
|
+ enterpriseTag,
|
|
162
|
+ },
|
|
163
|
+ props: {
|
|
164
|
+ title: {
|
|
165
|
+ type: String,
|
|
166
|
+ default: () => "详情",
|
|
167
|
+ },
|
|
168
|
+ rule_id: {
|
|
169
|
+ type: String | Number,
|
|
170
|
+ default: () => "",
|
|
171
|
+ },
|
|
172
|
+ },
|
|
173
|
+ data() {
|
|
174
|
+ return {
|
|
175
|
+ customerList: [],
|
|
176
|
+ isDisabledAll: false,
|
|
177
|
+ loading: true,
|
|
178
|
+ editFlag: true,
|
|
179
|
+ name: "", //群发标题
|
|
180
|
+ chat_group_prefix: "", // 客户群名称前缀
|
|
181
|
+ is_for_all: 1,
|
|
182
|
+ user_id_list: [],
|
|
183
|
+ waitInviteCustomer: [],
|
|
184
|
+ deleteChart: {},
|
|
185
|
+ create_type: 1, // 创建类型
|
|
186
|
+ pickerOptions: {
|
|
187
|
+ disabledDate (time) {
|
|
188
|
+ return time < Date.now() - 8.64e7;
|
|
189
|
+ },
|
|
190
|
+ shortcuts: [{
|
|
191
|
+ text: '今天',
|
|
192
|
+ onClick (picker) {
|
|
193
|
+ picker.$emit('pick', new Date());
|
|
194
|
+ }
|
|
195
|
+ }, {
|
|
196
|
+ text: '明天',
|
|
197
|
+ onClick (picker) {
|
|
198
|
+ const date = new Date();
|
|
199
|
+ date.setTime(date.getTime() + 3600 * 1000 * 24);
|
|
200
|
+ picker.$emit('pick', date);
|
|
201
|
+ }
|
|
202
|
+ }, {
|
|
203
|
+ text: '一周后',
|
|
204
|
+ onClick (picker) {
|
|
205
|
+ const date = new Date();
|
|
206
|
+ date.setTime(date.getTime() + 3600 * 1000 * 24 * 7);
|
|
207
|
+ picker.$emit('pick', date);
|
|
208
|
+ }
|
|
209
|
+ }]
|
|
210
|
+ },
|
|
211
|
+ do_time: {
|
|
212
|
+ date: '',
|
|
213
|
+ time: ''
|
|
214
|
+ },
|
|
215
|
+ number: ""
|
|
216
|
+ };
|
|
217
|
+ },
|
|
218
|
+ computed: {
|
|
219
|
+ isEdit() {
|
|
220
|
+ return !!this.rule_id;
|
|
221
|
+ },
|
|
222
|
+ },
|
|
223
|
+ created() {
|
|
224
|
+ this.$nextTick(() => {
|
|
225
|
+ this.forwardMsgCustomerList();
|
|
226
|
+ if (this.isEdit) {
|
|
227
|
+ //详情
|
|
228
|
+ this.detail();
|
|
229
|
+ } else {
|
|
230
|
+ this.loading = false;
|
|
231
|
+ }
|
|
232
|
+ });
|
|
233
|
+ },
|
|
234
|
+ methods: {
|
|
235
|
+ // 获取已配置需转发消息的客服列表
|
|
236
|
+ forwardMsgCustomerList() {
|
|
237
|
+ this.$loading(this.$loadingConfig);
|
|
238
|
+ this.$axios
|
|
239
|
+ .get(this.URL.BASEURL + this.URL.forward_msg_customer_list, {
|
|
240
|
+ params: {
|
|
241
|
+ kerword: '',
|
|
242
|
+ },
|
|
243
|
+ })
|
|
244
|
+ .then((res) => {
|
|
245
|
+ this.$loading(this.$loadingConfig).close();
|
|
246
|
+ var res = res.data;
|
|
247
|
+ if (res && res.errno == 0) {
|
|
248
|
+ this.customerList = res.rst
|
|
249
|
+ } else {
|
|
250
|
+ this.$message({
|
|
251
|
+ message: res.err,
|
|
252
|
+ type: "warning",
|
|
253
|
+ });
|
|
254
|
+ }
|
|
255
|
+ });
|
|
256
|
+ },
|
|
257
|
+ detail() {
|
|
258
|
+ //详情
|
|
259
|
+ this.loading = true;
|
|
260
|
+ this.$axios
|
|
261
|
+ .get(this.URL.BASEURL + this.URL.create_chat_group_config_detail, {
|
|
262
|
+ params: {
|
|
263
|
+ rule_id: this.rule_id,
|
|
264
|
+ },
|
|
265
|
+ })
|
|
266
|
+ .then((res) => {
|
|
267
|
+ var res = res.data;
|
|
268
|
+ this.loading = false;
|
|
269
|
+ if (res && res.errno == 0) {
|
|
270
|
+ //标题
|
|
271
|
+ this.name = res.rst.title;
|
|
272
|
+ //群主信息
|
|
273
|
+ this.user_id_list = res.rst.users ? res.rst.users : [];
|
|
274
|
+ if (res.rst.users && res.rst.users.length > 0) {
|
|
275
|
+ this.is_for_all = 0;
|
|
276
|
+ }
|
|
277
|
+
|
|
278
|
+ // 创建类型
|
|
279
|
+ this.create_type = res.rst.create_type || 1;
|
|
280
|
+ // 执行时间点
|
|
281
|
+ if (res.rst.create_type == 2) {
|
|
282
|
+ this.do_time.date = res.rst.do_time.split(' ')[0];
|
|
283
|
+ this.do_time.time = res.rst.do_time.split(' ')[1];
|
|
284
|
+ }
|
|
285
|
+ // 群名称前缀
|
|
286
|
+ this.chat_group_prefix = res.rst.template_group_name;
|
|
287
|
+
|
|
288
|
+ // 群数量
|
|
289
|
+ this.number = res.rst.group_num;
|
|
290
|
+
|
|
291
|
+ // 待邀请入群的客户
|
|
292
|
+ this.waitInviteCustomer = res.rst.forward_users.split(',').map(function(item) {
|
|
293
|
+ return parseInt(item, 10);
|
|
294
|
+ });
|
|
295
|
+ } else if (res.errno != 4002) {
|
|
296
|
+ this.$message({
|
|
297
|
+ message: res.err,
|
|
298
|
+ type: "warning",
|
|
299
|
+ });
|
|
300
|
+ }
|
|
301
|
+ })
|
|
302
|
+ .catch((err) => {
|
|
303
|
+ this.loading = false;
|
|
304
|
+ });
|
|
305
|
+ },
|
|
306
|
+
|
|
307
|
+ massMsg_set() {
|
|
308
|
+ let forwardUsers = this.waitInviteCustomer.join(',')
|
|
309
|
+
|
|
310
|
+ //提交
|
|
311
|
+ if (
|
|
312
|
+ this.is_for_all == 0 &&
|
|
313
|
+ (!this.user_id_list || this.user_id_list.length == 0)
|
|
314
|
+ ) {
|
|
315
|
+ this.$message.warning("请选择客服!");
|
|
316
|
+ return;
|
|
317
|
+ }
|
|
318
|
+
|
|
319
|
+ if (this.name == "") {
|
|
320
|
+ this.$message.warning("请输入标题!");
|
|
321
|
+ return;
|
|
322
|
+ }
|
|
323
|
+
|
|
324
|
+ if (this.chat_group_prefix == "") {
|
|
325
|
+ this.$message.warning("请输入客户群名称前缀!");
|
|
326
|
+ return;
|
|
327
|
+ }
|
|
328
|
+
|
|
329
|
+ if (this.create_type == 2) {
|
|
330
|
+ if (!this.do_time.date || !this.do_time.time) {
|
|
331
|
+ this.$message.warning("请选择客户群创建时间");
|
|
332
|
+ return;
|
|
333
|
+ }
|
|
334
|
+ }
|
|
335
|
+
|
|
336
|
+ if(forwardUsers == []) {
|
|
337
|
+ this.$message.warning("请选择待邀请入群客户!");
|
|
338
|
+ return;
|
|
339
|
+ }
|
|
340
|
+
|
|
341
|
+ this.$loading(this.$loadingConfig);
|
|
342
|
+ let params = {
|
|
343
|
+ is_for_all: this.is_for_all,
|
|
344
|
+ users:
|
|
345
|
+ this.user_id_list && this.user_id_list.length > 0
|
|
346
|
+ ? this.user_id_list.join(",")
|
|
347
|
+ : "",
|
|
348
|
+ title: this.name,
|
|
349
|
+ template_group_name: this.chat_group_prefix,
|
|
350
|
+ group_num: this.number,
|
|
351
|
+ forward_users: forwardUsers,
|
|
352
|
+ create_type: this.create_type,
|
|
353
|
+ do_time:
|
|
354
|
+ this.create_type == 2 ? this.do_time.date + ' ' +this.do_time.time : "",
|
|
355
|
+ };
|
|
356
|
+
|
|
357
|
+ if (this.isEdit) {
|
|
358
|
+ params.rule_id = this.rule_id;
|
|
359
|
+ }
|
|
360
|
+
|
|
361
|
+ this.$axios
|
|
362
|
+ .post(this.URL.BASEURL + this.URL.create_chat_group_config_set, params)
|
|
363
|
+ .then((res) => {
|
|
364
|
+ var res = res.data;
|
|
365
|
+ this.$loading(this.$loadingConfig).close();
|
|
366
|
+ if (res && res.errno == 0) {
|
|
367
|
+ if (!this.isEdit) {
|
|
368
|
+ //复制或者新建
|
|
369
|
+ this.$emit("close", "update_new");
|
|
370
|
+ } else {
|
|
371
|
+ //编辑
|
|
372
|
+ this.$emit("close", "update");
|
|
373
|
+ }
|
|
374
|
+ } else if (res.errno != 4002) {
|
|
375
|
+ this.$message({
|
|
376
|
+ message: res.err,
|
|
377
|
+ type: "warning",
|
|
378
|
+ });
|
|
379
|
+ }
|
|
380
|
+ })
|
|
381
|
+ .catch((err) => {
|
|
382
|
+ this.$loading(this.$loadingConfig).close();
|
|
383
|
+ });
|
|
384
|
+ },
|
|
385
|
+
|
|
386
|
+ onClickDisabled() {
|
|
387
|
+ return false;
|
|
388
|
+ },
|
|
389
|
+ getOptionLabel(item) {
|
|
390
|
+ return `${item.corp_name} - ${item.user_name}`;
|
|
391
|
+ },
|
|
392
|
+
|
|
393
|
+ },
|
|
394
|
+ };
|
|
395
|
+ </script>
|
|
396
|
+ <style lang="scss" scoped>
|
|
397
|
+ @import "../create.scss";
|
|
398
|
+
|
|
399
|
+ .listBox {
|
|
400
|
+ margin-left: 115px;
|
|
401
|
+ width: 730px;
|
|
402
|
+ margin-top: 10px;
|
|
403
|
+ background-color: #fbfbfb;
|
|
404
|
+ padding: 10px;
|
|
405
|
+ }
|
|
406
|
+
|
|
407
|
+ .reversalAnimation {
|
|
408
|
+ transform: rotate(180deg);
|
|
409
|
+ }
|
|
410
|
+
|
|
411
|
+ .createMassMsg {
|
|
412
|
+ .regulations {
|
|
413
|
+ .regulations-account {
|
|
414
|
+ width: 365px;
|
|
415
|
+ height: 40px;
|
|
416
|
+ border-radius: 3px;
|
|
417
|
+ border: 1px solid #dcdfe6;
|
|
418
|
+ color: #383e47;
|
|
419
|
+ font-size: 14px;
|
|
420
|
+ line-height: 20px;
|
|
421
|
+ padding: 0 7px;
|
|
422
|
+
|
|
423
|
+ .icon {
|
|
424
|
+ width: 25px;
|
|
425
|
+ height: 25px;
|
|
426
|
+ background: #43b083;
|
|
427
|
+ border-radius: 4px;
|
|
428
|
+ color: #ffffff;
|
|
429
|
+ line-height: 25px;
|
|
430
|
+ text-align: center;
|
|
431
|
+ margin-right: 7px;
|
|
432
|
+ }
|
|
433
|
+ }
|
|
434
|
+
|
|
435
|
+ .customer_all {
|
|
436
|
+ background: #edf8fd;
|
|
437
|
+ color: #383e47;
|
|
438
|
+ font-size: 14px;
|
|
439
|
+ line-height: 21px;
|
|
440
|
+ padding: 6px 15px;
|
|
441
|
+ margin-top: 10px;
|
|
442
|
+
|
|
443
|
+ span {
|
|
444
|
+ color: #43b083;
|
|
445
|
+ font-weight: bold;
|
|
446
|
+ }
|
|
447
|
+ }
|
|
448
|
+ }
|
|
449
|
+ }
|
|
450
|
+
|
|
451
|
+ .screeningCustomers {
|
|
452
|
+ width: 659px;
|
|
453
|
+ background: #fafafa;
|
|
454
|
+ border: 1px solid #e9e9e9;
|
|
455
|
+ padding: 15px;
|
|
456
|
+ padding-bottom: 0;
|
|
457
|
+ margin-top: 15px;
|
|
458
|
+
|
|
459
|
+ .screeningItem {
|
|
460
|
+ display: flex;
|
|
461
|
+ align-items: center;
|
|
462
|
+ margin-bottom: 20px;
|
|
463
|
+
|
|
464
|
+ label {
|
|
465
|
+ width: 80px;
|
|
466
|
+ color: #666666;
|
|
467
|
+ font-size: 14px;
|
|
468
|
+ line-height: 20px;
|
|
469
|
+ display: inline-block;
|
|
470
|
+ text-align: right;
|
|
471
|
+ line-height: 30px;
|
|
472
|
+ }
|
|
473
|
+
|
|
474
|
+ .checkboxGroup {
|
|
475
|
+ label {
|
|
476
|
+ text-align: left;
|
|
477
|
+ width: 60px;
|
|
478
|
+ }
|
|
479
|
+ }
|
|
480
|
+
|
|
481
|
+ .screening-hint {
|
|
482
|
+ color: #777777;
|
|
483
|
+ font-size: 14px;
|
|
484
|
+ line-height: 20px;
|
|
485
|
+ margin-top: 10px;
|
|
486
|
+ }
|
|
487
|
+ }
|
|
488
|
+ }
|
|
489
|
+
|
|
490
|
+ .operationProcess {
|
|
491
|
+ width: 710px;
|
|
492
|
+ background: #fafafa;
|
|
493
|
+ padding: 15px;
|
|
494
|
+
|
|
495
|
+ .process-title {
|
|
496
|
+ display: flex;
|
|
497
|
+ align-items: center;
|
|
498
|
+ justify-content: space-between;
|
|
499
|
+ margin-bottom: 16px;
|
|
500
|
+
|
|
501
|
+ h3 {
|
|
502
|
+ color: #333333;
|
|
503
|
+ font-size: 15px;
|
|
504
|
+ font-weight: bold;
|
|
505
|
+ }
|
|
506
|
+
|
|
507
|
+ .zhankai {
|
|
508
|
+ color: #666;
|
|
509
|
+ font-size: 13px;
|
|
510
|
+ cursor: pointer;
|
|
511
|
+ transition: all 0.5s;
|
|
512
|
+ }
|
|
513
|
+ }
|
|
514
|
+
|
|
515
|
+ .process-hint {
|
|
516
|
+ font-size: 14px;
|
|
517
|
+ font-weight: 400;
|
|
518
|
+ color: rgba(0, 0, 0, 0.45);
|
|
519
|
+ line-height: 20px;
|
|
520
|
+ margin-bottom: 8px;
|
|
521
|
+ }
|
|
522
|
+
|
|
523
|
+ .img {
|
|
524
|
+ width: 100%;
|
|
525
|
+ }
|
|
526
|
+ }
|
|
527
|
+
|
|
528
|
+ .button_box {
|
|
529
|
+ margin: 40px 90px;
|
|
530
|
+ display: flex;
|
|
531
|
+ align-items: center;
|
|
532
|
+ }
|
|
533
|
+
|
|
534
|
+ .button {
|
|
535
|
+ width: 178px;
|
|
536
|
+ height: 40px;
|
|
537
|
+ background: #00b38a;
|
|
538
|
+ border-radius: 5px;
|
|
539
|
+ color: #ffffff;
|
|
540
|
+ font-size: 14px;
|
|
541
|
+ border: none;
|
|
542
|
+ margin-right: 10px;
|
|
543
|
+ }
|
|
544
|
+
|
|
545
|
+ .screeningCustomers .screeningItem .timeLineBox label {
|
|
546
|
+ width: initial;
|
|
547
|
+ }
|
|
548
|
+ .add-days-wrap {
|
|
549
|
+ display: flex;
|
|
550
|
+ align-items: center;
|
|
551
|
+ font-size: 14px;
|
|
552
|
+ color: #666;
|
|
553
|
+ .el-input {
|
|
554
|
+ width: 70px;
|
|
555
|
+ margin: 0 6px;
|
|
556
|
+ /deep/ .el-input__inner {
|
|
557
|
+ padding: 0 24px 0 8px;
|
|
558
|
+ }
|
|
559
|
+ }
|
|
560
|
+ .tips {
|
|
561
|
+ font-size: 12px;
|
|
562
|
+ color: #f9a527;
|
|
563
|
+ margin-left: 10px;
|
|
564
|
+ }
|
|
565
|
+ }
|
|
566
|
+
|
|
567
|
+ .send-time-item {
|
|
568
|
+ display: flex;
|
|
569
|
+ align-items: flex-end;
|
|
570
|
+ flex-wrap: wrap;
|
|
571
|
+ margin-bottom: 20px;
|
|
572
|
+ &:last-child {
|
|
573
|
+ margin-bottom: 0;
|
|
574
|
+ }
|
|
575
|
+ .el-radio {
|
|
576
|
+ width: auto;
|
|
577
|
+ margin-right: 0;
|
|
578
|
+ }
|
|
579
|
+ .text {
|
|
580
|
+ flex-shrink: 0;
|
|
581
|
+ }
|
|
582
|
+ .el-input {
|
|
583
|
+ margin: 0 6px 0 0;
|
|
584
|
+ width: 80px;
|
|
585
|
+ font-size: 13px;
|
|
586
|
+ }
|
|
587
|
+ .timeNums-wrap {
|
|
588
|
+ .timeNums {
|
|
589
|
+ margin-top: 6px;
|
|
590
|
+ &:first-child {
|
|
591
|
+ margin-top: 0;
|
|
592
|
+ }
|
|
593
|
+ .el-date-editor {
|
|
594
|
+ width: 120px;
|
|
595
|
+ }
|
|
596
|
+ position: relative;
|
|
597
|
+ .el-icon-error {
|
|
598
|
+ position: absolute;
|
|
599
|
+ right: 0px;
|
|
600
|
+ top: -4px;
|
|
601
|
+ color: #f56c6c;
|
|
602
|
+ font-size: 14px;
|
|
603
|
+ cursor: pointer;
|
|
604
|
+ }
|
|
605
|
+ }
|
|
606
|
+ }
|
|
607
|
+ .add-btn {
|
|
608
|
+ margin-bottom: 6px;
|
|
609
|
+ display: flex;
|
|
610
|
+ align-items: center;
|
|
611
|
+ font-size: 13px;
|
|
612
|
+ color: #555;
|
|
613
|
+ cursor: pointer;
|
|
614
|
+ .el-icon-circle-plus-outline {
|
|
615
|
+ margin-left: 10px;
|
|
616
|
+ margin-right: 6px;
|
|
617
|
+ font-size: 16px;
|
|
618
|
+ }
|
|
619
|
+ }
|
|
620
|
+ }
|
|
621
|
+ .ml-80 {
|
|
622
|
+ margin-left: 80px;
|
|
623
|
+ }
|
|
624
|
+ .createMassMsg .regulations label {
|
|
625
|
+ width: 125px;
|
|
626
|
+ }
|
|
627
|
+
|
|
628
|
+ .content-wrap {
|
|
629
|
+ position: relative;
|
|
630
|
+ .disabled-wrap {
|
|
631
|
+ position: absolute;
|
|
632
|
+ top: 0;
|
|
633
|
+ bottom: 0;
|
|
634
|
+ left: 0;
|
|
635
|
+ right: 0;
|
|
636
|
+ // background-color: rgba(0, 0, 0, 0.45);
|
|
637
|
+ cursor: not-allowed;
|
|
638
|
+ z-index: 999;
|
|
639
|
+ }
|
|
640
|
+ }
|
|
641
|
+ .regulations {
|
|
642
|
+ & > label {
|
|
643
|
+ display: flex;
|
|
644
|
+ .el-icon-question {
|
|
645
|
+ color: #999;
|
|
646
|
+ font-size: 14px;
|
|
647
|
+ margin-left: 2px;
|
|
648
|
+ }
|
|
649
|
+ }
|
|
650
|
+
|
|
651
|
+ /deep/ .el-radio-group {
|
|
652
|
+ display: flex;
|
|
653
|
+ align-items: center;
|
|
654
|
+ .radio-tips-wrap {
|
|
655
|
+ display: flex;
|
|
656
|
+ align-items: center;
|
|
657
|
+ .el-radio__label {
|
|
658
|
+ display: flex;
|
|
659
|
+ .el-icon-question {
|
|
660
|
+ color: #999 !important;
|
|
661
|
+ font-size: 14px !important;
|
|
662
|
+ margin-left: 2px !important;
|
|
663
|
+ }
|
|
664
|
+ }
|
|
665
|
+ }
|
|
666
|
+ }
|
|
667
|
+ }
|
|
668
|
+ .createMassMsg .regulations.s-i-time {
|
|
669
|
+ display: flex;
|
|
670
|
+ align-items: center;
|
|
671
|
+ .time {
|
|
672
|
+ color: #666;
|
|
673
|
+ font-size: 13px;
|
|
674
|
+ }
|
|
675
|
+ .btn {
|
|
676
|
+ font-size: 13px;
|
|
677
|
+ margin-left: 20px;
|
|
678
|
+ }
|
|
679
|
+ }
|
|
680
|
+ </style>
|
|
681
|
+
|