|
@@ -538,6 +538,7 @@ import { useIntervalFn, useTimeoutFn } from '@vueuse/shared/index';
|
|
|
import { useGlobalState } from '@/utils/callCenter';
|
|
|
import { useThemeConfig } from '@/stores/themeConfig';
|
|
|
import { extensionList } from '@/api/tels/extension';
|
|
|
+import XEUtils from 'xe-utils';
|
|
|
// 引入组件
|
|
|
const CommonAdvice = defineAsyncComponent(() => import('@/components/CommonAdvice/index.vue')); // 常用意见
|
|
|
const AnnexList = defineAsyncComponent(() => import('@/components/AnnexList/index.vue'));
|
|
@@ -915,6 +916,7 @@ const onDisconnected = (event: any) => {
|
|
|
};
|
|
|
// 来电弹屏方式 1-接通弹屏;2-振铃弹屏
|
|
|
const openFlag = ref('2');
|
|
|
+openFlag.value = XEUtils.toValueString(AppConfigInfo.value.callInOpenType)?.trim(); // 转换为字符串
|
|
|
// 呼叫中心消息
|
|
|
const onMessage = async (event: any) => {
|
|
|
const data = JSON.parse(event);
|