Commit 79c46a61 by yukang

切换OSS DEV与RUN环境的参数不同

parent fe2567a5
...@@ -396,11 +396,13 @@ $(function () { ...@@ -396,11 +396,13 @@ $(function () {
}, },
success: function (e) { success: function (e) {
debugger; debugger;
var src = e.response.docUrl; var src;
var className; var className;
if ("run" == projectEnv) { if ("run" == projectEnv) {
src = e.response.docUrl + e.response.docType
className = e.response.groupId; className = e.response.groupId;
} else { } else {
src = e.response.docUrl
className = e.response.docTag; className = e.response.docTag;
} }
var parentId = IPLATUI.EFTree.materialTree.selectTreeNode.nodeId; var parentId = IPLATUI.EFTree.materialTree.selectTreeNode.nodeId;
......
...@@ -281,8 +281,15 @@ $(function () { ...@@ -281,8 +281,15 @@ $(function () {
}, },
success: function (e) { success: function (e) {
let rows = resultGrid.getCheckedRows()[0]; let rows = resultGrid.getCheckedRows()[0];
var src = e.response.docUrl; var src;
var className = e.response.docTag; var className;
if ("run" == projectEnv) {
src = e.response.docUrl + e.response.docType
className = e.response.groupId;
} else {
src = e.response.docUrl
className = e.response.docTag;
}
var projCode = rows.projCode; var projCode = rows.projCode;
var projName = rows.projName; var projName = rows.projName;
var productionOrderNo = rows.prodOrderNo; var productionOrderNo = rows.prodOrderNo;
......
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