|
@@ -3,7 +3,7 @@
|
|
|
<div class="desc-wrap-BasicTable">
|
|
|
<BasicTable @register="registerTable">
|
|
|
<template #toolbar>
|
|
|
- <a-button type="primary" v-if="hasPermission([RoleEnum.SUPER, RoleEnum.TEST])" @click="handleAdd"> {{t('routes.retailer.allff')}}</a-button>
|
|
|
+ <a-button type="primary" v-if="hasPermission([RoleEnum.SUPER, RoleEnum.TEST, RoleEnum.LEVEL2])" @click="handleAdd"> {{t('routes.retailer.allff')}}</a-button>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
<TableAction
|
|
@@ -350,7 +350,7 @@
|
|
|
actionColumn: {
|
|
|
width: 150,
|
|
|
title: t('common.operating'),
|
|
|
- ifShow: hasPermission([RoleEnum.SUPER, RoleEnum.TEST]),
|
|
|
+ ifShow: hasPermission([RoleEnum.SUPER, RoleEnum.TEST,RoleEnum.LEVEL2]),
|
|
|
dataIndex: 'action',
|
|
|
slots: { customRender: 'action' },
|
|
|
},
|