API inbox noti
This commit is contained in:
parent
1cb3c891f6
commit
2c5fb8e93c
4 changed files with 32 additions and 48 deletions
|
|
@ -4,6 +4,9 @@ import type { QTableProps } from "quasar";
|
|||
import { useInsigniaDataStore } from "@/modules/07_insignia/store";
|
||||
import { useRouter } from "vue-router";
|
||||
import DialogInformation from "@/components/Dialogs/Information.vue";
|
||||
import { useroleUserDataStore } from "@/stores/roleUser";
|
||||
|
||||
const roleDataStore = useroleUserDataStore();
|
||||
|
||||
const router = useRouter();
|
||||
const DataStore = useInsigniaDataStore();
|
||||
|
|
@ -20,9 +23,6 @@ const props = defineProps({
|
|||
fecthInsigniaByOc: {
|
||||
type: Function,
|
||||
},
|
||||
roleUser: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
|
||||
const organization = ref<string>("1");
|
||||
|
|
@ -213,7 +213,7 @@ const closeReson = () => {
|
|||
<div class="row col-12">
|
||||
<div class="row col-12 q-col-gutter-sm">
|
||||
<q-select
|
||||
v-if="props.roleUser == 'admin'"
|
||||
v-if="roleDataStore.adminRole"
|
||||
v-model="organization"
|
||||
label="หน่วยงาน"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue