feat: 账号管理下的资产账号及系统用户下的资产账号支持批量删除

This commit is contained in:
jiangweidong
2022-04-26 10:26:24 +08:00
committed by 老广
parent e59a71285d
commit 1ac9ca4593
3 changed files with 4 additions and 3 deletions

View File

@@ -158,7 +158,8 @@ export default {
},
headerActions: {
hasLeftActions: this.hasLeftActions,
hasMoreActions: false,
hasMoreActions: true,
hasCreate: false,
hasImport: false,
hasExport: this.$hasPerm('assets.view_assetaccountsecret'),
exportOptions: {

View File

@@ -1,7 +1,7 @@
<template>
<GenericTreeListPage ref="TreeTablePage" :tree-setting="treeSetting">
<template #table>
<AccountListTable ref="table" :url="accountsUrl" />
<AccountListTable ref="table" :url="accountsUrl" :has-left-actions="true" />
</template>
</GenericTreeListPage>
</template>

View File

@@ -2,7 +2,7 @@
<div>
<el-row :gutter="24">
<el-col :md="16" :sm="24">
<AccountListTable ref="ListTable" :url="assetUserUrl" :has-import="false" :has-clone="false" />
<AccountListTable ref="ListTable" :url="assetUserUrl" :has-import="false" :has-clone="false" :has-left-actions="true" />
</el-col>
<el-col :md="8" :sm="24">
<QuickActions type="primary" :actions="quickActions" />