diff options
Diffstat (limited to 'usecaseui-portal/vue/src/const')
-rw-r--r-- | usecaseui-portal/vue/src/const/address.js | 14 | ||||
-rw-r--r-- | usecaseui-portal/vue/src/const/index.js | 7 | ||||
-rw-r--r-- | usecaseui-portal/vue/src/const/menu-item.js | 90 |
3 files changed, 111 insertions, 0 deletions
diff --git a/usecaseui-portal/vue/src/const/address.js b/usecaseui-portal/vue/src/const/address.js new file mode 100644 index 00000000..573e8492 --- /dev/null +++ b/usecaseui-portal/vue/src/const/address.js @@ -0,0 +1,14 @@ +// addresses of angular and vue in the development environment +const ADDRESS = { + Angular: "http://localhost:4200/", + vue: "http://localhost:8089/" +}; + +const SELF_SOURCE = "vue"; +const MAIN_SOURCE = "Angular"; + +export default { + ADDRESS, + SELF_SOURCE, + MAIN_SOURCE +}; diff --git a/usecaseui-portal/vue/src/const/index.js b/usecaseui-portal/vue/src/const/index.js new file mode 100644 index 00000000..f9e5ac8a --- /dev/null +++ b/usecaseui-portal/vue/src/const/index.js @@ -0,0 +1,7 @@ +import menu from './menu-item' +import address from './address' + +export { + menu, + address +}
\ No newline at end of file diff --git a/usecaseui-portal/vue/src/const/menu-item.js b/usecaseui-portal/vue/src/const/menu-item.js new file mode 100644 index 00000000..7ab00b21 --- /dev/null +++ b/usecaseui-portal/vue/src/const/menu-item.js @@ -0,0 +1,90 @@ +// route table + +const MENU_ITEM = [ + { + name: '0', // Angular + title: 'Home', + children: [], + path: '/home', + source: 'Angular' + }, + { + name: '1', // Angular + title: 'Customer', + children: [], + path: '/management', + source: 'Angular' + }, + { + name: '2', // Angular + title: 'Services', + children: [ + { + name: '2-0', + title: 'Lifecycle Management', + path: '/services/services-list', + source: 'Angular' + }, + { + name: '2-1', + title: 'SOTN Eline', + path: '/services/sotn-management', + source: 'Angular' + }, + { + name: '2-2', + title: '5G Sclicing Management', + path: '/services/slicing-management', + source: 'Angular' + }, + ] + }, + { + name: '3', // Angular + title: 'Package Managemeny', + children: [], + path: '/onboard-vnf-vm', + source: 'Angular' + }, + { + name: '4', // Angular + title: 'Network Topology', + children: [ + { + name: '4-0', + title: 'CCVPN network', + path: '/network/ccvpn-network', + source: 'Angular' + }, + { + name: '4-1', + title: 'MDONS Network', + path: '/network/mdons-network', + source: 'Angular' + } + ] + }, + { + name: '5', // Angular + title: 'Monitor', + children: [ + { + name: '5-0', + title: '5G Slicing', + path: '/fcaps/5gslicing', + source: 'Angular' + } + ] + }, + { + name: '6', // Vue + title: 'Test', + children: [], + path: '/test', + source: 'Vue' + } +] + +export default { + MENU_ITEM +}
\ No newline at end of file |