138 lines
2.6 KiB
JSON
138 lines
2.6 KiB
JSON
{
|
|
"tblname":"upapp",
|
|
"params":{
|
|
"title":"上位系统",
|
|
"description":"上位系统",
|
|
"sortby":"name",
|
|
"logined_userorgid":"ownerid",
|
|
"confidential_fields":["secretkey"],
|
|
"toolbar":{
|
|
"tools":[
|
|
{
|
|
"name":"jumpin",
|
|
"label":"跳转到",
|
|
"selected_data":true
|
|
},
|
|
{
|
|
"selected_row":true,
|
|
"name":"upappkey",
|
|
"icon":"{{entire_url('/imgs/upappkey.svg')}}",
|
|
"label":"APIKEY"
|
|
},
|
|
{
|
|
"selected_row":true,
|
|
"name":"uapi",
|
|
"icon":"{{entire_url('/imgs/uapi.svg')}}",
|
|
"label":"API"
|
|
},
|
|
{
|
|
"selected_row":true,
|
|
"name":"copy_api",
|
|
"label":"复制API"
|
|
}
|
|
]
|
|
},
|
|
"binds":[
|
|
{
|
|
"wid":"self",
|
|
"event":"jumpin",
|
|
"actiontype":"urlwidget",
|
|
"target":"self",
|
|
"options":{
|
|
"url":"{{entire_url('/uapi/jump_in.dspy')}}"
|
|
}
|
|
},
|
|
{
|
|
"wid":"self",
|
|
"event":"upappkey",
|
|
"actiontype":"urlwidget",
|
|
"target":"PopupWindow",
|
|
"popup_options":{
|
|
"title":"APIKEY",
|
|
"icon":"{{entire_url('/appbase/get_icon.dspy')}}?id=upappkey",
|
|
"resizable":true,
|
|
"height":"70%",
|
|
"width":"70%"
|
|
},
|
|
"params_mapping":{
|
|
"mapping":{
|
|
"id":"upappid",
|
|
"referer_widget":"referer_widget"
|
|
},
|
|
"need_other":false
|
|
},
|
|
"options":{
|
|
"method":"POST",
|
|
"params":{},
|
|
"url":"{{entire_url('../upappkey')}}"
|
|
}
|
|
},
|
|
{
|
|
"wid":"self",
|
|
"event":"uapi",
|
|
"actiontype":"urlwidget",
|
|
"target":"PopupWindow",
|
|
"popup_options":{
|
|
"title":"API",
|
|
"icon":"{{entire_url('/appbase/get_icon.dspy')}}?id=uapi",
|
|
"resizable":true,
|
|
"height":"70%",
|
|
"width":"70%"
|
|
},
|
|
"params_mapping":{
|
|
"mapping":{
|
|
"id":"upappid",
|
|
"referer_widget":"referer_widget"
|
|
},
|
|
"need_other":false
|
|
},
|
|
"options":{
|
|
"method":"POST",
|
|
"params":{},
|
|
"url":"{{entire_url('../uapi')}}"
|
|
}
|
|
},
|
|
{
|
|
"wid":"self",
|
|
"event":"copy_api",
|
|
"actiontype":"urlwidget",
|
|
"target":"PopupWindow",
|
|
"popup_options":{
|
|
"title":"复制API到其他上位系统",
|
|
"dismiss_events":["cancel","submited"],
|
|
"height":"auto",
|
|
"width":"500px"
|
|
},
|
|
"params_mapping":{
|
|
"mapping":{
|
|
"id":"upappid"
|
|
},
|
|
"need_other":false
|
|
},
|
|
"options":{
|
|
"method":"GET",
|
|
"params":{},
|
|
"url":"{{entire_url('../copy_uapi.ui')}}"
|
|
}
|
|
}
|
|
],
|
|
"browserfields":{
|
|
"exclouded":["ownerid"],
|
|
"alters":{}
|
|
},
|
|
"editexclouded":["ownerid"],
|
|
"subtables":[
|
|
{
|
|
"field":"upappid",
|
|
"subtable":"upappkey",
|
|
"title":"APIKEY"
|
|
},
|
|
{
|
|
"field":"upappid",
|
|
"subtable":"uapi",
|
|
"title":"API"
|
|
}
|
|
]
|
|
}
|
|
}
|