You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.2 KiB

{
"type": "page",
"title": "修改 ${params.id}",
"remark": null,
"toolbar": [
{
"type": "button",
"actionType": "link",
"link": "/crud/list",
"label": "返回列表"
}
],
"body": [
{
"type": "form",
"initApi": "http://localhost:8080/messageTemplate/query/${params.id}",
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/sample/$id",
"redirect": "/crud/list",
"controls": [
{
"type": "text",
"name": "id",
"label": "ID",
"width": 20,
"required": true
},
{
"type": "text",
"name": "name",
"label": "name"
},
{
"type": "radios",
"name": "idType",
"label": "接收者ID类型",
"options": [
{
"label": "用户ID",
"value": "10"
},
{
"label": "设备号",
"value": "20"
},
{
"label": "手机号",
"value": "30"
},
{
"label": "openID",
"value": "40"
},
{
"label": "邮箱地址",
"value": "50"
}
]
},
{
"type": "text",
"name": "engine",
"label": "Engine",
"required": true
},
{
"type": "divider"
},
{
"type": "text",
"name": "browser",
"label": "Browser",
"required": true
},
{
"type": "divider"
},
{
"type": "text",
"name": "platform",
"label": "Platform(s)",
"required": true
},
{
"type": "divider"
},
{
"type": "text",
"name": "version",
"label": "Engine version"
},
{
"type": "divider"
},
{
"type": "select",
"name": "grade",
"label": "CSS grade",
"options": ["A", "B", "C", "D", "X"]
}
]
}
]
}