Commit d34f12d0 authored by 杨鑫's avatar 杨鑫

视频通话由弹窗改为新标签页(因为视频通话必须https,并且弹窗不支持打开麦克风和摄像头)

parent b37c8488
...@@ -168,7 +168,7 @@ var map = { ...@@ -168,7 +168,7 @@ var map = {
}, },
getDetail: function(SceneTaskID){ getDetail: function(SceneTaskID){
$.ajax({ $.ajax({
url: 'http://detect.cnjsjd.net/AppModules/CommonFiles/Scene/XCJC_Detail.aspx?id='+SceneTaskID, url: '/AppModules/CommonFiles/Scene/XCJC_Detail.aspx?id='+SceneTaskID,
type: "get", type: "get",
success: function(data) { success: function(data) {
map.setDetail(data); map.setDetail(data);
...@@ -270,7 +270,7 @@ var getLeftData = { ...@@ -270,7 +270,7 @@ var getLeftData = {
}, },
// 视频通话 // 视频通话
videoConnection(target_op_code){ videoConnection(target_op_code){
showPopup('http://detect.cnjsjd.net/VideoConnection.aspx?target_op_code='+target_op_code, '视频通话'); window.open('https://detect.cnjsjd.net/VideoConnection.aspx?target_op_code=' + target_op_code);
} }
} }
......
...@@ -290,7 +290,7 @@ var map = { ...@@ -290,7 +290,7 @@ var map = {
}, },
// 视频通话 // 视频通话
videoConnection(op_code) { videoConnection(op_code) {
showPopup('http://detect.cnjsjd.net/VideoConnection.aspx?target_op_code=' + op_code, '视频通话'); window.open('https://detect.cnjsjd.net/VideoConnection.aspx?target_op_code=' + op_code);
} }
} }
...@@ -493,7 +493,7 @@ var getRightdata = { ...@@ -493,7 +493,7 @@ var getRightdata = {
}, },
get_XCJC_Detail: function (SceneTaskID) { get_XCJC_Detail: function (SceneTaskID) {
$.ajax({ $.ajax({
url: 'http://detect.cnjsjd.net/AppModules/CommonFiles/Scene/XCJC_Detail.aspx?id=' + SceneTaskID, url: '/AppModules/CommonFiles/Scene/XCJC_Detail.aspx?id=' + SceneTaskID,
type: "get", type: "get",
success: function (data) { success: function (data) {
getRightdata.set_XCJC_Detail(data); getRightdata.set_XCJC_Detail(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment