ประเมินบุคคล

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-12-27 12:08:36 +07:00
parent aa23748eb2
commit e33d5eed1b
13 changed files with 757 additions and 164 deletions

View file

@ -1,5 +1,6 @@
<script setup lang="ts">
import { onMounted, ref } from "vue";
import { useRoute } from "vue-router";
import http from "@/plugins/http";
import config from "@/app.config";
import { useQuasar } from "quasar";
@ -11,6 +12,9 @@ import { useEvaluateStore } from "@/modules/06_evaluate/store";
const store = useEvaluateStore();
const mixin = useCounterMixin();
const $q = useQuasar();
const route = useRoute();
const evaluateId = ref<string>(route.params.id.toString());
const { showLoader, hideLoader, messageError } = mixin;
@ -26,12 +30,12 @@ const selectedItem = ref(1);
async function fetchDocument() {
showLoader();
props.evaluateId &&
evaluateId.value &&
(await http
.get(
config.API.loadFileDocument(
"เล่ม 2",
props.evaluateId,
evaluateId.value,
"1-เอกสารเล่ม 2"
)
)