Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-07-25 17:24:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
274d253bdf1c1380a7cd2c1ffe66107bac0107bb
274d253b
1 parent
e92db410
按钮权限修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
src/views/systemConfig/dictionaryConfig/index.vue
src/views/systemConfig/dictionaryConfig/index.vue
View file @
274d253
...
...
@@ -116,18 +116,20 @@
<template slot="optionColumn">
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button class="mr5" v-if="scope.row.serviceCodeMapperList" size="mini" type="text"
icon="el-icon-plus"
@click="addDic({ status: 'childrenAdd', data: scope.row.chineseName })"
v-hasPermi="['system:dictionary:add']">新增子集
</el-button>
<div v-hasPermi="['system:dictionary:add']">
<el-button class="mr5" v-if="scope.row.serviceCodeMapperList" size="mini" type="text"
icon="el-icon-plus"
@click="addDic({ status: 'childrenAdd', data: scope.row.chineseName })">新增子集
</el-button>
</div>
<!-- <el-button class="mr5" size="mini" type="text" icon="el-icon-edit"
@click="upDate({ status: 'update', data: scope.row })">修改
</el-button> -->
<el-button v-if="!scope.row.serviceCodeMapperList" size="mini" type="text"
style="color:#ff4949" icon="el-icon-delete" @click="delDict(scope.row)"
v-hasPermi="['system:dictionary:delete']">删除
</el-button>
<div v-hasPermi="['system:dictionary:delete']">
<el-button v-if="!scope.row.serviceCodeMapperList" size="mini" type="text"
style="color:#ff4949" icon="el-icon-delete" @click="delDict(scope.row)">删除
</el-button>
</div>
</template>
</el-table-column>
</template>
...
...
Please
register
or
login
to post a comment