44 lines
855 B
Plaintext
44 lines
855 B
Plaintext
|
{
|
||
|
"id":"kvlist",
|
||
|
"widgettype":"DynamicAccordion",
|
||
|
"options":{
|
||
|
"data_url":"{{entire_url('get_kvs.dspy')}}",
|
||
|
"data_params":{
|
||
|
"hierarchy_flg":"${hierarchy_flg}",
|
||
|
"pid":"${id}"
|
||
|
},
|
||
|
"editable":{
|
||
|
"form_cheight":4,
|
||
|
"new_data_url":"{{entire_url('add_kv.dspy?parentid=${id}')}}",
|
||
|
"delete_data_url":"{{entire_url('delete_kv.dspy')}}",
|
||
|
"update_data_url":"{{entire_url('update_kv.dspy')}}"
|
||
|
},
|
||
|
"fields":[
|
||
|
{
|
||
|
"name":"k",
|
||
|
"lable":"k",
|
||
|
"uitype":"str"
|
||
|
},
|
||
|
{
|
||
|
"name":"v",
|
||
|
"lable":"v",
|
||
|
"uitype":"str"
|
||
|
}
|
||
|
],
|
||
|
"content_rely_on":"hierarchy_flg",
|
||
|
"content_rely_value":"1",
|
||
|
"record_view":{
|
||
|
"widgettype":"urlwidget",
|
||
|
"options":{
|
||
|
"url":"{{entire_url('codekv_record.ui')}}"
|
||
|
}
|
||
|
},
|
||
|
"content_view":{
|
||
|
"widgettype":"urlwidget",
|
||
|
"options":{
|
||
|
"url":"{{entire_url('codekv.ui')}}"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|