diff --git a/src/api/registry/api.profile.ts b/src/api/registry/api.profile.ts
index cca6712bd..df692fbe7 100644
--- a/src/api/registry/api.profile.ts
+++ b/src/api/registry/api.profile.ts
@@ -193,4 +193,7 @@ export default {
`${profile}employment/history/${employmentId}`,
searchPersonal: () => `${profile}search-personal`,
+
+ //สร้างข้อมูลราชการ
+ createProfileOfficer: () => `${profile}information/officer`,
};
diff --git a/src/components/DialogAddEmployee.vue b/src/components/DialogAddEmployee.vue
new file mode 100644
index 000000000..6f8f4b338
--- /dev/null
+++ b/src/components/DialogAddEmployee.vue
@@ -0,0 +1,623 @@
+divdivdiv
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn, 'prefixOps')"
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ year + 543 }}
+
+
+ {{ parseInt(value + 543) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn, 'genderOps'
+ )"
+ />
+
+
+ filterSelector(inputValue, doneFn, 'statusOps'
+ )"
+ />
+
+
+
+
+
+
+
+
+
+
+ filterSelector(inputValue, doneFn, 'religionOps'
+ )"
+ />
+
+
+ filterSelector(inputValue, doneFn, 'bloodOps'
+ )"
+ clearable
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/02_organizational/views/MainTree.vue b/src/modules/02_organizational/views/MainTree.vue
index 8961d6b79..1f5c7ab16 100644
--- a/src/modules/02_organizational/views/MainTree.vue
+++ b/src/modules/02_organizational/views/MainTree.vue
@@ -61,7 +61,7 @@
color="grey-6"
@click="goToUserRegistry()"
/>
- ทะเบียนประวัติ
+ ทะเบียนประวัติd
diff --git a/src/modules/02_organizationalNew/components/listView.vue b/src/modules/02_organizationalNew/components/listView.vue
index 6641e9bcb..3810e4398 100644
--- a/src/modules/02_organizationalNew/components/listView.vue
+++ b/src/modules/02_organizationalNew/components/listView.vue
@@ -27,9 +27,128 @@ async function fetchDataTree() {
lazy: true,
},
];
+
+ // const data = [
+ // {
+ // orgRootId: "00000000-0000-0000-0000-000000000000",
+ // orgLevel: 0,
+ // orgRootName: "ปลัดกรุงเทพ",
+ // orgRootShortName: "ก.น.",
+ // orgRootCode: "04",
+ // orgCode: "0400",
+ // orgRootOrder: 1,
+ // orgRootPhoneEx: "0849562355",
+ // orgRootPhoneIn: "0845124512",
+ // orgRootFax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // orgChild1: [
+ // {
+ // orgChild1Id: "00000000-0000-0000-0000-000000000000",
+ // orgLevel: 1,
+ // orgChild1Name: "ปลัดกรุงเทพ",
+ // orgChild1ShortName: "ก.น.",
+ // orgChild1Code: "01",
+ // orgCode: "0401",
+ // orgChild1Order: 1,
+ // orgRootCode: "04",
+ // orgChild1PhoneEx: "0849562355",
+ // orgChild1PhoneIn: "0845124512",
+ // orgChild1Fax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // orgChild2: [
+ // {
+ // orgChild2Id: "00000000-0000-0000-0000-000000000000",
+ // orgLevel: 2,
+ // orgChild2Name: "ปลัดกรุงเทพ",
+ // orgChild2ShortName: "ก.น.",
+ // orgChild2Code: "01",
+ // orgCode: "0401",
+ // orgChild2Order: 1,
+ // orgRootCode: "04",
+ // orgChild2PhoneEx: "0849562355",
+ // orgChild2PhoneIn: "0845124512",
+ // orgChild2Fax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // orgChild3: [
+ // {
+ // orgChild3Id: "00000000-0000-0000-0000-000000000000",
+ // orgLevel: 3,
+ // orgChild3Name: "ปลัดกรุงเทพ",
+ // orgChild3ShortName: "ก.น.",
+ // orgChild3Code: "01",
+ // orgCode: "0401",
+ // orgChild3Order: 1,
+ // orgRootCode: "04",
+ // orgChild3PhoneEx: "0849562355",
+ // orgChild3PhoneIn: "0845124512",
+ // orgChild3Fax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // lazy: true,
+ // orgChild4: [
+ // {
+ // orgChild4Id: "00000000-0000-0000-0000-000000000000",
+ // orgLevel: 4,
+ // orgChild4Name: "ปลัดกรุงเทพ",
+ // orgChild4ShortName: "ก.น.",
+ // orgChild4Code: "01",
+ // orgCode: "0401",
+ // orgChild4Order: 1,
+ // orgChild4PhoneEx: "0849562355",
+ // orgChild4PhoneIn: "0845124512",
+ // orgChild4Fax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // lazy: true,
+ // orgRootCode: "04",
+ // },
+ // ],
+ // },
+ // ],
+ // },
+ // ],
+ // },
+ // ],
+ // },
+
+ // {
+ // orgRootId: "00000000-0000-0000-0000-000000000001",
+ // orgLevel: 0,
+ // orgRootName: "ปลัดกรุงเทพ2",
+ // orgRootShortName: "ก.น.",
+ // orgRootCode: "04",
+ // orgCode: "0400",
+ // orgRootOrder: 1,
+ // orgRootPhoneEx: "0849562355",
+ // orgRootPhoneIn: "0845124512",
+ // orgRootFax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // orgChild1: [
+ // {
+ // orgChild1Id: "00000000-0000-0000-0000-000000000000",
+ // orgLevel: 1,
+ // orgChild1Name: "ปลัดกรุงเทพ2",
+ // orgChild1ShortName: "ก.น.",
+ // orgChild1Code: "01",
+ // orgCode: "0401",
+ // orgChild1Order: 1,
+ // orgRootCode: "04",
+ // orgChild1PhoneEx: "0849562355",
+ // orgChild1PhoneIn: "0845124512",
+ // orgChild1Fax: "021576452",
+ // orgRevisionId: "00000000-0000-0000-0000-000000000000",
+ // orgChild2: [],
+ // },
+ // ],
+ // },
+ // ];
+
+
+
nodeTree.value = data;
+ console.log(nodeTree.value);
}
+
+
onMounted(() => {
fetchDataTree();
});
diff --git a/src/modules/02_organizationalNew/components/mainTree.vue b/src/modules/02_organizationalNew/components/mainTree.vue
index a6e1fcdc9..576db821b 100644
--- a/src/modules/02_organizationalNew/components/mainTree.vue
+++ b/src/modules/02_organizationalNew/components/mainTree.vue
@@ -134,14 +134,7 @@ const updateSelected = (target: any) => {
};
const onLazyLoad = (details: { node: any; key: any; done: any; fail: any }) => {
- // call fail() if any error occurs
-
- // setTimeout(() => {
- // simulate loading and setting an empty node
- // if (details.key.indexOf("data empty") > -1) {
- // details.done([]);
- // return;
- // }
+ console.log(details.node.organizationName);
if (details.node.organizationId == "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx01") {
details.done([
diff --git a/src/modules/04_registry/components/TableProfile.vue b/src/modules/04_registry/components/TableProfile.vue
index 88de0b3b7..649abf799 100644
--- a/src/modules/04_registry/components/TableProfile.vue
+++ b/src/modules/04_registry/components/TableProfile.vue
@@ -20,6 +20,17 @@
+
+ เพิ่มข้อมูลทะเบียนประวัติ ข้าราชการ
+
+
+