From 4a6ce6109101d7d2c0575c7821b754c54bd2acd9 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 13 Oct 2024 15:57:11 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E8=8E=B7=E5=8F=96=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8F=B0=E5=BD=93=E5=89=8D=E7=BA=BF=E8=B7=AF=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workbench/index.js | 11 +++++-- src/components/liveCall/LiveCallItemHome.vue | 6 ++-- src/components/liveCall/index.vue | 33 ++++++++++++++------ 3 files changed, 35 insertions(+), 15 deletions(-) diff --git a/src/api/workbench/index.js b/src/api/workbench/index.js index ceedeca..9784551 100644 --- a/src/api/workbench/index.js +++ b/src/api/workbench/index.js @@ -1,11 +1,16 @@ import request from '@/utils/request.js' -import { method } from 'lodash' //获取历史通话文本记录 - export const getHistoryCallContent=(params)=>{ return request({ url:`/text/history/list/${params}`, method:'get' }) -} \ No newline at end of file +} +//获取工作台当前线路记录 +export const getCurrentContent=(line)=>{ + return request({ + url:`/text/records/${line}`, + method:'get' + }) +} diff --git a/src/components/liveCall/LiveCallItemHome.vue b/src/components/liveCall/LiveCallItemHome.vue index b6ee640..3ac1f11 100644 --- a/src/components/liveCall/LiveCallItemHome.vue +++ b/src/components/liveCall/LiveCallItemHome.vue @@ -6,12 +6,14 @@ 电话号码:{{ recordObj.phone ||'--'}}