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 { reactive, onMounted } from "vue";
|
||||
import { useRoute } from "vue-router";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useEvaluateDetailStore } from "@/modules/06_evaluate/stores/evaluteDetail";
|
||||
|
||||
/** importType*/
|
||||
import type {
|
||||
|
|
@ -14,16 +17,11 @@ import type {
|
|||
/** importComponents*/
|
||||
import TableData from "@/modules/06_evaluate/components/viewstep/tableStep1.vue";
|
||||
|
||||
/** importStore*/
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useEvaluateDetailStore } from "@/modules/06_evaluate/stores/evaluteDetail";
|
||||
|
||||
/** use*/
|
||||
const mixin = useCounterMixin();
|
||||
const store = useEvaluateDetailStore();
|
||||
const $q = useQuasar();
|
||||
const route = useRoute();
|
||||
|
||||
const { showLoader, hideLoader, messageError, date2Thai } = mixin;
|
||||
const {
|
||||
columnsCertificates,
|
||||
|
|
@ -242,10 +240,6 @@ function getData() {
|
|||
}
|
||||
|
||||
onMounted(async () => {
|
||||
// route.name === "evaluate-add" && (await fetchDetail());
|
||||
// props.data && fetchCheckSpec(props.data);
|
||||
// getData();
|
||||
|
||||
const promises = [];
|
||||
|
||||
if (route.name === "evaluate-add") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue