From fd74167f5528d8b6918ab885a0d15f6e6aae283a Mon Sep 17 00:00:00 2001
From: tdg930622 <51816549+tdg930622@users.noreply.github.com>
Date: Mon, 20 Jan 2025 15:38:27 +0800
Subject: [PATCH] tj
---
src/components/VoiceCallDialog.vue | 16 +++++++++-------
src/services/voiceCall.js | 8 ++++++++
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/components/VoiceCallDialog.vue b/src/components/VoiceCallDialog.vue
index 7de527d..f66ef66 100644
--- a/src/components/VoiceCallDialog.vue
+++ b/src/components/VoiceCallDialog.vue
@@ -90,7 +90,7 @@
未找到相关案件
-
+
标记为不明来电
@@ -181,13 +181,15 @@ export default {
}
},
// 标记来电
- async handleMarkers(item) {
+ async handleMarkers() {
try {
- // voiceCall.caseMatchList(this.queryParam).then(res => {
- // if (!res.code) {
- // this.tableData = res;
- // }
- // })
+ let jsonData = {
+ callingSessionId: this.acceptDialog.sessionId,
+ phone: this.incomingCallPhone,
+ }
+ voiceCall.markUnknow(jsonData).then(res => {
+ this.$message.success('标记成功!')
+ })
} catch (error) {
console.error(`${error}`)
}
diff --git a/src/services/voiceCall.js b/src/services/voiceCall.js
index 45a7f43..3538c92 100644
--- a/src/services/voiceCall.js
+++ b/src/services/voiceCall.js
@@ -13,5 +13,13 @@ const api = {
caseMatch: data => {
return service.service.post(`${apiAdmin}caseMatch`, data)
},
+ // 标记电话
+ markUnknow: data => {
+ return service.service.post(`${apiAdmin}markUnknow`, data)
+ },
+ // 呼叫未接列表
+ notAnswerList: data => {
+ return service.service.post(`${apiAdmin}call/notAnswerList`, data)
+ },
}
export default api;