Commit Graph
2 Commits
Author SHA1 Message Date
H0nGzA1andClaude Opus 4.6 9897d26afd fix(menu): fix batch_create dedup, add batch operations to menu button table
- batch_create: check component_name exists, dedupe by value, use bulk_create
- Add batchDelete/selectAll/selectNone buttons to Fast-CRUD actionbar
- Add visible batch toolbar in MenuButtonCom with row selection count
- Fix successNotification → ElMessage.success (was treating text as i18n key)
- Update docs to reflect implementation status

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 20:56:31 +08:00
H0nGzA1 5697d9e02c feat(permission): add auto-scan API & grouped role permission UI
- Menu page: auto-scan ViewSet APIs for a selected menu, preview & batch
  create MenuButton records with inline name/value editing, grouped table
- Role page: group button permissions by Model > CRUD intent (Read/Write/
  Delete/Other) with expand/collapse, indeterminate checkboxes
- Backend: new batch_set_role_menu_btn action + value field in serializer
- Frontend: 300ms debounced batch updates to avoid DB lock on rapid toggles
- i18n: add scan.* keys and role intent labels for zh-cn/en/zh-tw
2026-04-09 20:56:08 +08:00