fixing insignia
This commit is contained in:
parent
dea45644d0
commit
cc1927a2f4
8 changed files with 64 additions and 54 deletions
|
|
@ -18,7 +18,6 @@ import type {
|
|||
optionType,
|
||||
} from "../interface/request/main/main";
|
||||
import { tabList, tabListPlacement } from "../interface/request/main/main";
|
||||
import { useroleUserDataStore } from "@/stores/roleUser";
|
||||
|
||||
import LoginLinkage from "@/components/LoginLinkage.vue";
|
||||
|
||||
|
|
@ -41,9 +40,6 @@ const {
|
|||
date2Thai,
|
||||
dialogConfirm,
|
||||
} = mixin;
|
||||
const DataStore = useroleUserDataStore();
|
||||
const { fetchroleUser } = DataStore;
|
||||
|
||||
const $q = useQuasar();
|
||||
const { tabData, loader } = storeToRefs(store);
|
||||
const { changeTab } = store;
|
||||
|
|
@ -51,34 +47,12 @@ const miniState = ref<boolean>(true);
|
|||
const drawerR = ref<boolean>(false);
|
||||
const rightActive = ref<boolean>(false);
|
||||
const resize = ref<number>(0);
|
||||
const active = ref<number>(0);
|
||||
const drawerL = ref<boolean>(false);
|
||||
const fullname = ref<string>("");
|
||||
const role = ref<string[]>([]);
|
||||
const notiTrigger = ref<boolean>(false);
|
||||
const text = ref<string>("");
|
||||
|
||||
const notiList = ref<notiType[]>([]);
|
||||
const options = ref<optionType[]>([
|
||||
{
|
||||
icon: "mdi-account-cog",
|
||||
label: "ผู้ดูแลระบบ",
|
||||
value: "op1",
|
||||
color: "primary",
|
||||
},
|
||||
{
|
||||
icon: "mdi-account-group",
|
||||
label: "เจ้าหน้าที่",
|
||||
value: "op2",
|
||||
color: "blue",
|
||||
},
|
||||
{
|
||||
icon: "mdi-account-circle",
|
||||
label: "บุคคล",
|
||||
value: "op3",
|
||||
color: "indigo",
|
||||
},
|
||||
]);
|
||||
const modalLoginLinkage = ref<boolean>(false); //เข้าสู่ระบบ Linkage Center
|
||||
|
||||
// landing page redirect
|
||||
|
|
@ -252,9 +226,6 @@ onMounted(async () => {
|
|||
isSsoToken.value = SSO_TOKEN === "y" ? true : false;
|
||||
if (user) {
|
||||
fullname.value = user.name;
|
||||
role.value = user.role;
|
||||
|
||||
await fetchroleUser(user.role);
|
||||
}
|
||||
|
||||
fetchmsgNoread();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue