|
@@ -111,7 +111,7 @@
|
111
|
111
|
:icon_arrow_bg='false'
|
112
|
112
|
width="300px"
|
113
|
113
|
style="margin:0;width:100%"
|
114
|
|
- @customerDefine="(val)=>{warn_user=val}"></customerServiceCorp>
|
|
114
|
+ @customerDefine="(val)=>{get_djuser_list=val}"></customerServiceCorp>
|
115
|
115
|
</div>
|
116
|
116
|
<div class="listBox">
|
117
|
117
|
<el-button type="primary" size="mini" @click="batch_setting" style="margin: 5px 0">批量设置</el-button>
|
|
@@ -433,7 +433,7 @@ export default {
|
433
|
433
|
if(JSON.parse(dataInfo.warn_user)&&JSON.parse(dataInfo.warn_user).length>0){
|
434
|
434
|
this.add_limit = true
|
435
|
435
|
this.warn_user = JSON.parse(dataInfo.warn_user)
|
436
|
|
- // this.get_djuser_list = JSON.parse(dataInfo.warn_user)
|
|
436
|
+ this.get_djuser_list = JSON.parse(dataInfo.warn_user)
|
437
|
437
|
}
|
438
|
438
|
this.afferent_tag_obj.tag_id_list = JSON.parse(dataInfo.tag_list)
|
439
|
439
|
this.tag_info = JSON.parse(dataInfo.tag_list)
|
|
@@ -519,7 +519,7 @@ export default {
|
519
|
519
|
return
|
520
|
520
|
}
|
521
|
521
|
if(this.add_limit){
|
522
|
|
- if(this.warn_user&&this.warn_user.length==0){
|
|
522
|
+ if(this.get_djuser_list&&this.get_djuser_list.length==0){
|
523
|
523
|
this.$message({
|
524
|
524
|
message: '预警人不能为空',
|
525
|
525
|
type: "error"
|
|
@@ -529,7 +529,7 @@ export default {
|
529
|
529
|
}
|
530
|
530
|
|
531
|
531
|
let warn_user_json = []//预警人
|
532
|
|
- this.warn_user.forEach(item=>{
|
|
532
|
+ this.get_djuser_list.forEach(item=>{
|
533
|
533
|
warn_user_json.push({
|
534
|
534
|
corpid:item.corpid,
|
535
|
535
|
user_id:item.user_id
|