bizData中提供了limit设置默认一页加载的记录数是20

orgDialogPC和orgTreePC是组合组件,如果要修改默认加载的记录数,可以直接在.w中的组件定义上设置limit属性即可

如下:


<span component="$UI/system/components/justep/org/orgDialogPC" showTitle="true"
xid="orgDialog" style="left:520px;top:186px;" onReceive="orgDialogReceive" selectFilter="js:$row.val('sOrgKindID')==='psm'"
multiSelection="true" cascade="true" limit="-1"/>


<div component="$UI/system/components/justep/org/orgTreePC" style="width:100%;height:100%;">
<div component="$UI/system/components/justep/data/bizData" autoLoad="true" limit="-1">
<treeOption xid="default1" delayLoad="false"></treeOption></div>
<div component="$UI/system/components/justep/grid/grid" expandColumn="sName" useVirtualRoot="true"
virtualRootLabel="组织机构" width="500" multiselect="true" cascade="true">
<columns xid="columns1">
<column name="sName" xid="column1"/>
</columns>
</div>
</div>