40 lines
701 B
JSON
40 lines
701 B
JSON
{
|
|
"tblname":"params",
|
|
"params":{
|
|
"title":"参数",
|
|
"description":"系统参数,可以动态增加修改参数",
|
|
"sortby":"params_name",
|
|
"toolbar":{
|
|
"tools":[
|
|
{
|
|
"name":"switch",
|
|
"icon":"newdate.png",
|
|
"selected_row": true,
|
|
"label":"切日"
|
|
}
|
|
]
|
|
},
|
|
"browserfields":{
|
|
"exclouded":["id"],
|
|
"alters":{}
|
|
},
|
|
"binds":[
|
|
{
|
|
"wid":"self",
|
|
"event":"row_selected",
|
|
"actiontype":"script",
|
|
"target":"self",
|
|
"script":"console.log('test', params);"
|
|
},
|
|
{
|
|
"wid":"self",
|
|
"event":"switch",
|
|
"actiontype":"script",
|
|
"target":"self",
|
|
"script":"console.log('swith event', params);"
|
|
}
|
|
],
|
|
"editexclouded":["id"]
|
|
}
|
|
}
|