|
@@ -4,7 +4,7 @@
|
4
|
4
|
:before-close="handleCancel"
|
5
|
5
|
class="warn-dialog"
|
6
|
6
|
:title="title"
|
7
|
|
- width="560px"
|
|
7
|
+ width="590px"
|
8
|
8
|
:close-on-click-modal="false"
|
9
|
9
|
>
|
10
|
10
|
<div class="form-wrap" v-loading="loading">
|
|
@@ -14,7 +14,7 @@
|
14
|
14
|
<customerServiceCorp
|
15
|
15
|
title=""
|
16
|
16
|
:icon_arrow_bg="false"
|
17
|
|
- width="410px"
|
|
17
|
+ width="430px"
|
18
|
18
|
style="margin:0;"
|
19
|
19
|
:afferent_users="form.afferent_djuser_list"
|
20
|
20
|
@customerDefine="onChangeDjuserList"
|
|
@@ -221,7 +221,7 @@ export default {
|
221
|
221
|
handleFormValidate() {
|
222
|
222
|
return new Promise((resolve, reject) => {
|
223
|
223
|
const { monitor_user_list, notice_type, warnUserList, warnGroup, rules } = this.form
|
224
|
|
- const isHasNullRules = rules.some(rule => !rule.minute || !rule.num)
|
|
224
|
+ const isHasNullRules = rules.some(rule => !rule.minute || rule.num === '')
|
225
|
225
|
|
226
|
226
|
if (!monitor_user_list || !monitor_user_list.length) {
|
227
|
227
|
this.$message.warning('请选择预警客服')
|
|
@@ -330,10 +330,10 @@ export default {
|
330
|
330
|
this.form.rules[idx].num = getIntegerNumber(inputVal)
|
331
|
331
|
},
|
332
|
332
|
onChangeNum(inputVal, idx) {
|
333
|
|
- if (inputVal !== '' && Number(inputVal) === 0) {
|
334
|
|
- this.form.rules[idx].num = ''
|
335
|
|
- this.$message.warning('人数不能为0')
|
336
|
|
- }
|
|
333
|
+ // if (inputVal !== '' && Number(inputVal) === 0) {
|
|
334
|
+ // this.form.rules[idx].num = ''
|
|
335
|
+ // this.$message.warning('人数不能为0')
|
|
336
|
+ // }
|
337
|
337
|
},
|
338
|
338
|
// 监听点击“添加规则”
|
339
|
339
|
onClickAddRules() {
|
|
@@ -393,12 +393,13 @@ export default {
|
393
|
393
|
}
|
394
|
394
|
}
|
395
|
395
|
.el-select {
|
396
|
|
- width: 100%;
|
|
396
|
+ width: 430px;
|
397
|
397
|
}
|
398
|
398
|
.rules-wrap {
|
|
399
|
+ box-sizing: border-box;
|
399
|
400
|
background-color: #F2F2F2;
|
400
|
401
|
padding: 14px;
|
401
|
|
- flex: 1;
|
|
402
|
+ width: 430px;
|
402
|
403
|
.rules-item {
|
403
|
404
|
display: flex;
|
404
|
405
|
align-items: center;
|
|
@@ -412,7 +413,7 @@ export default {
|
412
|
413
|
}
|
413
|
414
|
}
|
414
|
415
|
.el-select {
|
415
|
|
- width: 70px;
|
|
416
|
+ width: 100px;
|
416
|
417
|
margin-right: 6px;
|
417
|
418
|
}
|
418
|
419
|
.text {
|