refactor(系统设置): 暂时禁用批量修改用户操作

This commit is contained in:
shiziyuan9527 2021-05-21 21:18:41 +08:00 committed by 刘瑞斌
parent c953bb806a
commit 845a9fe1b3
3 changed files with 17 additions and 17 deletions

View File

@ -186,12 +186,12 @@
batchAddWorkspaceOptions:[], batchAddWorkspaceOptions:[],
batchAddUserRoleOptions:[], batchAddUserRoleOptions:[],
buttons: [ buttons: [
{ // {
name: this.$t('user.button.add_workspace_batch'), handleClick: this.addWorkspaceBatch // name: this.$t('user.button.add_workspace_batch'), handleClick: this.addWorkspaceBatch
}, // },
{ // {
name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch // name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch
} // }
], ],
} }
}, },

View File

@ -3,8 +3,8 @@
<el-card class="table-card"> <el-card class="table-card">
<template v-slot:header> <template v-slot:header>
<ms-table-header :condition.sync="condition" @search="search" @create="create" @import="importUserDialogOpen" <ms-table-header :condition.sync="condition" @search="search" @create="create"
:create-tip="$t('user.create')" :show-import="true" :import-tip="$t('commons.import_user')" :title="$t('commons.user')"/> :create-tip="$t('user.create')" :title="$t('commons.user')"/>
</template> </template>
@ -437,12 +437,12 @@ export default {
checkPasswordForm: {}, checkPasswordForm: {},
ruleForm: {}, ruleForm: {},
buttons: [ buttons: [
{ // {
name: this.$t('user.button.add_workspace_batch'), handleClick: this.addWorkspaceBatch // name: this.$t('user.button.add_workspace_batch'), handleClick: this.addWorkspaceBatch
}, // },
{ // {
name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch // name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch
} // }
], ],
rule: { rule: {
id: [ id: [

View File

@ -178,9 +178,9 @@
referenced: false, referenced: false,
batchAddUserRoleOptions: [], batchAddUserRoleOptions: [],
buttons: [ buttons: [
{ // {
name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch // name: this.$t('user.button.add_user_role_batch'), handleClick: this.addUserRoleBatch
} // }
], ],
} }
}, },