F2-3:运行时动词闭包子指令机制 + staging 晋级(FULL_AUTO 507/HARD 74)

ScriptFacade:addFieldButton 扩第3参闭包(onClick 子指令数组)+ showConfirm
新动词,服务端急切求值闭包,子指令收进子缓冲,输出嵌套指令 JSON。
前端 scriptCommands.ts/registerReplayAction.ts:处理 addButton onClick/
confirmDialog onOk 嵌套重放,onClickActions/onOkActions 透传给 amis。
ScriptFacadeTest 补 7 个正反例(24/24 全绿)。
staging 晋级:FULL_AUTO 507(+10)/HARD 74(-12)/自动化率 82.7%,
双库各更新 801 条,e2e 30/30 全绿。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 22:24:08 +08:00
parent bc23909feb
commit 43fdfd1830
190 changed files with 2625 additions and 2454 deletions

View File

@@ -2,43 +2,46 @@
"total_scripts": 1428,
"label_counts": {
"NO_S3": 815,
"FULL_AUTO": 497,
"PARTIAL": 30,
"HARD": 86
"FULL_AUTO": 507,
"PARTIAL": 32,
"HARD": 74
},
"s3_total": 613,
"automation_rate": 81.1,
"automation_rate": 82.7,
"rule_hit_counts": {
"addFieldOption": 271,
"balanced_setFilter": 187,
"getContainerDataSource": 159,
"getValue": 134,
"removeAllItems": 126,
"getValue": 122,
"addSubTableButton": 108,
"setValue": 73,
"addSubTableButton": 116,
"setValue": 75,
"setReadOnly_field": 64,
"setConvertedValue": 36,
"dynamic_button": 33,
"removeItem": 32,
"propertyDataSource_setReadOnly": 30,
"Notification_show": 30,
"group_setReadOnly": 28,
"setVisible": 28,
"setCaption": 27,
"getDisplay": 27,
"reload": 27,
"setVisible": 26,
"setCaption": 25,
"setViewWithoutEditor": 16,
"setEnabled": 10,
"setNullSelectionItemId": 9,
"Notification_show": 7,
"setRequired": 6,
"showAddButton": 6,
"comboBox_setValue": 5,
"setRequiredError": 3,
"getModifyButton_setVisible": 3,
"getDetailButton_setVisible": 3,
"showDeleteButton": 2
"showDeleteButton": 2,
"comboBox_removeItem": 2
},
"manual_workpackage_count": 116,
"manual_partial": 30,
"manual_hard": 86,
"full_auto_index_count": 497,
"manual_workpackage_count": 106,
"manual_partial": 32,
"manual_hard": 74,
"full_auto_index_count": 507,
"templates_with_scripts": 721
}