{ "id": "approve-item", "label": "采用", "description": "把当前记录改为已采用。仅待确认或已跳过的行显示此按钮。", "placements": ["row", "agent"], "executionProfile": "sync", "interaction": "direct", "bind": { "tables": ["business_items"], "visibleWhen": { "field": "status", "in": ["pending_review", "skipped"] }, "labelColumn": "display_name", "inputMapping": { "itemId": "$row.$pk" } }, "inputSchema": { "type": "object", "required": ["itemId"], "properties": { "itemId": { "type": "number", "title": "编号", "description": "行内触发时自动填入,一般无需修改", "readOnly": true } } }, "entrypoint": { "type": "cli", "command": "approve", "args": ["--id", "{{itemId}}"] }, "hostEffects": { "onSuccess": ["reloadTable"] } }