大屏菜单
This commit is contained in:
parent
5318ed0ca9
commit
f33167d78f
|
|
@ -83,14 +83,26 @@ export const constantRoutes = [
|
||||||
{
|
{
|
||||||
path: '/screen/cityScreen',
|
path: '/screen/cityScreen',
|
||||||
component: () => import('@/views/screen/cityScreen/index'),
|
component: () => import('@/views/screen/cityScreen/index'),
|
||||||
|
meta: { title: '城市大屏', icon: 'dashboard', affix: true },
|
||||||
meta: { title: '城市大屏', icon: 'dashboard', affix: true }
|
hidden: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/screen/cityWidescreen',
|
||||||
|
component: () => import('@/views/screen/cityScreen-old/index'),
|
||||||
|
meta: { title: '城市大屏', icon: 'dashboard', affix: true },
|
||||||
|
hidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/screen/wsScreen',
|
path: '/screen/wsScreen',
|
||||||
component: () => import('@/views/screen/wsScreen/index'),
|
component: () => import('@/views/screen/wsScreen/index'),
|
||||||
|
meta: { title: '省级大屏', icon: 'dashboard', affix: true },
|
||||||
meta: { title: '省级大屏', icon: 'dashboard', affix: true }
|
hidden: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/screen/wsScreenWidescreen',
|
||||||
|
component: () => import('@/views/screen/wsScreenWidescreen/index'),
|
||||||
|
meta: { title: '省级大屏-宽屏', icon: 'dashboard', affix: true },
|
||||||
|
hidden: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/user',
|
path: '/user',
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<template>
|
||||||
|
<div> </div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
// 打开大屏
|
||||||
|
window.open('/screen/cityScreen', '_blank')
|
||||||
|
// 关闭当前标签页
|
||||||
|
this.$tab.closePage()
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<template>
|
||||||
|
<div> </div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
// 打开大屏
|
||||||
|
window.open('/screen/cityWidescreen', '_blank')
|
||||||
|
// 关闭当前标签页
|
||||||
|
this.$tab.closePage()
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<template>
|
||||||
|
<div> </div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
// 打开大屏
|
||||||
|
window.open('/screen/wsScreenWidescreen', '_blank')
|
||||||
|
// 关闭当前标签页
|
||||||
|
this.$tab.closePage()
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
<template>
|
||||||
|
<div> </div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
// 打开大屏
|
||||||
|
window.open('/screen/wsScreen', '_blank')
|
||||||
|
// 关闭当前标签页
|
||||||
|
this.$tab.closePage()
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
|
|
@ -40,7 +40,7 @@ module.exports = {
|
||||||
// target: `http://192.168.0.110:18080`,//洪
|
// target: `http://192.168.0.110:18080`,//洪
|
||||||
target: `http://192.168.0.41:28080`,//阮
|
target: `http://192.168.0.41:28080`,//阮
|
||||||
// target: `http://36.33.26.201:17788/proxyApi`, //测试
|
// target: `http://36.33.26.201:17788/proxyApi`, //测试
|
||||||
// target: `http://127.0.0.1:28080`, //测试
|
// target: `http://192.168.0.14:19190/prod-api`, //测试
|
||||||
// target: `http://192.168.137.1:18080`,//
|
// target: `http://192.168.137.1:18080`,//
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue