Refactoring code module 05_placement

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-19 15:02:44 +07:00
parent 202fbf27b6
commit 4678ead38e
75 changed files with 3110 additions and 10795 deletions

View file

@ -9,7 +9,7 @@ import http from "@/plugins/http";
import config from "@/app.config";
import genReport from "@/plugins/genreport";
import type { QTableProps, QForm } from "quasar";
import type { QTableProps } from "quasar";
import type { DataProfile } from "@/modules/05_placement/interface/index/Main";
import type {
TypeFile,
@ -38,15 +38,14 @@ const roleAdmin = ref<boolean>(false); //admin
const edit = ref<boolean>(false); //
const dataProfile = ref<DataProfile>(); //
const organizationPositionOld = ref<string>("");
const positionTypeOld = ref<string>("");
const positionLevelOld = ref<string>("");
const posNo = ref<string>("");
const salary = ref<number>(0);
const organization = ref<string>("");
const date = ref<Date | null>(null);
const reason = ref<string>("");
const rows = ref<TypeFile[]>([]); //
const organizationPositionOld = ref<string>(""); ///
const positionTypeOld = ref<string>(""); //
const positionLevelOld = ref<string>(""); //
const posNo = ref<string>(""); //
const salary = ref<number>(0); //
const organization = ref<string>(""); //
const date = ref<Date | null>(null); //
const reason = ref<string>(""); //
//
const responseData = ref<ResponseDataDetail>({
profileId: "",
@ -65,6 +64,7 @@ const responseData = ref<ResponseDataDetail>({
fullname: "",
});
const rows = ref<TypeFile[]>([]); //
const columns = ref<QTableProps["columns"]>([
{
name: "no",