|
@@ -23,7 +23,8 @@
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" icon="el-icon-search" @click="getSearch">搜索</el-button>
|
|
<el-button type="primary" icon="el-icon-search" @click="getSearch">搜索</el-button>
|
|
<el-button icon="el-icon-refresh" @click="getRefresh">重制</el-button>
|
|
<el-button icon="el-icon-refresh" @click="getRefresh">重制</el-button>
|
|
- <el-button type="primary" icon="el-icon-plus" plain @click="getDetail()">新增</el-button>
|
|
|
|
|
|
+ <el-button type="primary" icon="el-icon-plus" plain @click="getDetail()"
|
|
|
|
+ v-hasPermi="['push:dialog:add']">新增</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
@@ -48,8 +49,8 @@
|
|
<el-table-column label="操作" align="center">
|
|
<el-table-column label="操作" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button type="text" @click="getDetail(scope.row.id, true)">查看</el-button>
|
|
<el-button type="text" @click="getDetail(scope.row.id, true)">查看</el-button>
|
|
- <el-button type="text" @click="getDetail(scope.row.id)">编辑</el-button>
|
|
|
|
- <el-button type="delete" @click="getDelete(scope.row)">删除</el-button>
|
|
|
|
|
|
+ <el-button type="text" @click="getDetail(scope.row.id)" v-hasPermi="['push:dialog:edit']">编辑</el-button>
|
|
|
|
+ <el-button type="delete" @click="getDelete(scope.row)" v-hasPermi="['push:dialog:delete']">删除</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|