Refactoring code module 10_registry

This commit is contained in:
STW_TTTY\stwtt 2024-09-10 15:10:18 +07:00
parent 59393536f7
commit 779e33d2a5
25 changed files with 605 additions and 276 deletions

View file

@ -7,18 +7,11 @@ import http from "@/plugins/http";
import config from "@/app.config";
import { useRegistryInFormationStore } from "@/modules/10_registry/store/registry";
interface ArrayFileList {
id: string;
pathName: string;
fileName: string;
}
const fileList = ref<ArrayFileList[]>([]);
import type { FileFormType } from "@/modules/10_registry/interface/index/Main";
const fileList = ref<FileFormType[]>([]);
const store = useRegistryInFormationStore();
const rows = ref<any[]>([]);
const filter = ref<string>("");
const rowsHistory = ref<any[]>([]);
const $q = useQuasar();
const mode = ref<any>($q.screen.gt.xs);
const mixin = useCounterMixin();
const { showLoader, hideLoader, messageError, date2Thai } = mixin;