diff --git a/src/modules/02_organizationalNew/router.ts b/src/modules/02_organizationalNew/router.ts index 32b16995e..22793bd7f 100644 --- a/src/modules/02_organizationalNew/router.ts +++ b/src/modules/02_organizationalNew/router.ts @@ -1,4 +1,5 @@ const mainPage = () => import("@/modules/02_organizationalNew/views/main.vue"); +const testPage = () => import("@/modules/02_organizationalNew/views/ExampleSearchTree.vue"); export default [ { @@ -11,4 +12,15 @@ export default [ Role: "organization", }, }, + { + path: "/organization-new/test", + name: "organizationalNewTest", + component: testPage, + meta: { + Auth: true, + Key: [7], + Role: "organization", + }, + }, + ]; diff --git a/src/modules/02_organizationalNew/views/ExampleSearchTree.vue b/src/modules/02_organizationalNew/views/ExampleSearchTree.vue new file mode 100644 index 000000000..49bebd881 --- /dev/null +++ b/src/modules/02_organizationalNew/views/ExampleSearchTree.vue @@ -0,0 +1,165 @@ + + + + + + + + + + + + + {{ prop.node.orgTreeName }} + + + {{ prop.node.orgCode == null ? null : prop.node.orgCode }} + {{ + prop.node.orgTreeShortName == null + ? null + : prop.node.orgTreeShortName + }} + + + + + + + + + + + + + {{ item.label }}หน่วยงาน + + + + + + + + + orgRootId = {{ idVal }} + + {{ dataObject }} + + + + +