Commit 79c46a61 by yukang

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

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