From e34e032aeb46bf69a103422eb00ed7430a6661a7 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Tue, 18 Mar 2025 17:28:38 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=BC=80=E5=90=AF=E5=A3=B0=E9=9F=B3?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1=202=E3=80=81=E5=87=BA?= =?UTF-8?q?=E8=A1=8C=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/main-navbar.vue | 114 +++---- src/views/travelAdjust/add-or-update.vue | 368 ++++++++++++----------- 2 files changed, 257 insertions(+), 225 deletions(-) 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