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
68d7ec91
Unverified
Commit
68d7ec91
authored
Mar 24, 2026
by
Wesley Liddick
Committed by
GitHub
Mar 24, 2026
Browse files
Merge pull request #1220 from weak-fox/feat/account-privacy-mode-filter
feat: 管理员账号列表支持按 Privacy 状态筛选
parents
7537dce0
4838ab74
Changes
23
Hide whitespace changes
Inline
Side-by-side
frontend/src/i18n/locales/en.ts
View file @
68d7ec91
...
@@ -1979,6 +1979,8 @@ export default {
...
@@ -1979,6 +1979,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 @
68d7ec91
...
@@ -2017,6 +2017,8 @@ export default {
...
@@ -2017,6 +2017,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 @
68d7ec91
...
@@ -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