Commit 3904c37b by liuyang

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

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