大屏菜单

This commit is contained in:
bb_pan 2025-10-29 17:18:06 +08:00
parent 5318ed0ca9
commit f33167d78f
6 changed files with 93 additions and 5 deletions

View File

@ -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',

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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: {