|
@@ -2,7 +2,7 @@
|
|
<!--定义表格-->
|
|
<!--定义表格-->
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
|
<template #tableTitle>
|
|
<template #tableTitle>
|
|
- <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"> 新增(add)</a-button>
|
|
|
|
|
|
+ <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate" v-auth="'baseCode:base_product_class:add'"> 新增(add)</a-button>
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
<template #overlay>
|
|
<template #overlay>
|
|
<a-menu>
|
|
<a-menu>
|
|
@@ -12,7 +12,7 @@
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
</a-menu>
|
|
</a-menu>
|
|
</template>
|
|
</template>
|
|
- <a-button v-auth="'baseCode:base_ship_archive:deleteBatch'">批量操作
|
|
|
|
|
|
+ <a-button v-auth="'baseCode:base_product_class:deleteBatch'">批量操作
|
|
<Icon icon="mdi:chevron-down"></Icon>
|
|
<Icon icon="mdi:chevron-down"></Icon>
|
|
</a-button>
|
|
</a-button>
|
|
</a-dropdown>
|
|
</a-dropdown>
|
|
@@ -106,6 +106,7 @@
|
|
{
|
|
{
|
|
label: '编辑',
|
|
label: '编辑',
|
|
onClick: handleEdit.bind(null, record),
|
|
onClick: handleEdit.bind(null, record),
|
|
|
|
+ auth: 'baseCode:base_product_class:edit'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '删除',
|
|
label: '删除',
|
|
@@ -113,6 +114,7 @@
|
|
title: '确定删除吗?',
|
|
title: '确定删除吗?',
|
|
confirm: handleDelete.bind(null, record),
|
|
confirm: handleDelete.bind(null, record),
|
|
},
|
|
},
|
|
|
|
+ auth: 'baseCode:base_product_class:delete'
|
|
},
|
|
},
|
|
];
|
|
];
|
|
}
|
|
}
|