- Add SDLC dashboard, pipeline editor, ops center UI - build.sh: clone business modules to pkgs/, xls2ui CRUD, fix created_by - global_func.py: password_encode None-safe wrapper - pipeline_app.py: permission cache warmup removed - load_path.py: RBAC permission registration for all modules - scripts/merge_i18n.py: i18n merge tool - bin/init_perms.py, bin/init_data.py: init scripts - set_role_perm.py: single permission registration - Model uitype fields set for form editing - pipeline_core/pipeline_ops load_path.py scripts
139 lines
2.6 KiB
JSON
139 lines
2.6 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "pipelines",
|
|
"title": "产线定义表",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"uitype": "hidden"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "产线名称",
|
|
"type": "str",
|
|
"length": 200,
|
|
"nullable": "no",
|
|
"uitype": "text"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"title": "产线描述",
|
|
"type": "text",
|
|
"uitype": "textarea"
|
|
},
|
|
{
|
|
"name": "pipeline_type",
|
|
"title": "产线类型",
|
|
"type": "str",
|
|
"length": 50,
|
|
"nullable": "no",
|
|
"uitype": "select"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"title": "当前版本",
|
|
"type": "str",
|
|
"length": 20,
|
|
"default": "1.0.0",
|
|
"uitype": "text"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "draft",
|
|
"uitype": "select"
|
|
},
|
|
{
|
|
"name": "pipeline_config",
|
|
"title": "产线配置JSON",
|
|
"type": "text",
|
|
"uitype": "textarea"
|
|
},
|
|
{
|
|
"name": "model_api_url",
|
|
"title": "模型API地址",
|
|
"type": "str",
|
|
"length": 500,
|
|
"uitype": "text"
|
|
},
|
|
{
|
|
"name": "model_api_key",
|
|
"title": "模型API密钥",
|
|
"type": "str",
|
|
"length": 500,
|
|
"uitype": "text"
|
|
},
|
|
{
|
|
"name": "org_id",
|
|
"title": "所属机构ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"default": "0",
|
|
"uitype": "text"
|
|
},
|
|
{
|
|
"name": "created_by",
|
|
"title": "创建人",
|
|
"type": "str",
|
|
"length": 32,
|
|
"uitype": "hidden"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp",
|
|
"uitype": "timestamp"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp",
|
|
"uitype": "timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_pipelines_name",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"name"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_pipelines_status",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"status"
|
|
]
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "pipeline_type",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='pipeline_type'"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='pipeline_status'"
|
|
}
|
|
]
|
|
} |