ระบบพัฒนาในเมนูโครงการ ตอนบันทึกผลเพิ่มส่งข้อมูล IDP ลงทะเบียนประวัติ ==> API
This commit is contained in:
parent
b059e3a770
commit
efad04ba6f
2 changed files with 20 additions and 43 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue