mirror of
https://github.com/jumpserver/lina.git
synced 2025-11-20 17:11:37 +00:00
Compare commits
4 Commits
pr@dev@k8s
...
v2.21.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f86f08f2b6 | ||
|
|
6eb429823d | ||
|
|
d6be84026c | ||
|
|
4a7680ec7a |
@@ -419,7 +419,7 @@
|
|||||||
},
|
},
|
||||||
"isValid": "Is valid",
|
"isValid": "Is valid",
|
||||||
"nav": {
|
"nav": {
|
||||||
"TempPassword": "Temporary password",
|
"TempPassword": "Temporary password will expire immediately after use",
|
||||||
"APIKey": "API Key",
|
"APIKey": "API Key",
|
||||||
"Workbench": "Workbench",
|
"Workbench": "Workbench",
|
||||||
"Navigation": "Navigation",
|
"Navigation": "Navigation",
|
||||||
|
|||||||
@@ -431,7 +431,7 @@
|
|||||||
"fileType": "ファイルタイプ",
|
"fileType": "ファイルタイプ",
|
||||||
"isValid": "有効",
|
"isValid": "有効",
|
||||||
"nav": {
|
"nav": {
|
||||||
"TempPassword": "いちじパスワード",
|
"TempPassword": "一時パスワード使用後すぐに無効になります",
|
||||||
"APIKey": "APIキー",
|
"APIKey": "APIキー",
|
||||||
"Workbench": "作業台",
|
"Workbench": "作業台",
|
||||||
"Navigation": "ナビゲーション",
|
"Navigation": "ナビゲーション",
|
||||||
|
|||||||
@@ -1021,7 +1021,7 @@
|
|||||||
"LDAPServerInfo": "LDAP 服务器",
|
"LDAPServerInfo": "LDAP 服务器",
|
||||||
"LDAPUser": "LDAP 用户",
|
"LDAPUser": "LDAP 用户",
|
||||||
"helpText": {
|
"helpText": {
|
||||||
"TempPassword": "临时密码有效期为 300 秒,有效期内可重复使用",
|
"TempPassword": "临时密码有效期为 300 秒,使用后立刻失效",
|
||||||
"ApiKeyList": "使用api key签名请求头,每个请求的头部是不一样的, 请查阅使用文档",
|
"ApiKeyList": "使用api key签名请求头,每个请求的头部是不一样的, 请查阅使用文档",
|
||||||
"authLdapSearchFilter": "可能的选项是(cn或uid或sAMAccountName=%(user)s)",
|
"authLdapSearchFilter": "可能的选项是(cn或uid或sAMAccountName=%(user)s)",
|
||||||
"authLdapSearchOu": "使用|分隔各OU",
|
"authLdapSearchOu": "使用|分隔各OU",
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ export default {
|
|||||||
component: Select2,
|
component: Select2,
|
||||||
el: {
|
el: {
|
||||||
multiple: false,
|
multiple: false,
|
||||||
options: this.$store.state.users.profile.myorgs?.map((item) => {
|
options: this.$store.state.users.profile.workbench_orgs?.map((item) => {
|
||||||
return { label: item.name, value: item.id }
|
return { label: item.name, value: item.id }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -163,7 +163,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let userAllOrgIds = this.$store.state.users.profile['myorgs']
|
let userAllOrgIds = this.$store.state.users.profile['workbench_orgs']
|
||||||
const currentOrgId = this.$store.getters.currentOrg ? this.$store.getters.currentOrg.id : null
|
const currentOrgId = this.$store.getters.currentOrg ? this.$store.getters.currentOrg.id : null
|
||||||
userAllOrgIds = userAllOrgIds ? userAllOrgIds.map(i => i.id) : []
|
userAllOrgIds = userAllOrgIds ? userAllOrgIds.map(i => i.id) : []
|
||||||
if (userAllOrgIds.length > 0) {
|
if (userAllOrgIds.length > 0) {
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ export default {
|
|||||||
component: Select2,
|
component: Select2,
|
||||||
el: {
|
el: {
|
||||||
multiple: false,
|
multiple: false,
|
||||||
options: this.$store.state.users.profile['myorgs']?.map((item) => {
|
options: this.$store.state.users.profile['workbench_orgs']?.map((item) => {
|
||||||
return { label: item.name, value: item.id }
|
return { label: item.name, value: item.id }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -130,7 +130,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let userAllOrgIds = this.$store.state.users.profile['myorgs']
|
let userAllOrgIds = this.$store.state.users.profile['workbench_orgs']
|
||||||
const currentOrgId = this.$store.getters.currentOrg ? this.$store.getters.currentOrg.id : null
|
const currentOrgId = this.$store.getters.currentOrg ? this.$store.getters.currentOrg.id : null
|
||||||
userAllOrgIds = userAllOrgIds ? userAllOrgIds.map(i => i.id) : []
|
userAllOrgIds = userAllOrgIds ? userAllOrgIds.map(i => i.id) : []
|
||||||
if (userAllOrgIds.length > 0) {
|
if (userAllOrgIds.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user