Files
guoju0808/ry-vue3
郭庆泰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-16 21:24:53 +08:00
2026-08-16 21:24:53 +08:00
2026-08-16 13:42:26 +08:00