【修改】按钮权限

This commit is contained in:
zhoulingpo
2023-04-28 18:09:24 +08:00
parent 4d1a4ed002
commit 3832e62516
@@ -15,7 +15,7 @@
<div class="action-bar">
<div class="btn">
<el-button type="primary" class="inner-btn" @click="showDialog"
v-if="tabsName !=='AlreadyProcess'">
v-if="tabsName !=='AlreadyProcess' && isAdmin">
调整处理人
</el-button>
<!-- <div v-if="tabsName=='AlreadyProcess'" class="alreadbtn">-->
@@ -116,7 +116,8 @@ export default {
checkList: [],
tabsName:'',
prcNum:'',
prcId:''
prcId:'',
isAdmin: false
}
},
methods: {
@@ -285,6 +286,7 @@ export default {
},
props: {},
mounted () {
this.isAdmin = this.$store.getters.userInfo.roleIdList.indexOf('35LLRCAQ8D') > -1
this.tabsName=this.$store.getters.handleProcess.tabsName
this.prcType=this.$store.getters.handleProcess.prcType
this.prcNum=this.$store.getters.handleProcess.prcNum