|
|
@@ -38,7 +38,7 @@
|
|
|
<Icon icon="ep:refresh" class="mr-5px" />
|
|
|
重置
|
|
|
</el-button>
|
|
|
- <el-button type="primary" @click="openForm('create')">
|
|
|
+ <el-button type="primary" @click="openForm('create')" v-hasPermi="['rd:team:create']">
|
|
|
<Icon icon="ep:plus" class="mr-5px" />
|
|
|
新增
|
|
|
</el-button>
|
|
|
@@ -82,8 +82,20 @@
|
|
|
</zm-table-column>
|
|
|
<zm-table-column label="操作" align="center" width="160" fixed="right" action>
|
|
|
<template #default="{ row }">
|
|
|
- <el-button link type="primary" @click.stop="openForm('update', row.id)">编辑</el-button>
|
|
|
- <el-button link type="danger" @click.stop="handleDelete(row.id)">删除</el-button>
|
|
|
+ <el-button
|
|
|
+ v-hasPermi="['rd:team:update']"
|
|
|
+ link
|
|
|
+ type="primary"
|
|
|
+ @click.stop="openForm('update', row.id)"
|
|
|
+ >编辑</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-hasPermi="['rd:team:delete']"
|
|
|
+ link
|
|
|
+ type="danger"
|
|
|
+ @click.stop="handleDelete(row.id)"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
</template>
|
|
|
</zm-table-column>
|
|
|
</zm-table>
|