diff --git a/src/views/main-navbar.vue b/src/views/main-navbar.vue index 88c3580..e361f7e 100644 --- a/src/views/main-navbar.vue +++ b/src/views/main-navbar.vue @@ -602,79 +602,79 @@ export default { //生产需替换 //互动管理菜单 - 每8秒检查一个功能下是否有未处理信息 单个重复检测时间为60秒 //紧急求助 - // this.chatNumJjqz = setInterval(() => { - // this.dataSelectJjqz() - // }, 60000) + this.chatNumJjqz = setInterval(() => { + this.dataSelectJjqz() + }, 60000) // //视频圈 - // setTimeout(() => { - // this.chatNumSpq = setInterval(() => { - // this.dataSelectSpq() - // }, 60000) - // }, 8000); + setTimeout(() => { + this.chatNumSpq = setInterval(() => { + this.dataSelectSpq() + }, 60000) + }, 8000); // //投诉中心 - // setTimeout(() => { - // this.chatNumQy = setInterval(() => { - // this.dataSelectPy() - // }, 60000) - // }, 16000); + setTimeout(() => { + this.chatNumQy = setInterval(() => { + this.dataSelectPy() + }, 60000) + }, 16000); // //聊天室 - // setTimeout(() => { - // this.chatNumLts = setInterval(() => { - // this.dataSelectLts() - // }, 60000) - // }, 24000); + setTimeout(() => { + this.chatNumLts = setInterval(() => { + this.dataSelectLts() + }, 60000) + }, 24000); // //消息中心 - // setTimeout(() => { - // this.chatNumXxzx = setInterval(() => { - // this.dataSelectXxzx() - // }, 60000) - // }, 32000); + setTimeout(() => { + this.chatNumXxzx = setInterval(() => { + this.dataSelectXxzx() + }, 60000) + }, 32000); // // 新用户注册 - // setTimeout(() => { - // this.chatNumXyhzc = setInterval(() => { - // this.dataSelectXyhzc() - // }, 60000) - // }, 40000); + setTimeout(() => { + this.chatNumXyhzc = setInterval(() => { + this.dataSelectXyhzc() + }, 60000) + }, 40000); // //实名认证 - // this.chatNumJl = setInterval(() => { - // this.dataSelect() - // }, 6000) - // this.chatNumYh = setInterval(() => { - // this.dataSelectYh() - // }, 6000) + this.chatNumJl = setInterval(() => { + this.dataSelect() + }, 6000) + this.chatNumYh = setInterval(() => { + this.dataSelectYh() + }, 6000) // // 目前的逻辑是只有客服账号才有订单相关(新订单、警告订单、超时订单)的提示 - // if ((this.userId && this.ringOrderId) && (this.userId == this.ringOrderId)) { - // this.chatNumJg = setInterval(() => { - // this.dataSelectJg() - // }, 6000) - // this.chatNumCs = setInterval(() => { - // this.dataSelectCs() - // }, 6000) - // this.chatNumXdd = setInterval(() => { - // this.dataSelectXdd() - // }, 3000) - // } + if ((this.userId && this.ringOrderId) && (this.userId == this.ringOrderId)) { + this.chatNumJg = setInterval(() => { + this.dataSelectJg() + }, 6000) + this.chatNumCs = setInterval(() => { + this.dataSelectCs() + }, 6000) + this.chatNumXdd = setInterval(() => { + this.dataSelectXdd() + }, 3000) + } }, beforeDestroy() { //生产需替换 //紧急求助定时任务 - // clearInterval(this.chatNumJjqz); + clearInterval(this.chatNumJjqz); // //视频圈定时任务 - // clearInterval(this.chatNumSpq); + clearInterval(this.chatNumSpq); // //投诉中心定时任务 - // clearInterval(this.chatNumQy); + clearInterval(this.chatNumQy); // //聊天室定时任务 - // clearInterval(this.chatNumLts); + clearInterval(this.chatNumLts); // //消息中心定时任务 - // clearInterval(this.chatNumXxzx); + clearInterval(this.chatNumXxzx); // //新用户注册定时任务 - // clearInterval(this.chatNumXyhzc); - // clearInterval(this.chatNum) - // clearInterval(this.chatNumJl); - // clearInterval(this.chatNumYh); - // clearInterval(this.chatNumJg); - // clearInterval(this.chatNumCs); - // clearInterval(this.chatNumXdd); + clearInterval(this.chatNumXyhzc); + clearInterval(this.chatNum) + clearInterval(this.chatNumJl); + clearInterval(this.chatNumYh); + clearInterval(this.chatNumJg); + clearInterval(this.chatNumCs); + clearInterval(this.chatNumXdd); } } diff --git a/src/views/travelAdjust/add-or-update.vue b/src/views/travelAdjust/add-or-update.vue index 11be00a..f0f80cb 100644 --- a/src/views/travelAdjust/add-or-update.vue +++ b/src/views/travelAdjust/add-or-update.vue @@ -1,175 +1,207 @@ - - + }; + \ No newline at end of file