BUG 28180
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="user-info">
|
<div class="user-info">
|
||||||
<p class="name">{{ e.name }}
|
<p class="name">{{ e.name }}
|
||||||
<span class="btn-icon" v-if="hasGridPermit && user.wxUserId == e.createUserId">
|
<span class="btn-icon" v-if="isAdmin || user.id == e.createUserId">
|
||||||
<img src="../img/edit-icon.png" alt="" @click.stop="toEdit(e,item.dictValue)">
|
<img src="../img/edit-icon.png" alt="" @click.stop="toEdit(e,item.dictValue)">
|
||||||
<img src="../img/del-icon.png" alt="" @click.stop="del(e,item.dictValue)">
|
<img src="../img/del-icon.png" alt="" @click.stop="del(e,item.dictValue)">
|
||||||
</span>
|
</span>
|
||||||
@@ -104,7 +104,10 @@ export default {
|
|||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
hasGridPermit() {
|
hasGridPermit() {
|
||||||
return this.user.girdCheckType != 0
|
return this.user.girdCheckType != 0
|
||||||
}
|
},
|
||||||
|
isAdmin() {
|
||||||
|
return this.user.girdCheckType == 1
|
||||||
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$dict.load('appSpecialTypeFive')
|
this.$dict.load('appSpecialTypeFive')
|
||||||
|
|||||||
Reference in New Issue
Block a user