Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenhao
hel-developer-guide
Commits
923c3774
Commit
923c3774
authored
Jul 27, 2017
by
lrd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update hlsPage.md commit by liangrending
parent
c0805b0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
hlsPage.md
前端组件/hlsPage.md
+37
-0
No files found.
前端组件/hlsPage.md
View file @
923c3774
# hlsPage
代码示例
```xml
<h:hlsPage dataSource="pageDataSource" pageSize="3" titleSearchId="search" inputPlaceholder="项目信息" titleSearchInputId="searchId" id="pageFirst" titleImg="${contextPath!}/resources/images/CONT/contract.png" title="项目">
<h:columns>
<h:column field="divisionDesc" title='<@spring.message "业务模式"/>' >
</h:column>
<h:column field="projectStatusDesc" title='<@spring.message "审批状态"/>'>
</h:column>
<h:column field="tenantName" title='<@spring.message "承租人"/>' >
</h:column>
<h:column field="systemFlag" title='<@spring.message "系统级"/>' template="fn:businessTypeTemplate">
</h:column>
</h:columns>
</h:hlsPage>
```
属性说明
|
**属性**
|
**参数**
|
**说明**
|
| -------- | -------- | -------- |
| id | 唯一标志id | 返回一个名为id的分页对象 |
| dataSource | object | 数据源对象,参考标签hlsPageDataSource |
| pageSize | number | 每页的分页数量,可设置每页显示数据条数 |
| titleSearchId | 唯一标志id | 分页标签title查询框的id,可通过改标志获取数据或其它操作 |
| inputPlaceholder | text | 查询框的提示信息 |
| titleSearchInputId | 唯一标志id | 查询图片的标准id |
| titleImg | String | 标题栏的图片路劲 |
| title | String | 标题栏名称 |
| field | String | 字段的英文标注 |
| title(2) | String | 字段的中文标注 |
| template | function | 渲染函数,可将返回的html字符串渲染到对应的字段 |
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment