From 87963bf9c813d010ce1039d3f7da923f55d23757 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Mon, 22 Jul 2019 20:37:21 +0300 Subject: [PATCH] Initiated Organization Chart --- src/AppMenu.vue | 1 + .../organizationchart/OrganizationChart.d.ts | 0 .../organizationchart/OrganizationChart.vue | 74 +++++++ .../OrganizationChartNode.vue | 83 ++++++++ src/main.js | 2 + src/router.js | 5 + .../OrganizationChartDemo.vue | 128 ++++++++++++ .../OrganizationChartDoc.vue | 194 ++++++++++++++++++ 8 files changed, 487 insertions(+) create mode 100644 src/components/organizationchart/OrganizationChart.d.ts create mode 100644 src/components/organizationchart/OrganizationChart.vue create mode 100644 src/components/organizationchart/OrganizationChartNode.vue create mode 100644 src/views/organizationchart/OrganizationChartDemo.vue create mode 100644 src/views/organizationchart/OrganizationChartDoc.vue diff --git a/src/AppMenu.vue b/src/AppMenu.vue index cf39e3006..bec339394 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -59,6 +59,7 @@ ● DataView ● FullCalendar ● OrderList + ● Org Chart ● Paginator ● PickList diff --git a/src/components/organizationchart/OrganizationChart.d.ts b/src/components/organizationchart/OrganizationChart.d.ts new file mode 100644 index 000000000..e69de29bb diff --git a/src/components/organizationchart/OrganizationChart.vue b/src/components/organizationchart/OrganizationChart.vue new file mode 100644 index 000000000..5a9b75877 --- /dev/null +++ b/src/components/organizationchart/OrganizationChart.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/src/components/organizationchart/OrganizationChartNode.vue b/src/components/organizationchart/OrganizationChartNode.vue new file mode 100644 index 000000000..4861a5611 --- /dev/null +++ b/src/components/organizationchart/OrganizationChartNode.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/main.js b/src/main.js index b10b77705..7930727f6 100644 --- a/src/main.js +++ b/src/main.js @@ -29,6 +29,7 @@ import Menu from './components/menu/Menu'; import Message from './components/message/Message'; import MultiSelect from './components/multiselect/MultiSelect'; import OrderList from './components/orderlist/OrderList'; +import OrganizationChart from './components/organizationchart/OrganizationChart'; import OverlayPanel from './components/overlaypanel/OverlayPanel'; import Paginator from './components/paginator/Paginator'; import Panel from './components/panel/Panel'; @@ -95,6 +96,7 @@ Vue.component('Menu', Menu); Vue.component('Message', Message); Vue.component('MultiSelect', MultiSelect); Vue.component('OrderList', OrderList); +Vue.component('OrganizationChart', OrganizationChart); Vue.component('OverlayPanel', OverlayPanel); Vue.component('Paginator', Paginator); Vue.component('Panel', Panel); diff --git a/src/router.js b/src/router.js index 85b12443c..7c5d6d3d2 100644 --- a/src/router.js +++ b/src/router.js @@ -255,6 +255,11 @@ export default new Router({ path: '/orderlist', name: 'orderlist', component: () => import('./views/orderlist/OrderListDemo.vue') + }, + { + path: '/organizationchart', + name: 'organizationchart', + component: () => import('./views/organizationchart/OrganizationChartDemo.vue') }, { path: '/overlaypanel', diff --git a/src/views/organizationchart/OrganizationChartDemo.vue b/src/views/organizationchart/OrganizationChartDemo.vue new file mode 100644 index 000000000..dfedfb371 --- /dev/null +++ b/src/views/organizationchart/OrganizationChartDemo.vue @@ -0,0 +1,128 @@ + + \ No newline at end of file diff --git a/src/views/organizationchart/OrganizationChartDoc.vue b/src/views/organizationchart/OrganizationChartDoc.vue new file mode 100644 index 000000000..14100199b --- /dev/null +++ b/src/views/organizationchart/OrganizationChartDoc.vue @@ -0,0 +1,194 @@ + \ No newline at end of file