|
@@ -50,15 +50,19 @@
|
|
|
@click="handleAdd"
|
|
|
>新增</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/workShiftInfo/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-row>
|
|
|
<el-table
|
|
|
ref="formTable"
|
|
@@ -126,9 +130,17 @@
|
|
|
<el-col :span="8">
|
|
|
<el-link type="primary" @click="handleEdit(row)">编辑</el-link>
|
|
|
</el-col>
|
|
|
- <!-- <el-col :span="8">
|
|
|
- <el-link type="danger" @click="handleDelete(row)">删除</el-link>
|
|
|
- </el-col> -->
|
|
|
+ <el-col :span="8">
|
|
|
+ <permission-detect class="inline"
|
|
|
+ path="/base/workShiftInfo/delete" method="post">
|
|
|
+ <el-link
|
|
|
+ type="danger"
|
|
|
+ :underline="false"
|
|
|
+ @click="handleDelete(row)"
|
|
|
+ >删除
|
|
|
+ </el-link>
|
|
|
+ </permission-detect>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</template>
|
|
|
</el-table-column>
|