diff --git a/src/components/infoLiveCall/index.vue b/src/components/infoLiveCall/index.vue index 8574160..79af9cc 100644 --- a/src/components/infoLiveCall/index.vue +++ b/src/components/infoLiveCall/index.vue @@ -1,78 +1,87 @@ diff --git a/src/components/liveCall/LiveCallItem.vue b/src/components/liveCall/LiveCallItem.vue index 1084c5c..c27172b 100644 --- a/src/components/liveCall/LiveCallItem.vue +++ b/src/components/liveCall/LiveCallItem.vue @@ -3,30 +3,35 @@
{{ headData.username }} - {{ headData.phone }} + 电话号码:{{ headData.phone }}
工单名称:{{ headData.orderName }}
-
-
{{ item.conversationTimestamp || '6月5日 12:05' }}
- -
-
-

{{ item.speaker==0?headData.username:'AI助手' }}

-
{{ item.message }}
-
- -
- -
- -
-

{{ item.speaker==0?headData.username:'AI助手' }}

-
{{ item.message }}
+
+
+
{{ key || '6月5日 12:05' }}
+
+ +
+
+

{{ recordItem.speaker == 0 ? recordItem.callIdNumber : 'AI助手' }}

+
{{ recordItem.message }}
+
+ +
+ +
+ +
+

{{ recordItem.speaker == 0 ? recordItem.callIdNumber : 'AI助手' }}

+
{{ recordItem.message }}
+
+
+ 一轮通话结束~~
@@ -35,19 +40,20 @@ + + diff --git a/src/components/liveCall/index.vue b/src/components/liveCall/index.vue index 5b9ace5..39d2b09 100644 --- a/src/components/liveCall/index.vue +++ b/src/components/liveCall/index.vue @@ -1,8 +1,8 @@ @@ -108,8 +108,8 @@ const handleLogout = () => { const initWebSocket = () => { try { // const wsUrl=setWsUrl(`/ws/text/${token}`) - // const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}` - const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}` + const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}` + // const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}` socket = new WebSocket(wsUrl) // 2. ws.send()给服务器发送信息 //连接发生错误的回调方法 diff --git a/src/views/home/index.vue b/src/views/home/index.vue index edefe69..48a8c2f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -5,7 +5,7 @@

历史通话记录

- +
@@ -20,19 +20,6 @@ const rowData = ref() const infoLiveCallRef=ref() const voiceRef=ref() const tableIns = ref() -const mockData = ref([ - { - workOrderNumber: 1211, - workOrderTime: '2022-02-09 00 : 12', - state: 0, - callState: '01' - }, - { - workOrderNumber: 232, - state: 1, - callState: '02' - } -]) const auths = reactive({ report: ['mosr:collect:reported'], }) @@ -77,7 +64,7 @@ const tableConfig = reactive({ }, { prop: 'workOrderNumber', - label: '号码', + label: '电话号码', align: 'center' }, { @@ -133,10 +120,7 @@ const tableConfig = reactive({ api: '/order/list', params: { orderState:'2' - }, - btns: [ - // {name: '新增', key: 'add',type:'primary',icon:'Plus'}, - ] + } }) const handleVoice = (row) => { voiceRef.value.open(true)