ปรับ format code + comment + เช็ค paging เมนูพัฒนาบุคลากร

This commit is contained in:
STW_TTTY\stwtt 2024-05-21 13:10:02 +07:00
parent c2a1648d70
commit fb2b9b4c30
8 changed files with 35 additions and 40 deletions

View file

@ -42,13 +42,11 @@ const pagination = ref({
const $q = useQuasar();
const mixin = useCounterMixin();
const {
dialogConfirm,
messageError,
dialogMessageNotify,
showLoader,
hideLoader,
} = mixin;
const store = useDevelopmentDataStore();
const modal = defineModel<boolean>("modal", { required: true });
@ -56,9 +54,6 @@ const selected = ref<any[]>([]);
const search = ref<string>("citizenId");
const inputSearch = ref<any>("");
const inputType = computed(() => {
return search.value === "citizenId" ? "number" : "text";
});
const govOp = ref<DataOption[]>([
{
id: "citizenId",
@ -78,6 +73,7 @@ const visibleColumns = ref<string[]>([
"level",
"positionSide",
]);
const columns = ref<QTableProps["columns"]>([
{
name: "citizenId",

View file

@ -23,7 +23,6 @@ const year = ref<string>("");
const $q = useQuasar();
const mixin = useCounterMixin();
const {
dialogConfirm,
messageError,
dialogMessageNotify,
showLoader,
@ -66,10 +65,6 @@ const projectOp = ref<DataOption[]>([
id: "year",
name: "ปีงบประมาณ",
},
// {
// id: "ID3",
// name: "",
// },
]);
const visibleColumns = ref<string[]>(["project", "year", "organizingTraining"]);