You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1.9 KiB

05 — 实测:规则族(阶段模板/方案卡模板/公海规则/字典)

Type: task Status: open Blocked by: 01, 02

Question

针对 A7-3-2 规则族的原型页,用 HTML+fetch demo 实测每个预期接口。

覆盖的原型页

阶段模板

  • A7-3-2-1 商机阶段设置(列表页)
  • A7-3-2-1-1 商机阶段设置(详情页)
  • A7-3-2-1-2 商机阶段设置(新增/编辑页)

方案卡模板

  • A7-3-2-2 方案卡模板(列表页)
  • A7-3-2-2-1 方案卡模板(详情页)
  • A7-3-2-2-2 方案卡模板(新增/编辑页)

公海规则

  • A7-3-2-5 公海与提醒规则(列表页)
  • A7-3-2-5-1 公海与提醒规则(详情页)
  • A7-3-2-5-2 公海与提醒规则(新增/编辑页)

字典

  • A7-3-2-6 商机相关字典(原型只有 backup 版 a3-4-6_商机相关字典.txt,见 01 备注)

排除:A7-3-2-3 方案推送规则 / A7-3-2-4 项目查重规则(out-of-scope)

实测方法

  1. 建子页.scratch/opportunity-verify/frontend/rules.html
  2. 分区:阶段模板 / 方案卡模板 / 公海规则 / 字典 —— 每区独立面板
  3. 共有 CRUD 模式:三种规则结构都是 List/Detail/Edit V-CONFIG,逐个测
    • GET /api/xxx-template/page 列表
    • GET /api/xxx-template/{id} 详情
    • POST /api/xxx-template 新增
    • PUT /api/xxx-template/{id} 编辑
    • DELETE /api/xxx-template/{id} 删除(如原型有)
    • 启用/禁用开关(如原型有)
  4. 字典特殊:如果 A7-3-2-6 是走通用 dict 平台而非商机专属,标注"归 crm-dict 域,本报告仅登记不深测"
  5. webapp-testing 逐面板取证

完成判据

  • rules.html 存在
  • 本票文末「实测记录」段覆盖所有本子域预期接口(预计 ~15-25 个)
  • 三种规则的完整 CRUD 循环至少各跑一次

不做

  • 方案推送规则 / 项目查重规则(out-of-scope)
  • 修 bug