From efcc232fec8e6a759eab93a7014de5024fb5404d Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 8 Feb 2024 15:24:11 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=B2?= =?UTF-8?q?=20=E0=B8=88=E0=B8=B3=E0=B8=A5=E0=B8=AD=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DialogSelectPerson.vue | 11 + .../components/DialogFormLeave.vue | 263 +++++++++ src/modules/04_registry/components/Leave.vue | 521 +++++++++++++----- .../04_registry/interface/request/Leave.ts | 41 +- .../04_registry/interface/response/Leave.ts | 29 +- 5 files changed, 718 insertions(+), 147 deletions(-) create mode 100644 src/modules/04_registry/components/DialogFormLeave.vue diff --git a/src/modules/02_organizationalNew/components/DialogSelectPerson.vue b/src/modules/02_organizationalNew/components/DialogSelectPerson.vue index 1755a769e..e4aa61e5d 100644 --- a/src/modules/02_organizationalNew/components/DialogSelectPerson.vue +++ b/src/modules/02_organizationalNew/components/DialogSelectPerson.vue @@ -187,6 +187,15 @@ const columnsResult = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", }, + { + name: "positionName", + align: "left", + label: "ตำแหน่งในสายงาน", + sortable: true, + field: "positionName", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + }, { name: "posLevelName", align: "left", @@ -360,6 +369,7 @@ function searchData() { citizenId: "test1", name: "test1", posTypeName: "test1", + positionName: "test1", posLevelName: "test1", }, { @@ -367,6 +377,7 @@ function searchData() { citizenId: "test2", name: "test2", posTypeName: "test2", + positionName: "test2", posLevelName: "test2", }, ]; diff --git a/src/modules/04_registry/components/DialogFormLeave.vue b/src/modules/04_registry/components/DialogFormLeave.vue new file mode 100644 index 000000000..aa8637018 --- /dev/null +++ b/src/modules/04_registry/components/DialogFormLeave.vue @@ -0,0 +1,263 @@ + + diff --git a/src/modules/04_registry/components/Leave.vue b/src/modules/04_registry/components/Leave.vue index 16400f334..04e1641b9 100644 --- a/src/modules/04_registry/components/Leave.vue +++ b/src/modules/04_registry/components/Leave.vue @@ -82,7 +82,7 @@ -
+
+
--> +
+
+ + + + + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -341,9 +430,18 @@ + +