Commit c90a4ec4 by 宋祥

Merge branch 'dev-sx' of http://git.pseer.com:8800/platform/hg-smart into dev

parents 4c12b938 78f0632f
...@@ -6,17 +6,14 @@ $(function () { ...@@ -6,17 +6,14 @@ $(function () {
$("#HGWD001").css("padding-bottom", "8px") $("#HGWD001").css("padding-bottom", "8px")
sessionStorage.removeItem("__user_id__") sessionStorage.removeItem("__user_id__")
setTimeout(() => { setTimeout(() => {
resultGrid.dataSource.page(1);
// 显示授权按钮 // 显示授权按钮
showAuthButton(); showAuthButton();
}, 1000); }, 1000);
// 查询 // 查询
$("#QUERY").on("click", function (e) { $("#QUERY").on("click", query);
resultGrid.dataSource.page(1);
}); $("#QUERY1").on("click", query1);
$("#QUERY1").on("click", function (e) {
result1Grid.dataSource.page(1);
});
$("#QUERY2").on("click", function (e) { $("#QUERY2").on("click", function (e) {
result2Grid.dataSource.page(1); result2Grid.dataSource.page(1);
}); });
...@@ -528,6 +525,10 @@ let query = function () { ...@@ -528,6 +525,10 @@ let query = function () {
resultGrid.dataSource.page(1); resultGrid.dataSource.page(1);
} }
let query1 = function () {
result1Grid.dataSource.page(1);
}
/** /**
* 新增组织机构回调 * 新增组织机构回调
*/ */
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
</div> </div>
</EF:EFRegion> </EF:EFRegion>
<EF:EFRegion id="result" title="明细信息" fitHeight="true"> <EF:EFRegion id="result" title="明细信息" fitHeight="true">
<EF:EFGrid blockId="result" autoDraw="no" showCount="true" height="74vh" sort="all" <EF:EFGrid blockId="result" autoDraw="no" autoBind="false" showCount="true" height="74vh" sort="all"
serviceName="HGWD099" queryMethod="query" deleteMethod="delete"> 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="180" hidden="true"/> <EF:EFColumn ename="docId" cname="文件ID" enable="false" width="180" hidden="true"/>
...@@ -126,7 +126,8 @@ ...@@ -126,7 +126,8 @@
</div> </div>
</EF:EFRegion> </EF:EFRegion>
<EF:EFRegion id="result1" title="明细信息" > <EF:EFRegion id="result1" title="明细信息" >
<EF:EFGrid blockId="result1" autoDraw="override" isFloat="true" checkMode="row" queryMethod="query1"> <EF:EFGrid blockId="result1" autoDraw="override" autoBind="false" isFloat="true" checkMode="row"
queryMethod="query1">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/> <EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/> <EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/>
<EF:EFComboColumn ename="projCode" cname="项目名称" blockName="proj_record_block_id" <EF:EFComboColumn ename="projCode" cname="项目名称" blockName="proj_record_block_id"
...@@ -157,7 +158,8 @@ ...@@ -157,7 +158,8 @@
</div> </div>
</EF:EFRegion> </EF:EFRegion>
<EF:EFRegion id="result2" title="明细信息" > <EF:EFRegion id="result2" title="明细信息" >
<EF:EFGrid blockId="result2" autoDraw="override" isFloat="true" checkMode="single" queryMethod="query2"> <EF:EFGrid blockId="result2" autoDraw="override" autoBind="false" isFloat="true" checkMode="single"
queryMethod="query2">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/> <EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/> <EF:EFColumn ename="parentId" cname="上级ID" hidden="true"/>
<EF:EFComboColumn ename="projCode" cname="项目名称" blockName="proj_record_block_id" <EF:EFComboColumn ename="projCode" cname="项目名称" blockName="proj_record_block_id"
......
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