
郭庆泰andClaude
25ec74114f
feat(sponsor/people): 批量删除自我保护 + 批量导入 UI 用 el-upload 对齐其他页面
1. 批量删除主账号自我保护 (防误删):
- 复选框 :selectable 排除主账号自己 (row.userId === store.user?.userId)
- 批量删除按钮 :disabled 在包含主账号时置灰 (computed: hasSelfInSelection)
- onBatchRemove 函数入口再校验一次 (defense in depth)
2. 批量导入 dialog 用 el-upload 对齐 manager/admin/executor:
- 替换手写 <input type=file> + 浏览/上传 button, 改用标准 el-upload
(:auto-upload=false :limit=1 :on-change :on-remove)
- footer 加'开始导入'按钮 (disabled by !importFile)
- 文件名显示 + 删除按钮 el-upload 自带, 不再手写
- uploadFile() 改 submitImport(), 语义更准
- onImport() 开头 clearFiles() 防止关闭再打开时残留
Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-18 21:08:01 +08:00
..
2026-08-18 01:42:05 +08:00
2026-08-15 12:41:10 +08:00
2026-08-17 00:34:13 +08:00
2026-08-18 01:25:52 +08:00
2026-08-18 00:28:40 +08:00
2026-08-15 12:41:10 +08:00
2026-08-18 20:46:42 +08:00
2026-08-18 21:08:01 +08:00
2026-08-15 12:41:10 +08:00
2026-08-15 12:41:10 +08:00