router:配置中建四局大屏路由

This commit is contained in:
Jack 2022-08-24 11:20:52 +08:00
parent 0b78f2041d
commit 2056d597d6
25 changed files with 157 additions and 34 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -40,8 +40,8 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL = 'http://124.71.178.44:100/' // 河南
// tag: 本地
// axios.defaults.baseURL = 'http://192.168.34.174:6023/' // 老大本地
// axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1
axios.defaults.baseURL = 'http://192.168.34.216:6023/' // 邱平毅本地
axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1
// axios.defaults.baseURL = 'http://192.168.34.216:6023/' // 邱平毅本地
// axios.defaults.baseURL = 'http://192.168.34.231:6023/'; //杨思瑞本地
// axios.defaults.baseURL = 'http://47.97.202.104:6023/';
// axios.defaults.baseURL = 'http://124.71.178.44:9500/'; // 星璇

View File

@ -4,6 +4,8 @@ import VueRouter from 'vue-router'
// import homeIntro from '../views/home/homeIntro.vue' //首页-系统简介页面
import homeLayout from '../views/homeTwo/homeLayout.vue' //首页
import homeIntro from '../views/homeTwo/homeIntro.vue' //首页-系统简介页面
import zjsjLargeScreen from './largeScreen/zjsj.js'
Vue.use(VueRouter)
var routes = []
const routes2 = [
@ -1554,7 +1556,7 @@ const routes2 = [
path: 'AiAnalysis',
name: '数据看板-AI数据分析',
component: () => import('@/views/projectAdmin/dataBoard/AiAnalysis.vue')
},
}
// 湖里大屏模块路由配置
// {
// path: 'projectHuli',
@ -1668,11 +1670,11 @@ const routes2 = [
// ]
},
// 湖里金林湾大屏路由
{
path: '/project/jlw',
{
path: '/project/jlw',
name: '金陵湾',
component: resolve => require(['@/views/projectAdmin/jlw'], resolve),
children:[
component: resolve => require(['@/views/projectAdmin/jlw'], resolve),
children: [
{
path: 'home',
name: '数据看板-项目概览',
@ -1716,10 +1718,13 @@ const routes2 = [
{
path: 'zjsj',
name: '中建四局-指挥中心',
component: () => import('@/views/projectAdmin/zjsj/commandCentre/index.vue')
component: () => import('@/views/projectAdmin/zjsj/command/index.vue')
}
]
},
]
},
// 中建四局大屏
zjsjLargeScreen,
{
path: '/equipmentCenter/',

View File

@ -0,0 +1,52 @@
export default {
path: '/project/zjsj',
name: '中建四局大屏',
component: () => import('@/views/projectAdmin/zjsj'),
children: [
{
path: 'command',
name: '指挥中心',
component: () => import('@/views/projectAdmin/zjsj/command')
},
{
path: 'cim',
name: 'CIM+',
component: () => import('@/views/projectAdmin/zjsj/cim')
},
{
path: 'sourse',
name: '资源管理',
component: () => import('@/views/projectAdmin/zjsj/sourse')
},
{
path: 'progress',
name: '进度管理',
component: () => import('@/views/projectAdmin/zjsj/progress')
},
{
path: 'security',
name: '安全管理',
component: () => import('@/views/projectAdmin/zjsj/security')
},
{
path: 'quality',
name: '质量管理',
component: () => import('@/views/projectAdmin/zjsj/quality')
},
{
path: 'carbon',
name: '双碳管理',
component: () => import('@/views/projectAdmin/zjsj/carbon')
},
{
path: 'monitor',
name: '监控大屏',
component: () => import('@/views/projectAdmin/zjsj/monitor')
},
{
path: 'govComp',
name: '政企联合',
component: () => import('@/views/projectAdmin/zjsj/govComp')
}
]
}

View File

@ -0,0 +1,9 @@
<template>
<div class="carbon">carbon</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -0,0 +1,9 @@
<template>
<div class="cim">cim</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -0,0 +1,9 @@
<template>
<div class="gov-comp">gov-comp</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -1,26 +1,21 @@
<template>
<div class="dataBoardPage">
<div class="dataBoardPage">
<div class="headerBox">
<div class="topTit">
<div class="time">
<span>{{中建科创大厦项目}}</span>
<span>{{currentTime}}</span>
<span>{{currentWeek}}</span>
<span>{{ 中建科创大厦项目 }}</span>
<span>{{ currentTime }}</span>
<span>{{ currentWeek }}</span>
<img class="wetherImg" src="../../../assets/images/projectImg/sun.png" alt />
<span>多云 32</span>
<span>{{currentDate}}</span>
<span>{{ currentDate }}</span>
</div>
<div class="title">
<h1 class="title">{{'中建四局综合监管平台'}}</h1>
<h1 class="title">{{ '中建四局综合监管平台' }}</h1>
</div>
<div>
<span>中国建筑第四工程局有限公司</span>
<img
class="backImg"
@click="toBack()"
src="../../../assets/images/projectImg/back.png"
alt
/>
<span>中国建筑第四工程局有限公司</span>
<img class="backImg" @click="toBack()" src="../../../assets/images/projectImg/back.png" alt />
</div>
</div>
<div style="height: 40px" class="menuBox">
@ -29,11 +24,13 @@
v-for="(item, index) in menuList"
:key="index"
:class="{
right: index > (menuList.length - 1) / 2,
active: $route.path == item.modulePath,
}"
right: index > (menuList.length - 1) / 2,
active: $route.path == item.modulePath
}"
@click="menuClick(item, index)"
>{{ item.moduleName }}</li>
>
{{ item.moduleName }}
</li>
</ul>
</div>
</div>
@ -44,12 +41,9 @@
</template>
<script>
export default {
}
export default {}
</script>
<style lang="less" scoped>
@import url("./style.less");
</style>
<style lang="less" scoped>
@import url('./style.less');
</style>

View File

@ -0,0 +1,9 @@
<template>
<div class="monitor">monitor</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -0,0 +1,9 @@
<template>
<div class="progress">progress</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -0,0 +1,9 @@
<template>
<div class="quality">quality</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -0,0 +1,9 @@
<template>
<div class="security">security</div>
</template>
<script>
export default {}
</script>
<style></style>

View File

@ -0,0 +1,9 @@
<template>
<div class="sourse">sourse</div>
</template>
<script>
export default {}
</script>
<style></style>