(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/OA_OFFICE_COLLARAPPLY/save",
|
|
"body": [
|
|
{
|
|
"type": "input-text",
|
|
"name": "STORE_ID",
|
|
"label": "仓库",
|
|
"id": "STORE_ID"
|
|
},
|
|
{
|
|
"type": "input-text",
|
|
"name": "OLD_STORE_ID",
|
|
"label": "原仓库(脚本回填)",
|
|
"id": "OLD_STORE_ID"
|
|
}
|
|
],
|
|
"onEvent": {
|
|
"change": {
|
|
"actions": [
|
|
{
|
|
"actionType": "ajax",
|
|
"api": {
|
|
"method": "post",
|
|
"url": "/api/script/execute-template",
|
|
"data": {
|
|
"templateId": "021e3ba7-e03a-412a-9f0e-c20ef440a885",
|
|
"seq": 1,
|
|
"item": "${&}"
|
|
}
|
|
},
|
|
"outputVar": "scriptResult2"
|
|
},
|
|
{
|
|
"actionType": "replayScriptCommands",
|
|
"args": {
|
|
"commands": "${event.data.scriptResult2.commands}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|