mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 23:31:29 +00:00
fix: 修改快速更新参数
This commit is contained in:
@@ -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
|
||||||
},
|
},
|
||||||
|
@@ -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,
|
||||||
|
@@ -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'],
|
||||||
|
@@ -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')
|
||||||
|
@@ -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')
|
||||||
|
@@ -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
|
||||||
|
@@ -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,
|
||||||
|
@@ -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')
|
||||||
|
Reference in New Issue
Block a user