From 27b4e9dd4cd7ee1e2d006ea89e04516c1e0cb3a2 Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Mon, 17 Jul 2023 14:02:44 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=AD=E0=B8=B1=E0=B8=9E=E0=B9=80=E0=B8=94?= =?UTF-8?q?=E0=B8=97=20type=20//=E0=B9=80=E0=B8=A1=E0=B8=99=E0=B8=B9?= =?UTF-8?q?=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7=E0=B9=88=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/request/main/main.ts | 24 ++ .../07_insignia/interface/request/Main.ts | 10 +- .../views/1_Proposals/addProposals.vue | 4 + .../views/1_Proposals/listProposals.vue | 5 +- src/modules/08_registryEmployee/index/Main.ts | 1 + .../08_registryEmployee/request/Main.ts | 13 + .../08_registryEmployee/response/Main.ts | 1 + .../08_registryEmployee/views/Main.vue | 402 ++++++++---------- 8 files changed, 221 insertions(+), 239 deletions(-) create mode 100644 src/modules/08_registryEmployee/index/Main.ts create mode 100644 src/modules/08_registryEmployee/request/Main.ts create mode 100644 src/modules/08_registryEmployee/response/Main.ts diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index fc19715ec..e8f8f5d66 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -228,6 +228,30 @@ const menuList = readonly([ path: "insigniaProposals", role: "insignia", }, + { + key: 8.2, + label: "จัดทำรายชื่อข้าราชการสามัญ" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaNameList", + role: "insignia", + }, + { + key: 8.3, + label: "อนุมัติรายชื่อข้าราชการสามัญ" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaNameApprove", + role: "insignia", + }, + { + key: 8.4, + label: "บันทึกผลการได้รับพระราช..." /* รายชื่อผู้สอบผ่าน */, + path: "insigniaRecord", + role: "insignia", + }, + { + key: 8.5, + label: "รายงาน" /* รายชื่อผู้สอบผ่าน */, + path: "insigniaReport", + role: "insignia", + }, ], }, { diff --git a/src/modules/07_insignia/interface/request/Main.ts b/src/modules/07_insignia/interface/request/Main.ts index e4ea7770c..2c598c6d4 100644 --- a/src/modules/07_insignia/interface/request/Main.ts +++ b/src/modules/07_insignia/interface/request/Main.ts @@ -1 +1,9 @@ -export type {}; +interface FormProprsalsRound { + id: number; + name: string; + year: number; + startDate: number; + endDate: number; + status: string; +} +export type { FormProprsalsRound }; diff --git a/src/modules/07_insignia/views/1_Proposals/addProposals.vue b/src/modules/07_insignia/views/1_Proposals/addProposals.vue index 1e63df651..63ee7bb6a 100644 --- a/src/modules/07_insignia/views/1_Proposals/addProposals.vue +++ b/src/modules/07_insignia/views/1_Proposals/addProposals.vue @@ -167,5 +167,9 @@ const $q = useQuasar(); const dateStart = ref(new Date()); const dateEnd = ref(new Date()); +const roundInsig = ref(""); +const year = ref(""); +const datelast = ref(""); + const routeName = router.currentRoute.value.name; diff --git a/src/modules/07_insignia/views/1_Proposals/listProposals.vue b/src/modules/07_insignia/views/1_Proposals/listProposals.vue index ebda6400a..48d761c5d 100644 --- a/src/modules/07_insignia/views/1_Proposals/listProposals.vue +++ b/src/modules/07_insignia/views/1_Proposals/listProposals.vue @@ -116,7 +116,7 @@ size="12px" flat round - color="indigo" + color="light-blue-8" @click.stop.prevent="clickProposals(props.row.id)" icon="mdi-file-download" > @@ -161,6 +161,7 @@ import { ref, useAttrs } from "vue"; import type { QTableProps } from "quasar"; import router from "@/router"; import { useQuasar } from "quasar"; +import type { FormProprsalsRound } from " @/modules/07_insignia/interface/request/Main.ts"; const $q = useQuasar(); //ใช้ noti quasar const modal = ref(false); @@ -229,7 +230,7 @@ const columns = ref([ ]); // ข้อมูลตาราง (จำลอง) -const rows = ref([ +const rows = ref([ { round: "รอบการเสนอขอพระราชทานเครื่องราชฯ", year: "2566", diff --git a/src/modules/08_registryEmployee/index/Main.ts b/src/modules/08_registryEmployee/index/Main.ts new file mode 100644 index 000000000..e4ea7770c --- /dev/null +++ b/src/modules/08_registryEmployee/index/Main.ts @@ -0,0 +1 @@ +export type {}; diff --git a/src/modules/08_registryEmployee/request/Main.ts b/src/modules/08_registryEmployee/request/Main.ts new file mode 100644 index 000000000..eecf581d1 --- /dev/null +++ b/src/modules/08_registryEmployee/request/Main.ts @@ -0,0 +1,13 @@ +interface FormRegistryEmployee { + no: string; + name: string; + positionNum: string; + position: string; + path: string; + type: string; + level: string; + affiliation: string; + yearly: number; + pay: string; +} +export type { FormRegistryEmployee }; diff --git a/src/modules/08_registryEmployee/response/Main.ts b/src/modules/08_registryEmployee/response/Main.ts new file mode 100644 index 000000000..e4ea7770c --- /dev/null +++ b/src/modules/08_registryEmployee/response/Main.ts @@ -0,0 +1 @@ +export type {}; diff --git a/src/modules/08_registryEmployee/views/Main.vue b/src/modules/08_registryEmployee/views/Main.vue index 24c94dede..485ed54d1 100644 --- a/src/modules/08_registryEmployee/views/Main.vue +++ b/src/modules/08_registryEmployee/views/Main.vue @@ -2,157 +2,173 @@
รายชื่อลูกจ้างชั่วคราว
- -
- - เพิ่มข้อมูล - - -
- - - - - - -
-
-
- +
+ + เพิ่มข้อมูล + + +
+ + -