From 2b9844f191d7effd2ddc309195eed318d0acde40 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 03:22:08 +0800 Subject: [PATCH 1/9] =?UTF-8?q?feat=20:=20=E9=80=9A=E8=AE=AF=E5=BD=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fvcomponents/fvSearchForm/index.vue | 4 +- .../address-book-management/index.vue | 76 ++++++++++++++----- 2 files changed, 60 insertions(+), 20 deletions(-) diff --git a/src/fvcomponents/fvSearchForm/index.vue b/src/fvcomponents/fvSearchForm/index.vue index 533f409..e10a6a3 100644 --- a/src/fvcomponents/fvSearchForm/index.vue +++ b/src/fvcomponents/fvSearchForm/index.vue @@ -34,8 +34,8 @@ {{ showMore ? '收起' : '展开' }} - 查询 - 重置 + 查询 + 重置 diff --git a/src/views/phone-traffic-management/address-book-management/index.vue b/src/views/phone-traffic-management/address-book-management/index.vue index eb9a304..64409e0 100644 --- a/src/views/phone-traffic-management/address-book-management/index.vue +++ b/src/views/phone-traffic-management/address-book-management/index.vue @@ -1,19 +1,22 @@ + From 3882fa4ed5cb81df889e878e1bc59c9b10b699bb Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 14:33:52 +0800 Subject: [PATCH 3/9] =?UTF-8?q?feat=20:=20=E8=AF=9D=E6=9C=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/verbal-trick/index.js | 30 ++ .../voice-management/verbal-trick/index.vue | 285 ++++++++++++++++-- 2 files changed, 284 insertions(+), 31 deletions(-) create mode 100644 src/api/verbal-trick/index.js diff --git a/src/api/verbal-trick/index.js b/src/api/verbal-trick/index.js new file mode 100644 index 0000000..f05b0fe --- /dev/null +++ b/src/api/verbal-trick/index.js @@ -0,0 +1,30 @@ +import request from '@/utils/request.js' + +export const addVerbal = (data) => { + return request({ + url: '/verbal/add', + method: 'post', + data + }) +} +export const getVerbalDetail = (verbalId) => { + return request({ + url: `/verbal/${verbalId}`, + method: 'get' + }) +} + +export const editVerbal = (data) => { + return request({ + url: '/verbal/update', + method: 'post', + data + }) +} + +export const deleteVerbal = (verbalIds) => { + return request({ + url: `/verbal/${verbalIds}`, + method: 'delete' + }) +} diff --git a/src/views/voice-management/verbal-trick/index.vue b/src/views/voice-management/verbal-trick/index.vue index bd43189..08eba47 100644 --- a/src/views/voice-management/verbal-trick/index.vue +++ b/src/views/voice-management/verbal-trick/index.vue @@ -1,31 +1,25 @@ From 4192064e3fb707c470aaff97088bc9c62ec21052 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 14:34:24 +0800 Subject: [PATCH 4/9] =?UTF-8?q?fix=20:=20=E4=BF=AE=E6=94=B9=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 3 ++- .../address-book-management/index.vue | 21 ++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index c20e82a..98bdd88 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -28,7 +28,7 @@ diff --git a/src/views/voice-management/verbal-trick/index.vue b/src/views/voice-management/verbal-trick/index.vue index 08eba47..8c7cc13 100644 --- a/src/views/voice-management/verbal-trick/index.vue +++ b/src/views/voice-management/verbal-trick/index.vue @@ -238,7 +238,7 @@ const headBtnClick = (key) => { } const handleAdd = () => { formDialogRef.value.openOrCloseDialog(true) - dialogTitle.value = "新增通讯录"; + dialogTitle.value = "新增话术"; dialogType.value = "add"; nextTick(() => { formDialogRef.value.getFormInstance().setValues({}) @@ -250,7 +250,7 @@ const handleAdd = () => { const handleEdit = (row) => { formDialogRef.value.openOrCloseDialog(true) getDetail(row) - dialogTitle.value = "编辑通讯录"; + dialogTitle.value = "编辑话术"; dialogType.value = "edit"; } const getDetail = (row) => { @@ -294,7 +294,7 @@ const handleMoreDelete = () => { deleteContactMethod(verbalIds.value) }) }else{ - ElMessage.warning("请选择要删除的通讯录") + ElMessage.warning("请选择要删除的话术") } } const handleSingleDelete = (row) => { From 5882b0aff3cbacc229fc2c7d64e7b6320f2e7097 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 15:10:45 +0800 Subject: [PATCH 6/9] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8DpointTag?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PointTag.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PointTag.vue b/src/components/PointTag.vue index 2fddb21..ed1c621 100644 --- a/src/components/PointTag.vue +++ b/src/components/PointTag.vue @@ -1,8 +1,8 @@ From 8b8a6a8bd54349f18cf9ffbd1702f80938f9448b Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 21:18:04 +0800 Subject: [PATCH 7/9] =?UTF-8?q?feat=20:=20=E8=AF=9D=E5=8A=A1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/phone-traffic-config/index.js | 36 ++ .../phone-traffic-config/index.vue | 339 ++++++++++++++---- 2 files changed, 312 insertions(+), 63 deletions(-) create mode 100644 src/api/phone-traffic-config/index.js diff --git a/src/api/phone-traffic-config/index.js b/src/api/phone-traffic-config/index.js new file mode 100644 index 0000000..9c53096 --- /dev/null +++ b/src/api/phone-traffic-config/index.js @@ -0,0 +1,36 @@ +import request from '@/utils/request.js' + +// 获取参数配置表详情 +export const getConfigDetails = (configId,extraConfigType) => { + return request({ + url: `/extra/config/${configId}/${extraConfigType}`, + method: 'get' + }) +} + +// 新增参数配置表 +export const addConfig = (data) => { + return request({ + url: '/extra/config', + method: 'post', + data + }) +} + +// 修改参数配置表 +export const editConfig = (data) => { + return request({ + url: '/extra/config', + method: 'put', + data + }) +} + +// 删除参数配置表 +export const delConfig =(configIdList,extraConfigType) => { + return request({ + url: `/extra/config/${configIdList}/${extraConfigType}`, + method: 'delete' + }) +} + diff --git a/src/views/phone-traffic-management/phone-traffic-config/index.vue b/src/views/phone-traffic-management/phone-traffic-config/index.vue index 0180f05..a3aad88 100644 --- a/src/views/phone-traffic-management/phone-traffic-config/index.vue +++ b/src/views/phone-traffic-management/phone-traffic-config/index.vue @@ -1,72 +1,142 @@ From 8811172d1ee27cb191c9a6cedfc99d6ae37cbab4 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 21:25:18 +0800 Subject: [PATCH 8/9] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E8=AF=9D?= =?UTF-8?q?=E5=8A=A1=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/liveCall/index.vue | 6 +++--- .../phone-traffic-management/phone-traffic-config/index.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/liveCall/index.vue b/src/components/liveCall/index.vue index 9c49219..f2fd824 100644 --- a/src/components/liveCall/index.vue +++ b/src/components/liveCall/index.vue @@ -122,13 +122,13 @@ const initWebSocket = () => { console.log("服务器返回的信息: ", data); if(data.type=='1'){ recordLeftObj.value.content.push(data.content) - console.info("🚀 ~method:onmessage -----", recordLeftObj.value) + // console.info("🚀 ~method:onmessage -----", recordLeftObj.value) nextTick(() => { scrollToBottom(recordLeftRef.value) }) }else { recordRightObj.value.content.push(data.content) - console.info("🚀 ~method:onmessage -----", recordRightObj.value) + // console.info("🚀 ~method:onmessage -----", recordRightObj.value) nextTick(() => { scrollToBottom(recordRightRef.value); }) @@ -138,7 +138,7 @@ const initWebSocket = () => { } //连接关闭的回调方法 socket.onclose = function () { - initWebSocket() + // initWebSocket() console.log("ws连接关闭"); } setInterval(() => { diff --git a/src/views/phone-traffic-management/phone-traffic-config/index.vue b/src/views/phone-traffic-management/phone-traffic-config/index.vue index a3aad88..64ea87f 100644 --- a/src/views/phone-traffic-management/phone-traffic-config/index.vue +++ b/src/views/phone-traffic-management/phone-traffic-config/index.vue @@ -222,7 +222,7 @@ const phoneTrafficTableConfig = reactive({ ] }) const searchPhoneTraffic = (val) => { - let obj = {...val} + let obj = {...val,extraConfigType:extraConfigType.value} if (obj.dateValue) { obj.startTime = obj.dateValue[0] obj.endTime = obj.dateValue[1] From b0baccb508ec8230e4f47ba1a56cb9320fa09dff Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 16 Sep 2024 21:32:08 +0800 Subject: [PATCH 9/9] =?UTF-8?q?feat=20:=20=E8=AF=AD=E9=9F=B3=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../voice-management/voice-config/index.vue | 337 +++++++++++++++--- 1 file changed, 286 insertions(+), 51 deletions(-) diff --git a/src/views/voice-management/voice-config/index.vue b/src/views/voice-management/voice-config/index.vue index d8b332b..0f65908 100644 --- a/src/views/voice-management/voice-config/index.vue +++ b/src/views/voice-management/voice-config/index.vue @@ -1,52 +1,142 @@