30 lines
1.9 KiB
Markdown
30 lines
1.9 KiB
Markdown
## 1. 提案与 API 层
|
||
- [x] 1.1 新增 `src/api/modules/agentDistribution.ts`:`sendCode()` 与 `registerAgent()`,公开请求不带 Token
|
||
- [x] 1.2 扩展 `src/types/api/shop.ts`:`ShopResponse` 增加 `distribution_code`
|
||
- [x] 1.3 扩展 `src/types/api/commission.ts`:提现资料资格提交/查询、作废、重提、详情的请求与响应类型
|
||
- [x] 1.4 扩展 `src/api/modules/commission.ts`:`submitWithdrawalQualification` / `getWithdrawalQualifications` / `voidWithdrawalQualification` / `resubmitWithdrawalRequest` / `getWithdrawalRequestDetail`
|
||
- [x] 1.5 扩展 `src/types/api/wecom.ts`:`WecomBusinessType` 增加三个业务类型
|
||
- [x] 1.6 汇总导出新增类型
|
||
|
||
## 2. 企微审批场景
|
||
- [x] 2.1 场景配置页新增三个业务类型选项(`agent_distribution_approval` / `withdrawal_qualification_approval` / `commission_withdrawal_approval`)
|
||
|
||
## 3. 独立注册页
|
||
- [x] 3.1 `staticRoutes.ts` 新增 `/agent-registration` 静态路由
|
||
- [x] 3.2 `LOGIN_WHITE_LIST` 增加注册页路径
|
||
- [x] 3.3 新增 `src/views/agent-registration/index.vue`:表单、验证码倒计时、密码强度、省市区级联、提交与结束页、H5/PC 响应式
|
||
|
||
## 4. 店铺详情
|
||
- [x] 4.1 店铺详情页展示 `distribution_code` 与注册二维码
|
||
|
||
## 5. 我的佣金(代理侧)
|
||
- [x] 5.1 新增「提现资料资格」Tab:资格列表(脱敏展示)+ 提交/替换弹窗(附件走上传接口)
|
||
- [x] 5.2 提现记录新增「详情」抽屉:展示明细、驳回原因、异常标记与尝试记录
|
||
- [x] 5.3 被驳回记录新增「重新提交」弹窗(PUT 重提)
|
||
- [x] 5.4 超管可见「作废资格」操作(reason 必填)
|
||
|
||
## 6. 验证
|
||
- [x] 6.1 运行 `npm run build`(含 `vue-tsc --noEmit`)
|
||
- [x] 6.2 运行 `npm run check:encoding`
|
||
- [x] 6.3 运行 `openspec.cmd validate add-agent-distribution-registration-and-withdrawal --strict`
|