fix: 修改快速更新参数

This commit is contained in:
“huailei000”
2022-10-31 20:02:51 +08:00
committed by huailei
parent 91f6fe3965
commit 97f708b9ef
8 changed files with 10 additions and 10 deletions

View File

@@ -55,7 +55,7 @@ export default {
quickActions: [ quickActions: [
{ {
title: this.$t('common.Active'), title: this.$t('common.Active'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
model: this.object.is_active model: this.object.is_active
}, },

View File

@@ -39,7 +39,7 @@ export default {
quickActions: [ quickActions: [
{ {
title: this.$t('assets.IsActive'), title: this.$t('assets.IsActive'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
label: this.$t('common.Test'), label: this.$t('common.Test'),
model: this.object.is_active, model: this.object.is_active,

View File

@@ -79,7 +79,7 @@ export default {
const quickActions = [ const quickActions = [
{ {
title: this.$t('assets.DomainEnabled'), title: this.$t('assets.DomainEnabled'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
label: this.$t('common.Update'), label: this.$t('common.Update'),
model: object['domain_enabled'], model: object['domain_enabled'],

View File

@@ -31,7 +31,7 @@ export default {
quickActions: [ quickActions: [
{ {
title: this.$t('common.Active'), title: this.$t('common.Active'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
model: this.object.is_active, model: this.object.is_active,
disabled: !this.$hasPerm('perms.change_applicationpermission') disabled: !this.$hasPerm('perms.change_applicationpermission')

View File

@@ -32,7 +32,7 @@ export default {
quickActions: [ quickActions: [
{ {
title: this.$t('common.Active'), title: this.$t('common.Active'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
model: this.object.is_active, model: this.object.is_active,
disabled: !this.$hasPerm('perms.change_assetpermission') disabled: !this.$hasPerm('perms.change_assetpermission')

View File

@@ -179,7 +179,7 @@ export default {
}, },
{ {
title: this.$t('setting.WeCom'), title: this.$t('setting.WeCom'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
name: 'wecom', name: 'wecom',
model: this.object.receive_backends.indexOf('wecom') !== -1 model: this.object.receive_backends.indexOf('wecom') !== -1
@@ -191,7 +191,7 @@ export default {
}, },
{ {
title: this.$t('setting.DingTalk'), title: this.$t('setting.DingTalk'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
name: 'dingtalk', name: 'dingtalk',
model: this.object.receive_backends.indexOf('dingtalk') !== -1 model: this.object.receive_backends.indexOf('dingtalk') !== -1
@@ -203,7 +203,7 @@ export default {
}, },
{ {
title: this.$t('setting.FeiShu'), title: this.$t('setting.FeiShu'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
name: 'feishu', name: 'feishu',
model: this.object.receive_backends.indexOf('feishu') !== -1 model: this.object.receive_backends.indexOf('feishu') !== -1

View File

@@ -33,7 +33,7 @@ export default {
quickActions: [ quickActions: [
{ {
title: this.$t('assets.IsActive'), title: this.$t('assets.IsActive'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
label: this.$t('common.Test'), label: this.$t('common.Test'),
model: this.object.is_active, model: this.object.is_active,

View File

@@ -35,7 +35,7 @@ export default {
quickActions: [ quickActions: [
{ {
title: this.$t('common.Activate'), title: this.$t('common.Activate'),
type: 'switcher', type: 'switch',
attrs: { attrs: {
model: this.object.is_active, model: this.object.is_active,
disabled: !vm.$hasPerm('users.change_user') disabled: !vm.$hasPerm('users.change_user')