jnc-dialog-hot-gates
靶子 BASE=http://localhost:20098
── ① 高危页面渲染产物零裸弹窗 ──
✔ youhuiquan_chaxun: 裸=0 组件=true
✔ youhuiquan_liebiao: 裸=0 组件=true
✔ youhuiquan_tianjia: 裸=0 组件=true
✔ huiyuanguanli_huiyuan: 裸=0 组件=true
✔ xiugai_pin: 裸=0 组件=true
✔ xiugaimima: 裸=0 组件=true
✔ richangyunying_receiptchuli: 裸=0 组件=true
✔ richangyunying_tuikuanshenpi: 裸=0 组件=true
✔ richangyunying_gongdan: 裸=0 组件=true
── ② 券作废:confirm → prompt → POST 三步链(与退款审批/工单同一模式)──
✔ 第 1 步:警告确认弹出
✔ 警告文案带券码
✔ 🔴 第 1 步期间零请求 (got=0 want=0)
✔ 🔴 第 1 步取消 → 零请求(prompt 也没弹) (got=0 want=0)
✔ 取消后无残留弹窗 (got=0 want=0)
✔ 第 2 步:确定后弹出原因输入框
✔ 🔴 第 2 步期间仍零请求 (got=0 want=0)
✔ 🔴 第 2 步取消 → 零请求 (got=0 want=0)
✔ 🔴 原因留空 → 零请求(空值守卫仍在) (got=0 want=0)
✔ 弹出"作废原因不能为空"
✔ 🔴 三步走完 → POST 确实发出(链没被拦死) (got=1 want=1)
✔ 发出的是 youhuiquan_zuofei
── ③ PIN 掩码(原生 prompt 做不到,这是本批唯一的实质安全改进)──
✔ PIN 输入框是 password 类型(不再明文显示) (got="password" want="password")
✔ 守卫:普通 prompt 仍是 text(掩码没被无差别打开) (got="text" want="text")
── ④ 券自动发放确认闸(form 提交拦截)──
✔ 无限库存+自动发放 → 弹出确认
✔ 🔴 点取消 → 表单没被提交 (got="http://localhost:20098/index.php/Admin/youhuiquan_tianjia" want="http://localhost:20098/index.php/Admin/youhuiquan_tianjia")
✔ 🔴 全程零原生 dialog (got=null want=null)
PASS=26 FAIL=0 SKIP=0