【修改】按钮权限
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user