{ "type": "page", "title": "福利保险结算单(P4-5 脚本挂回 e2e)", "body": { "type": "form", "title": "", "wrapWithPanel": false, "api": "/api/entity/HR_WELFARE/save", "body": [ { "type": "input-text", "name": "BEGINYEAR", "label": "起始年", "id": "u-beginyear" }, { "type": "input-date", "name": "BEGINDATE", "label": "起始日期", "id": "BEGINDATE" } ], "onEvent": { "inited": { "actions": [ { "actionType": "ajax", "api": { "method": "post", "url": "/api/script/execute-template", "data": { "templateId": "0d9eac07-1978-4abb-ab1f-f1561f9bd902", "seq": 2, "item": "${&}" } }, "outputVar": "scriptResult1" }, { "actionType": "replayScriptCommands", "args": { "commands": "${event.data.scriptResult1.commands}" } } ] } } } }