Files
eip4-web/public/schemas/office-collar.json
zhengwr a61cc87289 F2-2: 修 e2e mock schema 的过期 seq(脚本重抽取后同模板内顺序漂移)
(templateId,seq) 非跨抽取稳定键第三次咬人:mock 钉死旧 seq,重启清缓存后现形。
office mock seq2→1、welfare mock seq1→2,以磁盘 rewritten 实际布局为准。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 22:10:31 +08:00

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}"
}
}
]
}
}
}
}