|
|
@@ -119,7 +119,7 @@ define([ 'common/query/chat', 'common/query/enterprise' ], function() {
|
|
|
var iTop = (window.screen.availHeight - 30 - 600) / 2;
|
|
|
//获得窗口的水平位置
|
|
|
var iLeft = (window.screen.availWidth - 10 - 1030) / 2;
|
|
|
- var newTab = window.open('', '即时对话框', 'height=600, width=1030, top=' + iTop + ', left=' + iLeft + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no'),
|
|
|
+ var newTab = window.open('', '即时对话框', 'height=750, width=1030, top=' + iTop + ', left=' + iLeft + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no'),
|
|
|
chatInfoDto = {
|
|
|
userPhone: vm.param.phone,
|
|
|
enUU: vm.param.enUU,
|
|
|
@@ -129,8 +129,8 @@ define([ 'common/query/chat', 'common/query/enterprise' ], function() {
|
|
|
otherUserType: userType
|
|
|
};
|
|
|
ChatBusinessLayer.visitWebChat(chatInfoDto, 'CHAT').then(function (gid) {
|
|
|
- newTab.location.href = 'http://192.168.253.121:20220/chat/visit?gid=' + gid;
|
|
|
- //newTab.location.href = 'http://im.ubtob.com/chat/visit?gid=' + gid;
|
|
|
+ //newTab.location.href = 'http://192.168.253.121:20220/chat/visit?gid=' + gid;
|
|
|
+ newTab.location.href = 'http://im.ubtob.com/chat/visit?gid=' + gid;
|
|
|
}, function (error) {
|
|
|
console.log(error);
|
|
|
newTab.close();
|