【修改】按钮权限

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="action-bar">
<div class="btn"> <div class="btn">
<el-button type="primary" class="inner-btn" @click="showDialog" <el-button type="primary" class="inner-btn" @click="showDialog"
v-if="tabsName !=='AlreadyProcess'"> v-if="tabsName !=='AlreadyProcess' && isAdmin">
调整处理人 调整处理人
</el-button> </el-button>
<!-- <div v-if="tabsName=='AlreadyProcess'" class="alreadbtn">--> <!-- <div v-if="tabsName=='AlreadyProcess'" class="alreadbtn">-->
@@ -116,7 +116,8 @@ export default {
checkList: [], checkList: [],
tabsName:'', tabsName:'',
prcNum:'', prcNum:'',
prcId:'' prcId:'',
isAdmin: false
} }
}, },
methods: { methods: {
@@ -285,6 +286,7 @@ export default {
}, },
props: {}, props: {},
mounted () { mounted () {
this.isAdmin = this.$store.getters.userInfo.roleIdList.indexOf('35LLRCAQ8D') > -1
this.tabsName=this.$store.getters.handleProcess.tabsName this.tabsName=this.$store.getters.handleProcess.tabsName
this.prcType=this.$store.getters.handleProcess.prcType this.prcType=this.$store.getters.handleProcess.prcType
this.prcNum=this.$store.getters.handleProcess.prcNum this.prcNum=this.$store.getters.handleProcess.prcNum