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:
@@ -671,6 +671,17 @@
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "292e76e6-df04-4be3-9108-73eaa1565b4c",
|
||||
"template_name": "月度检查",
|
||||
"seq": 2,
|
||||
"rules": [
|
||||
"addFieldOption",
|
||||
"comboBox_setValue",
|
||||
"getContainerDataSource",
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "2a19fa81-d79a-48af-8005-f19661959d1d",
|
||||
"template_name": "周转(自购)材料摊销",
|
||||
@@ -1767,6 +1778,29 @@
|
||||
"balanced_setFilter"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "6c11d228-a9d7-43de-85e4-d56e43cad10c",
|
||||
"template_name": "季度检查整改",
|
||||
"seq": 1,
|
||||
"rules": [
|
||||
"addFieldOption",
|
||||
"comboBox_removeItem",
|
||||
"getContainerDataSource",
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "6c11d228-a9d7-43de-85e4-d56e43cad10c",
|
||||
"template_name": "季度检查整改",
|
||||
"seq": 2,
|
||||
"rules": [
|
||||
"addFieldOption",
|
||||
"comboBox_removeItem",
|
||||
"comboBox_setValue",
|
||||
"getContainerDataSource",
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "6c11d228-a9d7-43de-85e4-d56e43cad10c",
|
||||
"template_name": "季度检查整改",
|
||||
@@ -1913,6 +1947,17 @@
|
||||
"setValue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "75fb9a46-b874-46b4-a6e5-c12c14ec54b6",
|
||||
"template_name": "培训签到",
|
||||
"seq": 1,
|
||||
"rules": [
|
||||
"addSubTableButton",
|
||||
"dynamic_button",
|
||||
"getValue",
|
||||
"setValue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "76a6a2ee-5e36-4fc5-95d1-4ef24e2d811a",
|
||||
"template_name": "物资采购合同报表",
|
||||
@@ -2500,6 +2545,17 @@
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "92072d44-33e8-4110-a8cc-aeb8ae300ef5",
|
||||
"template_name": "月度检查整改",
|
||||
"seq": 2,
|
||||
"rules": [
|
||||
"addFieldOption",
|
||||
"comboBox_setValue",
|
||||
"getContainerDataSource",
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "93a3c6d5-bdda-4fbc-b1f3-a496aea19575",
|
||||
"template_name": "物资采购订单(土建)",
|
||||
@@ -3178,6 +3234,17 @@
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "c7b23419-22e1-4a5a-aa09-464b3bb2a242",
|
||||
"template_name": "季度检查",
|
||||
"seq": 3,
|
||||
"rules": [
|
||||
"addFieldOption",
|
||||
"comboBox_setValue",
|
||||
"getContainerDataSource",
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "c804608f-eed6-45f6-accc-16414ff41e32",
|
||||
"template_name": "培训结果登记",
|
||||
@@ -3649,6 +3716,15 @@
|
||||
"reload"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "e5a03e54-37b2-4122-971f-7f0ac57c2650",
|
||||
"template_name": "进项税发票(批量调整抵扣日期)-五建定制",
|
||||
"seq": 6,
|
||||
"rules": [
|
||||
"addSubTableButton",
|
||||
"dynamic_button"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "e5a03e54-37b2-4122-971f-7f0ac57c2650",
|
||||
"template_name": "进项税发票(批量调整抵扣日期)-五建定制",
|
||||
@@ -3719,6 +3795,16 @@
|
||||
"addSubTableButton"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "e7670207-9cf7-4db9-a452-884b58408b96",
|
||||
"template_name": "付款确认(五建定制)",
|
||||
"seq": 7,
|
||||
"rules": [
|
||||
"Notification_show",
|
||||
"addSubTableButton",
|
||||
"dynamic_button"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "e76f7d06-c407-4a2f-a913-37d13287d4d8",
|
||||
"template_name": "现场材料进场-无订单(土建-查看)",
|
||||
@@ -3922,6 +4008,15 @@
|
||||
"reload"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "f01c2f57-1891-45de-9318-7246f9d6ac97",
|
||||
"template_name": "销项税发票(增加审批通过后)-五建定制",
|
||||
"seq": 5,
|
||||
"rules": [
|
||||
"addSubTableButton",
|
||||
"dynamic_button"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "f01c2f57-1891-45de-9318-7246f9d6ac97",
|
||||
"template_name": "销项税发票(增加审批通过后)-五建定制",
|
||||
@@ -4038,6 +4133,17 @@
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "f78c44ca-4a23-4195-996b-2cd7cf629c41",
|
||||
"template_name": "月度检查整改(五建定制)",
|
||||
"seq": 2,
|
||||
"rules": [
|
||||
"addFieldOption",
|
||||
"comboBox_setValue",
|
||||
"getContainerDataSource",
|
||||
"removeAllItems"
|
||||
]
|
||||
},
|
||||
{
|
||||
"template_id": "f78c44ca-4a23-4195-996b-2cd7cf629c41",
|
||||
"template_name": "月度检查整改(五建定制)",
|
||||
|
||||
Reference in New Issue
Block a user