58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"tblname": "pricing_program",
|
|
"title": "定价项目",
|
|
"params": {
|
|
"sortby": "name",
|
|
"logined_userorgid": "ownerid",
|
|
"browserfields": {
|
|
"exclouded": ["id", "ownerid", "pricing_spec" ],
|
|
"alters": {
|
|
"providerid":{
|
|
"valueField": "id",
|
|
"textField": "orgname",
|
|
"dataurl":"{{entire_url('/rbac/get_provider.dspy')}}"
|
|
}
|
|
}
|
|
},
|
|
"editexclouded": [
|
|
"id", "ownerid"
|
|
],
|
|
"subtables":[
|
|
{
|
|
"field": "ppid",
|
|
"title": "定价项目时序",
|
|
"icon": "{{entire_url('/pricing/imgs/pricing_program_timing.svg')}}",
|
|
"subtable": "pricing_program_timing"
|
|
}
|
|
],
|
|
"toolbar":{
|
|
"tools":[
|
|
{
|
|
"name": "test",
|
|
"label": "测试",
|
|
"selected_row": true,
|
|
"icon": "{{entire_url('/bricks/imgs/test.svg')}}"
|
|
}
|
|
]
|
|
},
|
|
"binds":[
|
|
{
|
|
"wid": "self",
|
|
"event": "test",
|
|
"actiontype": "urlwidget",
|
|
"target": "PopupWindow",
|
|
"popup_options": {
|
|
"width": "70%",
|
|
"height": "70%",
|
|
"auto_open": true,
|
|
"archor": "cc"
|
|
},
|
|
"options": {
|
|
"url": "{{entire_url('../test_pricing_program.ui')}}",
|
|
"params":{}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|