ประเมินบุคคล
This commit is contained in:
parent
aa23748eb2
commit
e33d5eed1b
13 changed files with 757 additions and 164 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, onMounted } from "vue";
|
||||
import { useRoute } from "vue-router";
|
||||
import axios from "axios";
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
|
|
@ -14,14 +15,11 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
const store = useEvaluateStore();
|
||||
const $q = useQuasar();
|
||||
const mixin = useCounterMixin();
|
||||
const route = useRoute();
|
||||
|
||||
const { showLoader, hideLoader, messageError, success, date2Thai } = mixin;
|
||||
|
||||
const props = defineProps({
|
||||
evaluateId: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
const evaluateId = ref<string>(route.params.id.toString());
|
||||
|
||||
const status = ref<string>("WAIT_CHECK_DOC_V2");
|
||||
const tabMenu = ref<string>("director");
|
||||
|
|
@ -70,9 +68,9 @@ const meetingList = ref<any>();
|
|||
|
||||
async function fetchDirector() {
|
||||
showLoader();
|
||||
props.evaluateId &&
|
||||
evaluateId.value &&
|
||||
(await http
|
||||
.get(config.API.evaluationDirectorMeetring(props.evaluateId))
|
||||
.get(config.API.evaluationDirectorMeetring(evaluateId.value))
|
||||
.then((res) => {
|
||||
const directors = res.data.result.directors;
|
||||
const meetings = res.data.result.meetings;
|
||||
|
|
@ -261,7 +259,7 @@ onMounted(async () => {
|
|||
@click="
|
||||
fetchPathUpload(
|
||||
'เล่ม 2',
|
||||
props.evaluateId,
|
||||
evaluateId,
|
||||
'2-เอกสารเล่ม 2 (ฉบับแก้ไข)',
|
||||
fileEvaluationEdit
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue