Commit 47a5aedb by liuyang

2024-10-18 文档库复制目录接口调整

parent 6f2a9cb4
...@@ -517,7 +517,7 @@ $(function () { ...@@ -517,7 +517,7 @@ $(function () {
query: function (e) { query: function (e) {
let inEiInfo = new EiInfo(); let inEiInfo = new EiInfo();
let fileId = IPLATUI.EFTree.categoryTree.selectTreeNode.fileId; let fileId = IPLATUI.EFTree.categoryTree.selectTreeNode.fileId;
inEiInfo.set("inqu_status2-0-parentId", fileId); inEiInfo.set("inqu_status2-0-fileId", fileId);
return inEiInfo; return inEiInfo;
} }
}, },
...@@ -599,6 +599,9 @@ let editCallback = function (parentOrgId) { ...@@ -599,6 +599,9 @@ let editCallback = function (parentOrgId) {
// 回填父级ID // 回填父级ID
if (parentOrgId != null){ if (parentOrgId != null){
$("#inqu_status-0-orgParentId").val(parentOrgId); $("#inqu_status-0-orgParentId").val(parentOrgId);
}else {
let parentId = IPLATUI.EFTree.categoryTree.selectTreeNode.parentId;
$("#inqu_status-0-orgParentId").val(parentId);
} }
refreshTree(); refreshTree();
} }
......
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