fix: status字段改用uitype:code+data格式,移除providerid/upappid的废弃属性textField/valueField

This commit is contained in:
yumoqing 2026-05-31 15:48:09 +08:00
parent 2f2841c16c
commit 57d77dc819

View File

@ -25,8 +25,8 @@
"exclouded": ["id", "ownerid"], "exclouded": ["id", "ownerid"],
"alters": { "alters": {
"status": { "status": {
"uitype": "select", "uitype": "code",
"options": [ "data": [
{"value": "", "text": "全部"}, {"value": "", "text": "全部"},
{"value": "published", "text": "已上架"}, {"value": "published", "text": "已上架"},
{"value": "unpublished", "text": "已下架"} {"value": "unpublished", "text": "已下架"}
@ -39,15 +39,11 @@
}, },
"providerid": { "providerid": {
"uitype": "code", "uitype": "code",
"dataurl": "{{entire_url('../api/get_organizations.dspy')}}", "dataurl": "{{entire_url('../api/get_organizations.dspy')}}"
"textField": "text",
"valueField": "value"
}, },
"upappid": { "upappid": {
"uitype": "code", "uitype": "code",
"dataurl": "{{entire_url('../api/get_upapps.dspy')}}", "dataurl": "{{entire_url('../api/get_upapps.dspy')}}"
"textField": "text",
"valueField": "value"
} }
} }
}, },