feat: add user activation control

- Add is_active field to user model
- Create SealCheckbox component with clickable container
- Add activation control to user modal
- Display user status in users table
- Add localization strings for activation features
This commit is contained in:
Hugo Haldi
2025-10-09 10:11:05 +08:00
committed by jialin
parent 8e77e19631
commit 521bf211a2
8 changed files with 158 additions and 20 deletions
+6
View File
@@ -5,6 +5,12 @@ export default {
'users.form.create': 'Новый пользователь',
'users.table.username': 'Имя пользователя',
'users.table.role': 'Роль',
'users.table.status': 'Статус',
'users.status.active': 'Активен',
'users.status.inactive': 'Неактивен',
'users.form.active': 'Активная учетная запись',
'users.form.active.description':
'Включить или отключить эту учетную запись пользователя',
'users.form.fullname': 'Полное имя',
'users.form.source': 'Источник',
'users.table.user': 'пользователи',