feat(modeler): 建实体向导加「所属分类」选择器(source /api/meta/entity-types)
wizard 步①新增 amis select「所属分类」(必填,221 分类可搜),提交时随 attributes 一并 POST。 e2e 补选分类交互。修用户反馈的「实体所属分类缺失」。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,12 @@ function buildWizardSchema(): Record<string, unknown> {
|
||||
validationErrors: { matchRegexp: '表名格式不合法(大写字母开头,3–41 位)' },
|
||||
},
|
||||
{ type: 'input-text', name: 'name', label: '显示名', placeholder: '演示维护(可选)' },
|
||||
{
|
||||
type: 'select', name: 'entitytype', label: '所属分类', required: true,
|
||||
source: 'get:/api/meta/entity-types', labelField: 'name', valueField: 'id',
|
||||
searchable: true, clearable: true,
|
||||
description: '实体在系统中的归类(SYS_ENTITYTYPE),决定新功能挂在哪个功能域',
|
||||
},
|
||||
{
|
||||
type: 'combo',
|
||||
name: 'attributes',
|
||||
|
||||
Reference in New Issue
Block a user