updated
This commit is contained in:
parent
eb74d42767
commit
1739f5bae3
5 changed files with 75 additions and 62 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, reactive,watch,onMounted } from "vue";
|
||||
import { ref, reactive, watch, onMounted } from "vue";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useQuasar } from "quasar";
|
||||
|
|
@ -109,7 +109,7 @@ function onSubmit() {
|
|||
http
|
||||
.post(config.API.evaluationExpertise, formData)
|
||||
.then((res) => {
|
||||
router.push(`/evaluate/detail/expertise/${res.data.result.id}`)
|
||||
router.push(`/evaluate/detail/expertise/${res.data.result.id}`);
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
@ -230,7 +230,6 @@ async function onClickDowloadFile(
|
|||
};
|
||||
await genReport(body, fileName); //สร้างไฟล์ต้นแบบ
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
@ -373,7 +372,7 @@ async function onClickDowloadFile(
|
|||
</q-card>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<!-- <div class="col-12">
|
||||
<q-card bordered>
|
||||
<div class="text-weight-medium bg-grey-1 q-py-sm q-px-md">
|
||||
ดาวน์โหลดเอกสาร
|
||||
|
|
@ -416,7 +415,7 @@ async function onClickDowloadFile(
|
|||
</q-item>
|
||||
</q-list>
|
||||
</q-card>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<q-separator />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue