mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 07:09:14 +00:00
fix: 修改快速更新参数
This commit is contained in:
@@ -55,7 +55,7 @@ export default {
|
||||
quickActions: [
|
||||
{
|
||||
title: this.$t('common.Active'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
model: this.object.is_active
|
||||
},
|
||||
|
@@ -39,7 +39,7 @@ export default {
|
||||
quickActions: [
|
||||
{
|
||||
title: this.$t('assets.IsActive'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
label: this.$t('common.Test'),
|
||||
model: this.object.is_active,
|
||||
|
@@ -79,7 +79,7 @@ export default {
|
||||
const quickActions = [
|
||||
{
|
||||
title: this.$t('assets.DomainEnabled'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
label: this.$t('common.Update'),
|
||||
model: object['domain_enabled'],
|
||||
|
@@ -31,7 +31,7 @@ export default {
|
||||
quickActions: [
|
||||
{
|
||||
title: this.$t('common.Active'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
model: this.object.is_active,
|
||||
disabled: !this.$hasPerm('perms.change_applicationpermission')
|
||||
|
@@ -32,7 +32,7 @@ export default {
|
||||
quickActions: [
|
||||
{
|
||||
title: this.$t('common.Active'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
model: this.object.is_active,
|
||||
disabled: !this.$hasPerm('perms.change_assetpermission')
|
||||
|
@@ -179,7 +179,7 @@ export default {
|
||||
},
|
||||
{
|
||||
title: this.$t('setting.WeCom'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
name: 'wecom',
|
||||
model: this.object.receive_backends.indexOf('wecom') !== -1
|
||||
@@ -191,7 +191,7 @@ export default {
|
||||
},
|
||||
{
|
||||
title: this.$t('setting.DingTalk'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
name: 'dingtalk',
|
||||
model: this.object.receive_backends.indexOf('dingtalk') !== -1
|
||||
@@ -203,7 +203,7 @@ export default {
|
||||
},
|
||||
{
|
||||
title: this.$t('setting.FeiShu'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
name: 'feishu',
|
||||
model: this.object.receive_backends.indexOf('feishu') !== -1
|
||||
|
@@ -33,7 +33,7 @@ export default {
|
||||
quickActions: [
|
||||
{
|
||||
title: this.$t('assets.IsActive'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
label: this.$t('common.Test'),
|
||||
model: this.object.is_active,
|
||||
|
@@ -35,7 +35,7 @@ export default {
|
||||
quickActions: [
|
||||
{
|
||||
title: this.$t('common.Activate'),
|
||||
type: 'switcher',
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
model: this.object.is_active,
|
||||
disabled: !vm.$hasPerm('users.change_user')
|
||||
|
Reference in New Issue
Block a user