Commit 5232448a authored by 车宾's avatar 车宾

feat(avi)车间大屏样式调整,白名单,

parent 59f497ce
...@@ -13,9 +13,9 @@ module.exports = { ...@@ -13,9 +13,9 @@ module.exports = {
// 代理后端服务器 // 代理后端服务器
proxyTable: { proxyTable: {
'/host': { '/host': {
// target: 'http://10.100.172.150:9108', //设置你调用的接口域名和端口号 别忘了加http target: 'http://10.100.172.150:9108', //设置你调用的接口域名和端口号 别忘了加http
// target: 'http://192.168.43.244:8888', // 东伟服务器地址 // target: 'http://192.168.43.244:8888', // 东伟服务器地址
target: 'http://192.168.0.126:8080', // 训浩服务器 // target: 'http://192.168.0.126:8080', // 训浩服务器
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/host': ''//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可 '^/host': ''//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
......
...@@ -19,7 +19,8 @@ const whiteList = [ ...@@ -19,7 +19,8 @@ const whiteList = [
'/led/stationFloatingCoatRobot', '/led/stationFloatingCoatRobot',
'/led/stationSurfaceVarnish', '/led/stationSurfaceVarnish',
'/led/stationSprayDryingRoom', '/led/stationSprayDryingRoom',
'/led/stationPaintingWorkShop' '/led/stationPaintingWorkShop',
'/monitor/monitorIndex'
] ]
NProgress.configure({ NProgress.configure({
......
...@@ -22,7 +22,7 @@ import deviceRunningTimeRouter from './modules/deviceRunning' ...@@ -22,7 +22,7 @@ import deviceRunningTimeRouter from './modules/deviceRunning'
// 基础数据 // 基础数据
import basicRouter from './modules/basic' import basicRouter from './modules/basic'
// AVI大屏 // AVI大屏
import monitorRouter from './modules/monitor' // import monitorRouter from './modules/monitor'
// 监控大屏 // 监控大屏
import centerControl from './modules/centerControll' import centerControl from './modules/centerControll'
// 系统管理 // 系统管理
...@@ -63,7 +63,7 @@ export const constantRouterMap = [{ ...@@ -63,7 +63,7 @@ export const constantRouterMap = [{
{ {
path: 'stationInsulatingAnticorrosive', //隔热防腐 path: 'stationInsulatingAnticorrosive', //隔热防腐
component: () => import('@/views/Led/Station/insulatingAnticorrosive'), component: () => import('@/views/Led/Station/insulatingAnticorrosive'),
name: 'stationInsulatingAnticorrosive', name: 'StationInsulatingAnticorrosive',
meta: { title: 'stationInsulatingAnticorrosive', icon: 'template' } meta: { title: 'stationInsulatingAnticorrosive', icon: 'template' }
}, },
{ {
...@@ -103,6 +103,69 @@ export const constantRouterMap = [{ ...@@ -103,6 +103,69 @@ export const constantRouterMap = [{
meta: { title: 'StationPaintingWorkShop', icon: 'template' } meta: { title: 'StationPaintingWorkShop', icon: 'template' }
} }
] ]
},
{
path: '/monitor',
component: () => import('@/views/Layout/lsd'),
redirect: '/monitor/index',
meta: { title: 'Monitor', icon: 'kanban', openNewWindow: true },
children: [
{
path: 'monitorIndex',
component: () => import('@/views/Monitor/index'),
name: 'MonitorIndex',
meta: { title: 'MonitorIndex', icon: 'kanban', mark: '/Monitor/index' }
},
{
path: 'monitorPutty',
component: () => import('@/views/Monitor/components/Putty'),
name: 'MonitorPutty',
meta: { title: 'MonitorPutty', icon: 'kanban' },
hidden: true
},
{
path: 'monitorMiddleCoat',
component: () => import('@/views/Monitor/components/MiddleCoat'),
name: 'MonitorMiddleCoat',
meta: { title: 'MonitorMiddleCoat', icon: 'kanban' },
hidden: true
},
{
path: 'monitorComplexionPaint',
component: () => import('@/views/Monitor/components/ComplexionPaint'),
name: 'MonitorComplexionPaint',
meta: { title: 'MonitorComplexionPaint', icon: 'kanban' },
hidden: true
},
{
path: 'monitorElectrophoresis',
component: () => import('@/views/Monitor/components/Electrophoresis'),
name: 'MonitorElectrophoresis',
meta: { title: 'MonitorElectrophoresis', icon: 'kanban' },
hidden: true
},
{
path: 'monitorFinishedCar',
component: () => import('@/views/Monitor/components/FinishedCar'),
name: 'MonitorFinishedCar',
meta: { title: 'MonitorFinishedCar', icon: 'kanban' },
hidden: true
},
{
path: 'monitorSealedAnticorrosion',
component: () => import('@/views/Monitor/components/SealedAnticorrosion'),
name: 'MonitorSealedAnticorrosion',
meta: { title: 'MonitorSealedAnticorrosion', icon: 'kanban' },
hidden: true
},
{
path: 'monitorSheetMetalCar',
component: () => import('@/views/Monitor/components/SheetMetalCar'),
name: 'MonitorSheetMetalCar',
mate: { title: 'MonitorSheetMetalCar', icon: 'kanban' },
hidden: true
}
]
}] }]
// 业务级路由(后期可能在界面中动态配置) // 业务级路由(后期可能在界面中动态配置)
...@@ -112,7 +175,7 @@ export const asyncRouterMap = [ ...@@ -112,7 +175,7 @@ export const asyncRouterMap = [
laboratoryRouter, laboratoryRouter,
deviceRunningTimeRouter, deviceRunningTimeRouter,
basicRouter, basicRouter,
monitorRouter, // monitorRouter,
centerControl, centerControl,
systemRouter, systemRouter,
{ {
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
import MachineWarning from './components/MachineWarning' import MachineWarning from './components/MachineWarning'
export default { export default {
name: 'CenterControl',
components: { components: {
MachineUtilizationRate, MachineUtilizationRate,
MachineFailureRate, MachineFailureRate,
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper' import { swiper, swiperSlide } from 'vue-awesome-swiper'
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationApplyArtificial',
components: { components: {
swiper, swiper,
swiperSlide swiperSlide
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper' import { swiper, swiperSlide } from 'vue-awesome-swiper'
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationElectrophoresis',
components: { components: {
swiper, swiper,
swiperSlide swiperSlide
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper' import { swiper, swiperSlide } from 'vue-awesome-swiper'
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationFloatingCoatRobot',
components: { components: {
swiper, swiper,
swiperSlide swiperSlide
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper' import { swiper, swiperSlide } from 'vue-awesome-swiper'
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationInsulatingAnticorrosive',
components: { components: {
swiper, swiper,
swiperSlide swiperSlide
......
<template> <template>
<div class="container"> <div class="container">
<div class="page-pack" :style="{transform: zoom}" style="transform-origin: 0 0"> <div class="page-pack" style="transform-origin: 0 0">
<div class="title-pack">中通客车涂装车间</div> <div class="title-pack">中通客车涂装车间</div>
<div class="table-pack"> <div class="table-pack">
<div class="tr clear-float"> <div class="tr clear-float">
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
<script> <script>
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationPaintingWorkShop',
data () { data () {
return { return {
width: 0, width: 0,
...@@ -238,7 +239,7 @@ ...@@ -238,7 +239,7 @@
}, 60000) }, 60000)
this.width = document.body.offsetWidth this.width = document.body.offsetWidth
this.height = document.body.offsetHeight this.height = document.body.offsetHeight
this.zoom = `scale(${this.width / 1710})` // this.zoom = `scale(${this.width / 1710})`
console.log(this.zoom) console.log(this.zoom)
}, 0) }, 0)
} }
...@@ -251,21 +252,21 @@ ...@@ -251,21 +252,21 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
.page-pack { .page-pack {
width: 1710px; width: 1556px;
height: 860px; height: 1037px;
background-color: #111; background-color: #111;
.borderBot { .borderBot {
border-bottom: 2px solid yellow; border-bottom: 2px solid yellow;
} }
.title-pack { .title-pack {
width: 1710px; width: 1556px;
height: 100px; height: 134px;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 100px; line-height: 134px;
font-weight: bold; font-weight: bold;
font-size: 50px; font-size: 60px;
} }
.table-pack { .table-pack {
...@@ -275,29 +276,29 @@ ...@@ -275,29 +276,29 @@
.th-l,.th-2,.th-3,.th-4 { .th-l,.th-2,.th-3,.th-4 {
width: 30%; width: 30%;
height: 90px; height: 110.625px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
border-right: 2px solid yellow; border-right: 2px solid yellow;
float: left; float: left;
text-align: center; text-align: center;
color: yellow; color: yellow;
line-height: 90px; line-height: 110.625px;
font-weight: bold; font-weight: bold;
font-size: 40px; font-size: 48px;
} }
.th-2 {width: 20%;} .th-2 {width: 20%; font-size:60px }
.th-3 {width: 29.5%;} .th-3 {width: 29.5%;}
.th-4 {width: 20%;border-right: none} .th-4 {width: 20%;border-right: none; font-size:60px}
} }
} }
.time { .time {
width: 1710px; width: 1710px;
height: 100px; height: 110.625px;
border-top: 2px solid yellow; border-top: 2px solid yellow;
color: yellow; color: yellow;
font-weight: bold; font-weight: bold;
line-height: 100px; line-height: 110.625px;
font-size: 60px; font-size: 48px;
} }
} }
} }
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper' import { swiper, swiperSlide } from 'vue-awesome-swiper'
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationSprayDryingRoom', name: 'StationPutty',
components: { components: {
swiper, swiper,
swiperSlide swiperSlide
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper' import { swiper, swiperSlide } from 'vue-awesome-swiper'
import Moment from 'moment' import Moment from 'moment'
export default { export default {
name: 'StationSprayDryingRoom', name: 'StationSurfaceVarnish',
components: { components: {
swiper, swiper,
swiperSlide swiperSlide
......
...@@ -552,6 +552,7 @@ ...@@ -552,6 +552,7 @@
*/ */
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorComplexionPaint',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -448,6 +448,7 @@ ...@@ -448,6 +448,7 @@
<script> <script>
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorElectrophoresis',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -149,6 +149,7 @@ ...@@ -149,6 +149,7 @@
<script> <script>
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorFinishedCar',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -198,6 +198,7 @@ ...@@ -198,6 +198,7 @@
*/ */
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorMiddleCoat',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -221,6 +221,7 @@ ...@@ -221,6 +221,7 @@
*/ */
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorPutty',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -306,6 +306,7 @@ ...@@ -306,6 +306,7 @@
<script> <script>
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorSealedAnticorrosion',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -299,6 +299,7 @@ ...@@ -299,6 +299,7 @@
<script> <script>
import Tooltip from './Tooltip'; import Tooltip from './Tooltip';
export default { export default {
name: 'MonitorSheetMetalCar',
components: { components: {
Tooltip Tooltip
}, },
......
...@@ -1562,6 +1562,7 @@ ...@@ -1562,6 +1562,7 @@
<script> <script>
export default { export default {
name: 'MonitorIndex',
data () { data () {
return { return {
// 筛选条件工单号 // 筛选条件工单号
...@@ -1807,20 +1808,24 @@ ...@@ -1807,20 +1808,24 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
html { html {
position: relative; position: relative;
// overflow-y: hidden;
} }
@keyframes identifier { @keyframes identifier {
0% { transform: translateY(0px);} 0% { transform: translateY(0px);}
30% { transform: translateY(-100px);} 20% { transform: translateY(-70px);}
60% { transform: translateY(-200px);} 40% { transform: translateY(-140px);}
// 75% { transform: translateY(-180px);} 60% { transform: translateY(-210px);}
100% { transform: translateY(-300px);} 80% { transform: translateY(-280px);}
// 100% { transform: translateY(-400px);} 100% { transform: translateY(-350px);}
// 100% {transform: translateY(-450px);} // 100% {transform: translateY(-450px);}
}; }
.monitor-pack { .monitor-pack {
overflow-x: hidden;
overflow-y: visible;
height: 1400px;
width: 100%; width: 100%;
background-color: #001927; background-color: #001927;
animation: identifier 10s infinite alternate; animation: identifier 10s infinite alternate;
...@@ -3708,7 +3713,7 @@ ...@@ -3708,7 +3713,7 @@
} }
.no-message { .no-message {
font-size: 12px !important; font-size: 6px !important;
font-weight: 400; font-weight: 400;
} }
...@@ -3789,6 +3794,10 @@ ...@@ -3789,6 +3794,10 @@
} }
} }
::-webkit-scrollbar {
display: none ! important;
}
// 轻客车体样式 // 轻客车体样式
.monitor-car-external { .monitor-car-external {
background: url('../../assets/images/Monitor/monitor_car_external.png') !important; background: url('../../assets/images/Monitor/monitor_car_external.png') !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment