Commit 3904c37b by liuyang

2024-09-02 文档库新增修改后刷新目录

parent c1f3fe4f
...@@ -254,7 +254,7 @@ $(function () { ...@@ -254,7 +254,7 @@ $(function () {
IPLAT.NotificationUtil(ei.getMsg(), "success") IPLAT.NotificationUtil(ei.getMsg(), "success")
$("#deleteOrgWindow").data("kendoWindow").close(); $("#deleteOrgWindow").data("kendoWindow").close();
const tree = $('#categoryTree').data('kendoTreeView'); const tree = $('#categoryTree').data('kendoTreeView');
const parentId = $("#inqu_status3-0-orgParentId").val(); const parentId = $("#inqu_status-0-orgParentId").val();
// 刷新树节点 // 刷新树节点
tree.reload(parentId); tree.reload(parentId);
// 展开树 // 展开树
...@@ -322,7 +322,6 @@ $(function () { ...@@ -322,7 +322,6 @@ $(function () {
callbackName: addCallback callbackName: addCallback
}); });
}*/ }*/
}) })
$("#categoryTree").mousedown(function (e) { $("#categoryTree").mousedown(function (e) {
...@@ -511,9 +510,9 @@ let query = function () { ...@@ -511,9 +510,9 @@ let query = function () {
/** /**
* 新增组织机构回调 * 新增组织机构回调
*/ */
let addCallback = function (parentOrgId) { let addCallback = function (parentId) {
// 回填父级ID // 回填父级ID
$("#inqu_status2-0-parentId").val(parentOrgId); $("#inqu_status-0-orgParentId").val(parentId);
refreshTree(); refreshTree();
} }
...@@ -522,7 +521,7 @@ let addCallback = function (parentOrgId) { ...@@ -522,7 +521,7 @@ let addCallback = function (parentOrgId) {
*/ */
let editCallback = function (parentOrgId) { let editCallback = function (parentOrgId) {
// 回填父级ID // 回填父级ID
$("#inqu_status2-0-parentId").val(parentOrgId); //$("#inqu_status-0-orgParentId").val(parentOrgId);
refreshTree(); refreshTree();
} }
...@@ -549,7 +548,7 @@ let refreshTree = function () { ...@@ -549,7 +548,7 @@ let refreshTree = function () {
} }
// 刷新树节点 // 刷新树节点
const tree = $("#categoryTree").data("kendoTreeView"); const tree = $("#categoryTree").data("kendoTreeView");
const treeOrgId = $("#inqu_status2-0-parentId").val() const treeOrgId = $("#inqu_status-0-orgParentId").val()
tree.reload(treeOrgId) tree.reload(treeOrgId)
expandTreeNode(tree, treeOrgId) expandTreeNode(tree, treeOrgId)
// tree.expandPath(treeOrgId) // tree.expandPath(treeOrgId)
...@@ -834,6 +833,11 @@ function uploadFile() { ...@@ -834,6 +833,11 @@ function uploadFile() {
}); });
} }
/**
* 文件变更
* @param docId 文件标识
* @param bizId 业务标识
*/
function changeFile(docId,bizId) { function changeFile(docId,bizId) {
JSColorbox.open({ JSColorbox.open({
href: "HGWD099A?methodName=initLoad&inqu_status-0-bizType=WD" + href: "HGWD099A?methodName=initLoad&inqu_status-0-bizType=WD" +
...@@ -944,7 +948,7 @@ let showAuthButton = function () { ...@@ -944,7 +948,7 @@ let showAuthButton = function () {
} }
/** /**
* 文件上传 * 变更记录
*/ */
function changeResord() { function changeResord() {
let leafType = IPLATUI.EFTree.categoryTree.selectTreeNode.leafLevel; let leafType = IPLATUI.EFTree.categoryTree.selectTreeNode.leafLevel;
......
...@@ -66,14 +66,14 @@ ...@@ -66,14 +66,14 @@
<EF:EFRegion id="result" title="附件详情" fitHeight="true"> <EF:EFRegion id="result" title="附件详情" fitHeight="true">
<EF:EFGrid blockId="result" autoDraw="no" personal="true" serviceName="HGWD099" queryMethod="query" deleteMethod="delete"> <EF:EFGrid blockId="result" autoDraw="no" personal="true" serviceName="HGWD099" queryMethod="query" deleteMethod="delete">
<EF:EFColumn ename="id" cname="ID" hidden="true"/> <EF:EFColumn ename="id" cname="ID" hidden="true"/>
<EF:EFColumn ename="docId" cname="文件ID" enable="false" width="150"/> <EF:EFColumn ename="docId" cname="文件ID" enable="false" width="180"/>
<EF:EFColumn ename="docName" cname="文件名称" enable="false" width="150"/> <EF:EFColumn ename="docName" cname="文件名称" enable="false" width="180"/>
<EF:EFComboColumn ename="status" cname="状态" enable="false" width="120" align="center" defaultValue="0" hidden="false"> <EF:EFComboColumn ename="status" cname="状态" enable="false" width="100" align="center" defaultValue="0" hidden="false">
<EF:EFCodeOption codeName="hggp.hgwd.status"/> <EF:EFCodeOption codeName="hggp.hgwd.status"/>
</EF:EFComboColumn> </EF:EFComboColumn>
<EF:EFColumn ename="createdTime" cname="创建时间" enable="false" width="140" align="center" <EF:EFColumn ename="createdTime" cname="创建时间" enable="false" width="140" align="center"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss"/> parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss"/>
<EF:EFColumn ename="operator" cname="操作" enable="false" width="200" align="center"/> <EF:EFColumn ename="operator" cname="操作" enable="false" width="140" align="center"/>
</EF:EFGrid> </EF:EFGrid>
</EF:EFRegion> </EF:EFRegion>
</div> </div>
......
...@@ -181,8 +181,8 @@ let save = function (btnNode) { ...@@ -181,8 +181,8 @@ let save = function (btnNode) {
function (e) { function (e) {
var status = e.status; var status = e.status;
if (status !== -1) { if (status !== -1) {
let parentOrgId = $("#inqu_status-0-parentOrgId").val(); let parentId = $("#inqu_status-0-parentId").val();
parent.JSColorbox.setValueCallback(parentOrgId); parent.JSColorbox.setValueCallback(parentId);
} }
}); });
btnNode.attr("disabled", false); btnNode.attr("disabled", false);
......
...@@ -149,8 +149,8 @@ let save = function (btnNode) { ...@@ -149,8 +149,8 @@ let save = function (btnNode) {
function (e) { function (e) {
var status = e.status; var status = e.status;
if (status !== -1) { if (status !== -1) {
let parentOrgId = $("#inqu_status-0-parentOrgId").val(); let fileId = $("#inqu_status-0-fileId").val();
parent.JSColorbox.setValueCallback(parentOrgId); parent.JSColorbox.setValueCallback(fileId);
} }
} }
); );
......
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