Refactoring code module 06_evaluate
This commit is contained in:
parent
4253226ac3
commit
d03e3b9e98
22 changed files with 192 additions and 400 deletions
|
|
@ -2,8 +2,11 @@
|
|||
import { ref, reactive, onMounted, watch } from "vue";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { useEvaluateStore } from "@/modules/06_evaluate/store";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
/** import Type*/
|
||||
import type {
|
||||
|
|
@ -29,17 +32,12 @@ import ViewStep3 from "@/modules/06_evaluate/components/viewstep/viewStep3.vue";
|
|||
import ViewStep7 from "@/modules/06_evaluate/components/viewstep/viewStep7.vue"; //
|
||||
import PopupHistory from "@/modules/06_evaluate/components/viewstep/popupHistory.vue"; // ประวัติการประเมิน
|
||||
|
||||
/** import Store*/
|
||||
import { useEvaluateStore } from "@/modules/06_evaluate/store";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
/** use*/
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const store = useEvaluateStore();
|
||||
const mixin = useCounterMixin();
|
||||
const $q = useQuasar();
|
||||
const splitterModel = 20;
|
||||
|
||||
const {
|
||||
showLoader,
|
||||
|
|
@ -232,7 +230,6 @@ async function updateCheckSpec(data: FormSpec) {
|
|||
*/
|
||||
function updateFormDetail(data: any) {
|
||||
formDetail.value = data;
|
||||
console.log("🚀 ~ updateFormDetail ~ data:", data);
|
||||
}
|
||||
|
||||
/** function เช็คการการคุณสมบัติ*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue