|
@@ -277,8 +277,8 @@ emissionStandard">
|
|
|
<el-table-column label="操作" align="center" width="150px" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<div style="display:flex">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button>
|
|
|
+ <el-button v-hasPermi="['engine:info:update']" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button>
|
|
|
+ <el-button v-hasPermi="['engine:info:remove']" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)">删除</el-button>
|
|
|
<el-button @click="() => {
|
|
|
$router.push('/gallery?id=' + scope.row.id + '&type=2')
|
|
|
|