Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
4838ab74
Commit
4838ab74
authored
Mar 23, 2026
by
weak-fox
Browse files
feat(admin): add account privacy mode filter
parent
bda7c39e
Changes
23
Show whitespace changes
Inline
Side-by-side
frontend/src/i18n/locales/en.ts
View file @
4838ab74
...
@@ -1971,6 +1971,8 @@ export default {
...
@@ -1971,6 +1971,8 @@ export default {
expiresAt
:
'
Expires At
'
,
expiresAt
:
'
Expires At
'
,
actions
:
'
Actions
'
actions
:
'
Actions
'
},
},
allPrivacyModes
:
'
All Privacy States
'
,
privacyUnset
:
'
Unset
'
,
privacyTrainingOff
:
'
Training data sharing disabled
'
,
privacyTrainingOff
:
'
Training data sharing disabled
'
,
privacyCfBlocked
:
'
Blocked by Cloudflare, training may still be on
'
,
privacyCfBlocked
:
'
Blocked by Cloudflare, training may still be on
'
,
privacyFailed
:
'
Failed to disable training
'
,
privacyFailed
:
'
Failed to disable training
'
,
...
...
frontend/src/i18n/locales/zh.ts
View file @
4838ab74
...
@@ -2009,6 +2009,8 @@ export default {
...
@@ -2009,6 +2009,8 @@ export default {
expiresAt
:
'
过期时间
'
,
expiresAt
:
'
过期时间
'
,
actions
:
'
操作
'
actions
:
'
操作
'
},
},
allPrivacyModes
:
'
全部Privacy状态
'
,
privacyUnset
:
'
未设置
'
,
privacyTrainingOff
:
'
已关闭训练数据共享
'
,
privacyTrainingOff
:
'
已关闭训练数据共享
'
,
privacyCfBlocked
:
'
被 Cloudflare 拦截,训练可能仍开启
'
,
privacyCfBlocked
:
'
被 Cloudflare 拦截,训练可能仍开启
'
,
privacyFailed
:
'
关闭训练数据共享失败
'
,
privacyFailed
:
'
关闭训练数据共享失败
'
,
...
...
frontend/src/views/admin/AccountsView.vue
View file @
4838ab74
...
@@ -581,7 +581,7 @@ const {
...
@@ -581,7 +581,7 @@ const {
handlePageSizeChange
:
baseHandlePageSizeChange
handlePageSizeChange
:
baseHandlePageSizeChange
}
=
useTableLoader
<
Account
,
any
>
({
}
=
useTableLoader
<
Account
,
any
>
({
fetchFn
:
adminAPI
.
accounts
.
list
,
fetchFn
:
adminAPI
.
accounts
.
list
,
initialParams
:
{
platform
:
''
,
type
:
''
,
status
:
''
,
group
:
''
,
search
:
''
}
initialParams
:
{
platform
:
''
,
type
:
''
,
status
:
''
,
privacy_mode
:
''
,
group
:
''
,
search
:
''
}
}
)
}
)
const
{
const
{
...
@@ -758,6 +758,7 @@ const refreshAccountsIncrementally = async () => {
...
@@ -758,6 +758,7 @@ const refreshAccountsIncrementally = async () => {
platform
?:
string
platform
?:
string
type
?:
string
type
?:
string
status
?:
string
status
?:
string
privacy_mode
?:
string
group
?:
string
group
?:
string
search
?:
string
search
?:
string
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment