Browse Source

reactor:测试呼叫中心;

zhangchong 1 year ago
parent
commit
50e87c9d18
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/layout/navBars/breadcrumb/telControl.vue

+ 3 - 2
src/layout/navBars/breadcrumb/telControl.vue

@@ -466,8 +466,6 @@ import {
 	restFlowDel,
 	restFlowStartWex,
 	getTelList,
-	telRestProcess,
-	telRestAdd,
 	telRestBaseData,
 	dutyOff,
 	dutyOn,
@@ -974,6 +972,9 @@ const onMessage = (event: any) => {
         useTelStatusStore.setPhoneControlState(TelStates.onConference);
         console.log('三方来电通话中')
       }else if(data.private_data == 'three_way_hangup'){ // 三方来电挂断
+        // 设置电话状态 通话中
+        useTelStatusStore.setPhoneControlState(TelStates.onCall);
+        onCallArr.value = [];
         console.log('三方来电挂断')
       } else if(data.private_data == 'three_way_ring'){ // 三方通话呼出中
         console.log('三方通话呼出中')