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: [
{
title: this.$t('common.Active'),
type: 'switcher',
type: 'switch',
attrs: {
model: this.object.is_active
},

View File

@@ -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,

View File

@@ -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'],

View File

@@ -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')

View File

@@ -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')

View File

@@ -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

View File

@@ -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,

View File

@@ -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')