|
@@ -2,7 +2,8 @@
|
|
|
<!-- 标签管理 -->
|
|
|
<div class="document-tag-page-wrap page-block-wrap">
|
|
|
<div class="tool-box">
|
|
|
- <el-button type="primary" @click="handleOperate('add',{})">添加标签</el-button>
|
|
|
+ <el-button v-permission="permissionBtn.semanticPermission.tagPage_save"
|
|
|
+ type="primary" @click="handleOperate('add',{})">添加标签</el-button>
|
|
|
<el-input v-model="searchText" clearable prefix-icon="el-icon-search" placeholder="请输入标签名称" @input="searchHandle"></el-input>
|
|
|
</div>
|
|
|
<div class="table-box">
|
|
@@ -23,8 +24,10 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center">
|
|
|
<template slot-scope="{row}">
|
|
|
- <el-button type="text" @click="handleOperate('edit',row)">编辑</el-button>
|
|
|
- <el-button type="text" style="color:red;" @click="handleOperate('delete',row)">删除</el-button>
|
|
|
+ <el-button v-permission="permissionBtn.semanticPermission.tagPage_save"
|
|
|
+ type="text" @click="handleOperate('edit',row)">编辑</el-button>
|
|
|
+ <el-button v-permission="permissionBtn.semanticPermission.tagPage_del"
|
|
|
+ type="text" style="color:red;" @click="handleOperate('delete',row)">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|