|
@@ -290,6 +290,7 @@ import { useGlobalState } from '@/utils/callCenter';
|
|
|
import { useThemeConfig } from '@/stores/themeConfig';
|
|
|
import { getDataByCode } from '@/api/system/dict';
|
|
|
import { trimCompat } from '@/utils/tools';
|
|
|
+import XEUtils from 'xe-utils';
|
|
|
|
|
|
const globalState = useGlobalState(); // 全局变量
|
|
|
const state = reactive({
|
|
@@ -428,6 +429,7 @@ const m_IsHold = ref(false); // 是否保持
|
|
|
const m_IsTalkingDeal = ref(false); // 是否通话整理
|
|
|
const m_IsMonListen = ref('0'); // 监控状态 0-未监听;1-监控成功;2-监控失败;
|
|
|
const m_strTelState = ref('0'); // 当前状态
|
|
|
+m_strOpenFlag.value = XEUtils.toValueString(AppConfigInfo.value.callInOpenType)?.trim(); // 转换为字符串
|
|
|
const showPop = ref(false);
|
|
|
// 点击事件
|
|
|
const onEvent = (event: string) => {
|
|
@@ -1675,7 +1677,7 @@ const retHangup = (data?: any) => {
|
|
|
// 是否弹屏
|
|
|
m_bIsOpen.value = false;
|
|
|
m_strConsultType.value = '-1';
|
|
|
-/*
|
|
|
+ /*
|
|
|
m_strTelState.value = '200';
|
|
|
e_TopStateChange(m_strTelState.value);*/
|
|
|
// 未监听
|