文档
测试

根据code获取grid相关信息(列、按钮)

GET
http://localhost/grid/table/getGridByCode?code=140101

请求参数

参数名
类型
描述
必填
code
int
示例:140101
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:请求成功
必填
data
object
数据字典
必填
id
int
示例:5081
必填
code
string
示例:140101
必填
girdname
string
示例:房源发布新建
必填
datasource
string
示例:select active.id, active.id as ywbh, active.createdate cjsj, active.createdate wcsj, rentissueroom.roomstatus fyzt, (case active.ywbz when 1401011 then '未提交' when 1401012 then case active.ywzt when 0 then '待审核' when -1 then '已完成' end end) shzt, (...
必填
description
string
示例:房源发布页面
必填
readcontrol
int
示例:1
必填
pageable
int
示例:1
必填
pagesize
int
示例:10
必填
singleselect
int
示例:1
必填
columns
array
数据列表
必填
id
int
示例:7277
必填
columnname
string
示例:czyt
必填
columnshowtype
string
示例:select
必填
havefilter
int
示例:0
必填
likequerytype
int
示例:0
必填
filtersort
int
示例:10
必填
notnull
int
示例:0
必填
seriesno
int
示例:50
必填
showname
string
示例:租赁用途
必填
visibleingrid
int
示例:1
必填
visibleinform
int
示例:0
必填
readcontrol
int
示例:0
必填
width
int
示例:100
必填
tooltip
int
示例:1
必填
align
int
示例:1
必填
bitsgridId
int
示例:5081
必填
buttons
array
数据列表
必填
id
int
示例:5145
必填
bitwidth
int
示例:10
必填
btnbgimage
string
示例:btn-success
必填
btneventfunc
string
示例:leaseapp/issueroominfo.jsp
必填
paramnames
object
示例:null
必填
buttonname
string
示例:新增房源
必填
buttontext
string
示例:新增房源
必填
iconcls
string
示例:glyphicon-export
必填
description
object
示例:null
必填
seriesno
int
示例:10
必填
valid
int
示例:1
必填
operationtype
string
示例:openMaxWindow
必填
needselect
int
示例:0
必填
canselects
int
示例:0
必填
bitsgridId
int
示例:5081
必填
position
int
示例:1
必填