Refactoring code module 06_evaluate

This commit is contained in:
STW_TTTY\stwtt 2024-09-04 14:52:04 +07:00
parent 4253226ac3
commit d03e3b9e98
22 changed files with 192 additions and 400 deletions

View file

@ -2,21 +2,19 @@
import { ref, watch, computed } from "vue";
import { useRoute } from "vue-router";
import { useQuasar } from "quasar";
import type { QTableProps } from "quasar";
import http from "@/plugins/http";
import config from "@/app.config";
import { useCounterMixin } from "@/stores/mixin";
import HeaderDialog from "@/components/DialogHeader.vue";
import type { QTableProps } from "quasar";
import { useCounterMixin } from "@/stores/mixin";
const route = useRoute();
const $q = useQuasar();
const route = useRoute();
const mixins = useCounterMixin();
const { showLoader, hideLoader, date2Thai, messageError } = mixins;
// const evaluateId = ref<string>(route.params.id.toString());
const evaluateId = computed(() => {
const id = route.params.id ? route.params.id.toString() : "";
return id;