UI แบบสํารวจความคิดเห็นการทดลองปฏิบัติหน้าที่ราชการ

This commit is contained in:
setthawutttty 2024-10-31 14:52:06 +07:00
parent da958b9956
commit 149831f897
7 changed files with 341 additions and 3 deletions

View file

@ -9,11 +9,15 @@ import CustomComponent from "@/components/CustomDialog.vue";
import avatar from "@/assets/avatar_user.jpg";
import { tokenParsed, logout } from "@/plugins/auth";
import { useDataStore } from '@/stores/data'
const route = useRoute();
const router = useRouter();
const $q = useQuasar();
const profileImg = ref<string>("");
const dataStore = useDataStore()
const mixin = useCounterMixin();
const {
date2Thai,
@ -46,7 +50,7 @@ async function checkUser() {
.get(config.API.profilePosition())
.then(async (res) => {
const data = res.data.result;
dataStore.isProbation = data.isProbation
if (data.avatarName) {
await getImg(data.profileId, data.avatarName);
} else {