|
@@ -2096,10 +2096,10 @@ const evtCallAlerting = (data: any) => {
|
|
|
strCalledNum = data.Param.Called;
|
|
|
// 呼叫ID
|
|
|
callId.value = data.Param.Callid;
|
|
|
- if (strTelNumber.length == strCalledNum.length && strTelNumber.length == 4) {
|
|
|
+ /* if (strTelNumber.length == strCalledNum.length && strTelNumber.length == 4) {
|
|
|
// 如果主叫号码、被叫号码都是分机号码,则不弹屏
|
|
|
m_bIsOpen.value = true;
|
|
|
- }
|
|
|
+ }*/
|
|
|
if (!m_bIsOpen.value && m_strOpenFlag.value === '2') {
|
|
|
m_bIsOpen.value = true;
|
|
|
// 用户按键
|
|
@@ -2273,10 +2273,10 @@ const evtEvtCallAnswer = (data: any) => {
|
|
|
strCalledNum +
|
|
|
']'
|
|
|
);
|
|
|
- if (strTelNumber.length == strCalledNum.length && strTelNumber.length == 4) {
|
|
|
+ /*if (strTelNumber.length == strCalledNum.length && strTelNumber.length == 4) {
|
|
|
// 如果主叫号码、被叫号码都是分机号码,则不弹屏
|
|
|
m_bIsOpen.value = true;
|
|
|
- }
|
|
|
+ }*/
|
|
|
if (!m_bIsOpen.value && m_strOpenFlag.value === '1') {
|
|
|
m_bIsOpen.value = true;
|
|
|
// 用户按键
|
|
@@ -2296,6 +2296,19 @@ const evtEvtCallAnswer = (data: any) => {
|
|
|
strCalledNum +
|
|
|
']'
|
|
|
);
|
|
|
+ if (AppConfigInfo.value.isOpenSpecialPhone) {
|
|
|
+ // 配置开关
|
|
|
+ getSpecialNumberDetailByPhone({ PhoneNumber: strTelNumber }).then((res: any) => {
|
|
|
+ // 如果来电电话在在特殊号码配置中 需要提示信息
|
|
|
+ if (res.result.notes) {
|
|
|
+ ElNotification({
|
|
|
+ title: '特殊号码提醒',
|
|
|
+ message: res.result.notes,
|
|
|
+ type: 'info',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
// 来电 接通弹单
|
|
|
router.push({
|
|
|
name: 'orderAccept',
|