remove old sys

This commit is contained in:
Warunee Tamkoo 2024-11-21 13:56:50 +07:00
parent 00db6b6619
commit 1f76194664
254 changed files with 88 additions and 98844 deletions

View file

@ -9,7 +9,6 @@ import http from "@/plugins/http";
import config from "@/app.config";
import type { QTableProps, QForm } from "quasar";
import type { InformationOps } from "@/modules/04_registry/interface/index/Main";
import type {
ResponseTitle,
DataProfile,
@ -18,9 +17,10 @@ import type {
Information,
DataOption,
DataOptioninfo,
docList,
} from "@/modules/04_registry/components/profileType";
import { defaultInformation } from "@/modules/04_registry/components/profileType";
DocList,
InformationOps,
} from "@/modules/05_placement/interface/index/ProfileType";
import { defaultInformation } from "@/modules/05_placement/interface/index/ProfileType";
import CardProfile from "@/components/CardProfile.vue";
@ -54,7 +54,7 @@ const status = ref<string>("");
const myForm = ref<QForm | null>(null);
const edit = ref<boolean>(false); //
const informaData = ref<Information>(defaultInformation); //
const rows = ref<docList[]>([]); //
const rows = ref<DocList[]>([]); //
const columns = ref<QTableProps["columns"]>([
{
name: "no",
@ -204,9 +204,9 @@ async function getData() {
.then(async (res: any) => {
const data = res.data.result;
dataProfile.value = res.data.result as unknown as DataProfile;
let list: docList[] = [];
let list: DocList[] = [];
if (data.docs.length > 0) {
data.docs.map((doc: docList) => {
data.docs.map((doc: DocList) => {
list.push({
pathName: doc.pathName ?? "",
fileName: doc.fileName ?? "",