Browse Source

chuangjian huoma yujing kefu xugai

liuxiaona 2 years ago
parent
commit
d68d7f0da2

+ 4 - 4
project/src/components/channelCode/createChannelCode.vue

@@ -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

+ 5 - 2
project/src/components/warningManage/warnList.vue

@@ -71,7 +71,10 @@
71 71
         <div class="itemBox" style="margin-bottom:20px">
72 72
           <div class="name"><em>*</em>客服号:</div>
73 73
           <div class="ipt">
74
-            <customerServiceCorp title='' :afferent_users='afferent_users' :icon_arrow_bg='false' width="370px" style="margin:0;width:100%" @customerDefine="(val)=>{get_djuser_list=val}"></customerServiceCorp>
74
+            <customerServiceCorp title=''
75
+                                 :afferent_users='afferent_users'
76
+                                 :icon_arrow_bg='false' width="370px"
77
+                                 style="margin:0;width:100%" @customerDefine="(val)=>{get_djuser_list=val}"></customerServiceCorp>
75 78
           </div>
76 79
         </div>
77 80
       </div>
@@ -324,4 +327,4 @@ export default {
324 327
     border-radius: 4px;
325 328
   }
326 329
 }
327
-</style>
330
+</style>

File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/css/app.0843cb6e.css


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/css/app.59ebc8d6.css


File diff suppressed because it is too large
+ 1 - 1
qwh5/dist/index.html


File diff suppressed because it is too large
+ 0 - 2
qwh5/dist/js/app.7216e039.js


File diff suppressed because it is too large
+ 0 - 1
qwh5/dist/js/app.7216e039.js.map


File diff suppressed because it is too large
+ 2 - 0
qwh5/dist/js/app.a8110a54.js


File diff suppressed because it is too large
+ 1 - 0
qwh5/dist/js/app.a8110a54.js.map


+ 16 - 16
qwh5/src/views/HomeView.vue

@@ -106,22 +106,22 @@ export default class HomeView extends Vue {
106 106
   ]
107 107
 
108 108
   created () {
109
-    window.location.href='weixin://dl/business/?t=9eYl4vhrfXt'
110
-    // if(!this.$route.query.corpid ||
111
-    //     !this.$route.query.user_id ||
112
-    //     !this.$route.query.token ||
113
-    //     !this.$route.query.timestamp
114
-    // ){
115
-    //   ElMessage({
116
-    //     showClose:true,
117
-    //     message: '没有获取到链接参数,请联系管理员',
118
-    //     type: 'warning',
119
-    //     duration:5000
120
-    //   })
121
-    // }else{
122
-    //   this.loading = true
123
-    //   this.get_customerList()
124
-    // }
109
+    // window.location.href='weixin://dl/business/?t=9eYl4vhrfXt'
110
+    if(!this.$route.query.corpid ||
111
+        !this.$route.query.user_id ||
112
+        !this.$route.query.token ||
113
+        !this.$route.query.timestamp
114
+    ){
115
+      ElMessage({
116
+        showClose:true,
117
+        message: '没有获取到链接参数,请联系管理员',
118
+        type: 'warning',
119
+        duration:5000
120
+      })
121
+    }else{
122
+      this.loading = true
123
+      this.get_customerList()
124
+    }
125 125
   }
126 126
 
127 127
   copyDomText (data) { //复制到粘贴板