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,29 +25,25 @@
"exclouded": ["id", "ownerid"],
"alters": {
"status": {
"uitype": "select",
"options": [
"uitype": "code",
"data": [
{"value": "", "text": "全部"},
{"value": "published", "text": "已上架"},
{"value": "unpublished", "text": "已下架"}
]
},
"ppid":{
"dataurl":"{{entire_url('/pricing/get_all_pricing_programs.dspy')}}",
"textField": "name",
"ppid":{
"dataurl":"{{entire_url('/pricing/get_all_pricing_programs.dspy')}}",
"textField": "name",
"valueField": "id"
},
},
"providerid": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_organizations.dspy')}}",
"textField": "text",
"valueField": "value"
"dataurl": "{{entire_url('../api/get_organizations.dspy')}}"
},
"upappid": {
"uitype": "code",
"dataurl": "{{entire_url('../api/get_upapps.dspy')}}",
"textField": "text",
"valueField": "value"
"dataurl": "{{entire_url('../api/get_upapps.dspy')}}"
}
}
},