Page Phân quyền

This commit is contained in:
Thien Pham Van
2026-01-12 14:33:22 +07:00
parent aababfa9c0
commit 618d114c25
4 changed files with 227 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<template>
<div class="mx-2">
<a class="ml-5" @click="userRights">
<SvgIcon v-bind="{ name: 'list.svg', type: 'gray', size: 20 }"></SvgIcon>
</a>
</div>
</template>
<script setup>
const { $store } = useNuxtApp();
const emit = defineEmits(["clickevent"]);
var props = defineProps({
appid: Number,
row: Object,
api: String,
setting: String,
});
function userRights() {
emit("clickevent", {
name: "dataevent",
data: {
modal: {
title: $store.lang === "en" ? "Group rights" : "Phân quyền theo nhóm",
height: "500px",
width: "500px",
component: "menu/MenuGroupRights",
vbind: { row: props.row, api: props.api, setting: props.setting },
},
},
});
}
</script>