(templateId,seq) 非跨抽取稳定键第三次咬人:mock 钉死旧 seq,重启清缓存后现形。 office mock seq2→1、welfare mock seq1→2,以磁盘 rewritten 实际布局为准。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"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}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|