Commit 72351197 by liuyang

2024-09-05 文件浏览树显示优化

parent e8ab2299
...@@ -98,7 +98,7 @@ $(function () { ...@@ -98,7 +98,7 @@ $(function () {
const eNameValue = _data.ename; const eNameValue = _data.ename;
setTreeNodeValue(_data); setTreeNodeValue(_data);
$("[name = 'inqu_status-0-parentId']").val(labelValue); $("[name = 'inqu_status-0-parentId']").val(labelValue);
$("[name = 'inqu_status-0-fileId']").val(eNameValue); $("[name = 'inqu_status-0-fileId']").val(_data.id);
$("[name = 'inqu_status-0-leafLevel']").val(_data.leafLevel==null?0:_data.leafLevel); $("[name = 'inqu_status-0-leafLevel']").val(_data.leafLevel==null?0:_data.leafLevel);
$("[name = 'inqu_status-0-projCode']").val(_data.projCode); $("[name = 'inqu_status-0-projCode']").val(_data.projCode);
$("[name = 'inqu_status-0-companyCode']").val(_data.companyCode); $("[name = 'inqu_status-0-companyCode']").val(_data.companyCode);
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<EF:EFRegion title="文档目录树" id="tree" fitHeight="true"> <EF:EFRegion title="文档目录树" id="tree" fitHeight="true">
<div id="menu" style="margin-top: 12px; margin-bottom: 8px"> <div id="menu" style="margin-top: 12px; margin-bottom: 8px">
<EF:EFTree bindId="docTree" ename="tree_name" textField="text" valueField="label" <EF:EFTree bindId="docTree" ename="tree_name" textField="text" valueField="label"
hasChildren="leaf" pid="parentId" serviceName="HGWD001D" methodName="query" hasChildren="leaf" pid="parentId" serviceName="HGWD001D" methodName="queryTree"
expandLevel="1"> expandLevel="1">
</EF:EFTree> </EF:EFTree>
</div> </div>
......
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