fix: payment_log.json JSON 语法错误导致 xls2ui 崩溃

两处修复:
1. logined_userorgid 从 browserfields 内移到 params 层级
2. binds[0] 缺少开头 { 导致 JSON 解析失败 (line 25 column 9)
This commit is contained in:
yumoqing 2026-06-29 17:31:19 +08:00
parent a6d0380903
commit 50566ed576

View File

@ -3,9 +3,9 @@
"title": "充值记录", "title": "充值记录",
"params": { "params": {
"sortby": "init_timestamp desc", "sortby": "init_timestamp desc",
"logined_userorgid": "customerid",
"browserfields": { "browserfields": {
"exclouded": ["id"], "exclouded": ["id"],
"logined_userorgid":"customerid",
"alters": { "alters": {
} }
}, },
@ -22,23 +22,25 @@
] ]
}, },
"binds":[ "binds":[
"wid":"self", {
"event":"refund", "wid":"self",
"actiontype":"urlwidget", "event":"refund",
"target":"PopupWindow", "actiontype":"urlwidget",
"popup_options":{ "target":"PopupWindow",
"popup_options":{
{% if params_kw._is_mobile %} {% if params_kw._is_mobile %}
"width":"100%", "width":"100%",
"height":"90%", "height":"90%",
{% else %} {% else %}
"width": "40%", "width": "40%",
"height":"80%", "height":"80%",
{% endif %} {% endif %}
"archor": "cc" "archor": "cc"
}, },
"options":{ "options":{
"url":"{{entire_url('../refund.ui')}}", "url":"{{entire_url('../refund.ui')}}",
"params": { "params": {
}
} }
} }
] ]