1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-07 18:25:45 +08:00

Add multiTab route (#948)

See: http://0.0.0.0:9527/#/test/multitab/window
/test/multitab/window
This commit is contained in:
Yamel Senih 2021-06-28 18:59:01 -04:00 committed by GitHub
parent 65d5ff19af
commit 166fc17efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30969 additions and 0 deletions

View File

@ -52,6 +52,23 @@ const testRoutes = [
]
},
{
path: '/test/multitab/window',
component: Layout,
hidden: true,
children: [
{
path: '/test/multitab/window',
component: () => import('@/views/ADempiere/Test/MultiTabWindow'),
name: 'Multi Tab Window View',
meta: {
title: 'Multi Tab Window View',
isIndex: true
}
}
]
},
{
path: '/test/process/standard',
component: Layout,

View File

@ -0,0 +1,48 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Yamel Senih ysenih@erpya.com www.erpya.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->
<template>
<component
:is="WindowView"
:uuid="uuid"
:metadata="metadata"
/>
</template>
<script>
import { defineComponent } from '@vue/composition-api'
import WindowView from '@/views/ADempiere/WindowView'
import multiTabMetadata from './multiTabWindow.json'
export default defineComponent({
name: 'TestWindowView',
setup() {
// Business Partner
const uuid = 'a520de12-fb40-11e8-a479-7a0060f0aa01'
const metadata = multiTabMetadata.result
return {
WindowView,
metadata,
uuid
}
}
})
</script>

File diff suppressed because it is too large Load Diff