ssw b593a79c0e fix(TC-C): dict 数据解套 (r.list 不是 r.data.list)
bug: webapi getDictionaryAll 返回 r={list:[...]} 不是 r={data:{list:[...]}}
之前: r?.data?.list → undefined → dictList=[] → 全部 select 字段报失效

实测 workSystem testcustomer:
  修复前: 字典 038d293f (kehuleixing 客户类型) 报失效 (实际存在)
  修复后: 9/9 PASS

root cause: getDictionaryAll 这个端点直接返 list, 跟其他 webapi (返 {code,data,msg}) 不同
fix: 解套多种 webapi 形状 (r.list / r.data.list / r.data / r)

剩 2 个 FAIL (testreceivable/baomingguanli columnList 错配子表字段) 是 baseline form 数据配错问题, 不在 dacli 范围. 需 user 在 formDesigner 手动重配 columnList 用 relation 子表 API 路径.
2026-07-13 16:03:28 +08:00
S
Description
dacli CLI — JNPF 平台 AI 驱动开发工具 (TS 版 v0.7)
3.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 99.4%
Shell 0.4%
Python 0.2%