From a1f1cd3ec085f73ad578bc9a7e0ec93b6fc68036 Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Mon, 24 Feb 2025 16:38:29 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9D=90=E5=B8=AD?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/layout/components/LayoutHeader.vue | 39 +++++++------------- 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/src/pages/layout/components/LayoutHeader.vue b/src/pages/layout/components/LayoutHeader.vue index 830e3f5..16fe14d 100644 --- a/src/pages/layout/components/LayoutHeader.vue +++ b/src/pages/layout/components/LayoutHeader.vue @@ -34,9 +34,9 @@ 空闲 - + 话后整理 @@ -49,23 +49,6 @@ - @@ -331,11 +314,14 @@ export default { // console.log('获取当前登录人的信息',this.userInfo) // console.log(this.userInfo.showName) console.log('判断是否绑定坐席agent',this.agent) - // if (this.agent) { - // setTimeout(() => { - // this.getStatus() - // }, 2000) - // } + if (this.agent) { + setTimeout(() => { + window.tccc.Agent.online().then(res => { + console.log('坐席上线', res) + // this.getStatus() + }) + }, 2000) + } }, methods: { // 个人信息 @@ -413,11 +399,12 @@ export default { }, handleCommand(command) { console.log(command) + if (this.agentStatus === command) { + return + } this.agentStatus = command if (command === 'free') { this.agentStatusName = '空闲' - } else if (command === 'busy') { - this.agentStatusName = '忙碌' } else if (command === 'arrange') { this.agentStatusName = '话后整理' } else if (command === 'notReady') { From ffb33de160fdf311e743d15b8b6f97f737086318 Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Mon, 24 Feb 2025 17:43:56 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8B=A8=E6=89=93?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mediation-page/components/MediationRoom.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index 6144cf7..cbee938 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -49,7 +49,8 @@
-
已暂停自动拨打
+
暂停拨打
+
已暂停自动拨打
开始拨打
{{formattedTime || '00:00'}}
@@ -66,13 +67,13 @@
{{queue ? '智能外呼案件列表' : '案件列表'}}
- + @@ -686,7 +687,11 @@ export default { }) this.queueList = caseCllList - + this.queueList.forEach((item, index) =>{ + if (item.caseId == this.caseId) { + this.index = index + } + }) }) }, // 当前自动呼叫队列 From b0dc4072f11bf0244fb1182500498d34c4582edc Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Mon, 24 Feb 2025 18:03:30 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-page/components/MediationRoom.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index cbee938..1e3441e 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -812,7 +812,7 @@ export default { }, // 静音会话 async muteMic() { - if (!this.$clickThrottle()) { + if (!this.$clickThrottle(1000)) { return } try { @@ -828,7 +828,7 @@ export default { }, // 取消静音 async unmuteMic() { - if (!this.$clickThrottle()) { + if (!this.$clickThrottle(1000)) { return } try { From b23bb2ce274c8dd2783d2cc731406819fc7bf9a4 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Mon, 24 Feb 2025 18:11:09 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/layout/components/LayoutHeader.vue | 9 +++++---- src/pages/layout/components/MenuTree.vue | 12 ++++++++---- src/pages/layout/components/SideMenu.vue | 6 +++--- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/pages/layout/components/LayoutHeader.vue b/src/pages/layout/components/LayoutHeader.vue index 888f5ce..8c4130e 100644 --- a/src/pages/layout/components/LayoutHeader.vue +++ b/src/pages/layout/components/LayoutHeader.vue @@ -484,7 +484,8 @@ export default { box-sizing: border-box; // background: url('~@/assets/image/header-bg-1920.png') no-repeat ; background-size: cover; - background-color: #C66A5B; + // background-color: #C66A5B; + background-color: #5d7eeac7; .el-badge__content { height: $height20; @@ -508,7 +509,7 @@ export default { background-color: transparent; } - .el-menu--horizontal > .el-menu-item { + .el-menu--horizontal > .el-menu-item,.el-menu--horizontal > .el-menu-item i { color: #FFFFFFB2; } @@ -516,7 +517,7 @@ export default { color: #FFFFFFB2; } - .el-menu--horizontal > .el-menu-item:hover { + .el-menu--horizontal > .el-menu-item:hover, .el-menu--horizontal > .el-menu-item:hover i { color: #C66A5B; background-color: transparent; color: #fff; @@ -532,7 +533,7 @@ export default { color: #FFFFFFB2; } - .el-menu--horizontal > .el-menu-item.is-active { + .el-menu--horizontal > .el-menu-item.is-active, .el-menu--horizontal > .el-menu-item.is-active i { border-bottom: 2px solid #fff; background-color: transparent; color: #fff; diff --git a/src/pages/layout/components/MenuTree.vue b/src/pages/layout/components/MenuTree.vue index fc4ce5c..4933a3c 100644 --- a/src/pages/layout/components/MenuTree.vue +++ b/src/pages/layout/components/MenuTree.vue @@ -1,8 +1,8 @@