mirror of
https://github.com/jumpserver/lina.git
synced 2025-11-09 03:14:48 +00:00
Compare commits
2 Commits
pr@v3@fixe
...
v2.15.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f56a3f5085 | ||
|
|
66beab9ded |
@@ -73,8 +73,7 @@ export default {
|
||||
title: this.$t('users.setWeCom'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$store.state.users.profile.is_wecom_bound ? this.$t('common.unbind') : this.$t('common.bind'),
|
||||
disabled: this.$store.state.users.profile.source !== 'local'
|
||||
label: this.$store.state.users.profile.is_wecom_bound ? this.$t('common.unbind') : this.$t('common.bind')
|
||||
},
|
||||
has: this.$store.getters.publicSettings.AUTH_WECOM,
|
||||
callbacks: {
|
||||
@@ -88,8 +87,7 @@ export default {
|
||||
title: this.$t('users.setDingTalk'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$store.state.users.profile.is_dingtalk_bound ? this.$t('common.unbind') : this.$t('common.bind'),
|
||||
disabled: this.$store.state.users.profile.source !== 'local'
|
||||
label: this.$store.state.users.profile.is_dingtalk_bound ? this.$t('common.unbind') : this.$t('common.bind')
|
||||
},
|
||||
has: this.$store.getters.publicSettings.AUTH_DINGTALK,
|
||||
callbacks: {
|
||||
@@ -103,8 +101,7 @@ export default {
|
||||
title: this.$t('users.setFeiShu'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$store.state.users.profile.is_feishu_bound ? this.$t('common.unbind') : this.$t('common.bind'),
|
||||
disabled: this.$store.state.users.profile.source !== 'local'
|
||||
label: this.$store.state.users.profile.is_feishu_bound ? this.$t('common.unbind') : this.$t('common.bind')
|
||||
},
|
||||
has: this.$store.getters.publicSettings.AUTH_FEISHU,
|
||||
callbacks: {
|
||||
|
||||
@@ -50,6 +50,11 @@ export default {
|
||||
return !this.$store.getters.hasValidLicense
|
||||
}
|
||||
},
|
||||
TICKETS_ENABLED: {
|
||||
hidden: () => {
|
||||
return !this.$store.getters.hasValidLicense
|
||||
}
|
||||
},
|
||||
ANNOUNCEMENT_ENABLED: {
|
||||
// label: '公告',
|
||||
component: Announcement
|
||||
|
||||
Reference in New Issue
Block a user