|
@@ -122,16 +122,19 @@
|
|
icon="el-icon-circle-plus"
|
|
icon="el-icon-circle-plus"
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
>新增</el-button
|
|
>新增</el-button
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- size="small"
|
|
|
|
- plain
|
|
|
|
- icon="el-icon-remove"
|
|
|
|
- :disabled="multipleSelection.length == 0"
|
|
|
|
- @click="handleBatchDelete"
|
|
|
|
- >删除选中项</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >
|
|
|
|
+ <permission-detect
|
|
|
|
+ class="inline margin-10"
|
|
|
|
+ path="/base/companyInfo/delete" method="post">
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ plain
|
|
|
|
+ icon="el-icon-remove"
|
|
|
|
+ :disabled="multipleSelection.length == 0"
|
|
|
|
+ @click="handleBatchDelete"
|
|
|
|
+ >删除选中项</el-button>
|
|
|
|
+ </permission-detect>
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
size="small"
|
|
size="small"
|
|
@@ -219,12 +222,15 @@
|
|
@click="handleEdit(row)"
|
|
@click="handleEdit(row)"
|
|
>编辑</el-link
|
|
>编辑</el-link
|
|
>-
|
|
>-
|
|
|
|
+ <permission-detect class="inline"
|
|
|
|
+ path="/base/companyInfo/delete" method="post">
|
|
<el-link
|
|
<el-link
|
|
type="danger"
|
|
type="danger"
|
|
:underline="false"
|
|
:underline="false"
|
|
@click="handleDelete(row)"
|
|
@click="handleDelete(row)"
|
|
>删除</el-link
|
|
>删除</el-link
|
|
>-
|
|
>-
|
|
|
|
+ </permission-detect>
|
|
<el-link
|
|
<el-link
|
|
type="primary"
|
|
type="primary"
|
|
:underline="false"
|
|
:underline="false"
|