2024-03-12 18:46:05 +08:00
|
|
|
{
|
|
|
|
"widgettype":"VBox",
|
|
|
|
"options":{
|
|
|
|
"width":"100%",
|
|
|
|
"height":"100%",
|
|
|
|
"overflow":"auto"
|
|
|
|
},
|
|
|
|
"subwidgets":[
|
|
|
|
{
|
|
|
|
"widgettype":"Title4",
|
|
|
|
"options":{
|
|
|
|
"i18n":true,
|
|
|
|
"dynsize":true,
|
|
|
|
"wrap":true,
|
|
|
|
"halign":"left",
|
2024-03-16 11:42:39 +08:00
|
|
|
"tip":"This is a test tooltip",
|
2024-03-12 18:46:05 +08:00
|
|
|
"otext":"Codes maintainment"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"widgettype":"Filler",
|
|
|
|
"options":{},
|
|
|
|
"subwidgets":[
|
|
|
|
{
|
|
|
|
"id":"codelist",
|
|
|
|
"widgettype":"DynamicAccordion",
|
|
|
|
"options":{
|
|
|
|
"editable":{
|
|
|
|
"form_cheight":4,
|
|
|
|
"new_data_url":"{{entire_url('add_code.dspy')}}",
|
|
|
|
"delete_data_url":"{{entire_url('delete_code.dspy')}}",
|
|
|
|
"update_data_url":"{{entire_url('update_code.dspy')}}"
|
|
|
|
},
|
|
|
|
"fields":[
|
|
|
|
{
|
|
|
|
"name":"name",
|
|
|
|
"lable":"CodeName",
|
|
|
|
"uitype":"str"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name":"hierarchy_flg",
|
|
|
|
"lable":"isHierarchy",
|
|
|
|
"uitype":"code",
|
|
|
|
"textField":"text",
|
|
|
|
"valueField":"value",
|
|
|
|
"defaultvalue":"0",
|
|
|
|
"data":[
|
|
|
|
{
|
|
|
|
"value":"0",
|
|
|
|
"text":"No"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
"value":"1",
|
|
|
|
"text":"Yes"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"data_url":"{{entire_url('get_codes.dspy')}}",
|
|
|
|
"record_view":{
|
|
|
|
"widgettype":"HBox",
|
|
|
|
"options":{
|
|
|
|
"cheight":1.4
|
|
|
|
},
|
|
|
|
"subwidgets":[
|
|
|
|
{
|
|
|
|
"widgettype":"Text",
|
|
|
|
"options":{
|
|
|
|
"text":"${name}",
|
|
|
|
"cwidth":10,
|
|
|
|
"dynsize":true,
|
|
|
|
"wrap":true,
|
|
|
|
|
|
|
|
"halign":"left"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"widgettype":"Text",
|
|
|
|
"options":{
|
|
|
|
"text":"${hierarchy_flg}",
|
|
|
|
"cwidth":1,
|
|
|
|
"dynsize":true,
|
|
|
|
"wrap":true,
|
|
|
|
"halign":"left"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"content_view":{
|
|
|
|
"widgettype":"urlwidget",
|
|
|
|
"options":{
|
|
|
|
"url":"{{entire_url('codekv.ui')}}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|