fix: status字段改用uitype:code+data格式,移除providerid/upappid的废弃属性textField/valueField
This commit is contained in:
parent
2f2841c16c
commit
57d77dc819
@ -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')}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user