ระบบพัฒนาในเมนูโครงการ ตอนบันทึกผลเพิ่มส่งข้อมูล IDP ลงทะเบียนประวัติ ==> API

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-01 14:48:26 +07:00
parent b059e3a770
commit efad04ba6f
2 changed files with 20 additions and 43 deletions

View file

@ -8,23 +8,14 @@ import { useCounterMixin } from "@/stores/mixin";
import type { QTableProps } from "quasar";
import type { ResRecord } from "@/modules/15_development/interface/response/Main";
/**
* usec
*/
const route = useRoute();
const $q = useQuasar();
const id = ref<string>(route.params.id.toString());
const { date2Thai } = useCounterMixin();
/**
* prosp
*/
//prosp
const isProfile = defineModel<boolean>("isProfile", { required: true });
const listPerson = defineModel<ResRecord[]>("listPerson", { required: true });
/**
* อม Table
*/
// Table
const keyword = ref<string>("");
const rows = ref<ResRecord[]>([]);
const columns = ref<QTableProps["columns"]>([
@ -231,9 +222,7 @@ function formBmaofficer(val: string) {
}
}
/**
* function เรยกขอมลโครงการ
*/
/** function เรียกข้อมูลโครงการ*/
function fetchDataProject() {
rows.value = listPerson.value.filter(
(e: ResRecord) => e.isProfile === isProfile.value