flat: 权限

This commit is contained in:
Apcallover
2024-03-28 09:40:13 +08:00
parent cd4a415b87
commit 65546a6641
4 changed files with 20 additions and 9 deletions

View File

@@ -18,6 +18,7 @@
size="small"
@click.stop="distributionCodeDialog = true"
type="primary"
v-show="vaildData(permission.manage_station_inviteCode_edituser, false)"
>新增用户</el-button>
</template>
<template slot="isEnabled" slot-scope="{ row }">
@@ -156,6 +157,9 @@ export default {
created() {
this.getList() // 企业
},
computed: {
...mapGetters(["permission"]),
},
methods:{
async onLoad() {
this.getInvitationCode()