|
@@ -1,20 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="main">
|
|
|
|
|
- <img class="bg_img" src="@/assets/image/bg.png"/>
|
|
|
|
|
- <div class="header">
|
|
|
|
|
- <p class="header_l"></p>
|
|
|
|
|
- <div class="header_c">
|
|
|
|
|
- <img class="header_l-position" :src="circularLogo"/>
|
|
|
|
|
- <p class="header_c-p">山西农业大学实验室安全管理系统</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="header_r1">
|
|
|
|
|
- <img class="header_r1_l" src="@/assets/image/index_icon3.png"/>
|
|
|
|
|
- <i class="schoolName">{{deptName?deptName:'****'}}</i>
|
|
|
|
|
- <img class="header_r1_r" src="@/assets/image/index_icon4.png" @click="openBackManageUrl()"/>
|
|
|
|
|
- </div>
|
|
|
|
|
- <p class="position-button-right-bottom-1" @click="topButtonGoPage('video')">视频监控</p>
|
|
|
|
|
- <p class="position-button-right-bottom-2" @click="topButtonGoPage('alarm')">智能预警</p>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="home-page">
|
|
|
|
|
+ <headerComponent></headerComponent>
|
|
|
<div class="left">
|
|
<div class="left">
|
|
|
<div class="left_t">
|
|
<div class="left_t">
|
|
|
<img class="left_t_l" src="@/assets/image/index_icon5.png"/>
|
|
<img class="left_t_l" src="@/assets/image/index_icon5.png"/>
|
|
@@ -77,9 +63,6 @@
|
|
|
<div class="swiper-slide">
|
|
<div class="swiper-slide">
|
|
|
<!--工作计划-->
|
|
<!--工作计划-->
|
|
|
<div class="left_t_r3" v-if="workList">
|
|
<div class="left_t_r3" v-if="workList">
|
|
|
- <!--<div class="left_t_r2_t">
|
|
|
|
|
- <i>{{planTitle}}</i>
|
|
|
|
|
- </div>-->
|
|
|
|
|
<div class="left_t_r2_m">
|
|
<div class="left_t_r2_m">
|
|
|
<i>工作内容</i>
|
|
<i>工作内容</i>
|
|
|
<i>执行单位</i>
|
|
<i>执行单位</i>
|
|
@@ -139,35 +122,26 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import {
|
|
import {
|
|
|
- getLogoInfo,
|
|
|
|
|
- indexListRelease,
|
|
|
|
|
- mySub,
|
|
|
|
|
- onlineSumByBigView,
|
|
|
|
|
- getUrlConfig,
|
|
|
|
|
- requestUrl, getTypeCount, getFiedCount
|
|
|
|
|
- } from '../../api/http'
|
|
|
|
|
- import {
|
|
|
|
|
systemNotifyList,
|
|
systemNotifyList,
|
|
|
laboratoryBigViewSelectTriggerInfo,
|
|
laboratoryBigViewSelectTriggerInfo,
|
|
|
laboratoryBigViewCollegeEventStatistics,
|
|
laboratoryBigViewCollegeEventStatistics,
|
|
|
laboratoryBigViewListCollegeApplyColumn,
|
|
laboratoryBigViewListCollegeApplyColumn,
|
|
|
examBigViewNewStatistics,
|
|
examBigViewNewStatistics,
|
|
|
- systemWarningNoticeNoMenuList
|
|
|
|
|
- } from '@/api/index'
|
|
|
|
|
- import {
|
|
|
|
|
|
|
+ systemWarningNoticeNoMenuList,
|
|
|
laboratoryClassTypeGetList
|
|
laboratoryClassTypeGetList
|
|
|
} from '@/api/index'
|
|
} from '@/api/index'
|
|
|
import Swiper from 'swiper'
|
|
import Swiper from 'swiper'
|
|
|
- import $ from 'jquery'
|
|
|
|
|
import mqtt from 'mqtt/dist/mqtt'
|
|
import mqtt from 'mqtt/dist/mqtt'
|
|
|
import { getToken, removeToken } from '@/utils/auth'
|
|
import { getToken, removeToken } from '@/utils/auth'
|
|
|
import { Encrypt, Decrypt } from '@/utils/secret'
|
|
import { Encrypt, Decrypt } from '@/utils/secret'
|
|
|
|
|
+ import headerComponent from '../headerComponent.vue'
|
|
|
import planAlarm from '@/components/planAlarm/planAlarm.vue'
|
|
import planAlarm from '@/components/planAlarm/planAlarm.vue'
|
|
|
import newSubVideoComponent from '@/components/newSubVideoComponent.vue'
|
|
import newSubVideoComponent from '@/components/newSubVideoComponent.vue'
|
|
|
import personnelAdmittanceECharts from '@/components/personnelAdmittanceECharts/personnelAdmittanceECharts.vue'
|
|
import personnelAdmittanceECharts from '@/components/personnelAdmittanceECharts/personnelAdmittanceECharts.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ headerComponent,
|
|
|
planAlarm,
|
|
planAlarm,
|
|
|
personnelAdmittanceECharts,
|
|
personnelAdmittanceECharts,
|
|
|
newSubVideoComponent
|
|
newSubVideoComponent
|
|
@@ -236,14 +210,6 @@
|
|
|
this.timerPlay()
|
|
this.timerPlay()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- //跳转视频/应急页面
|
|
|
|
|
- topButtonGoPage(type) {
|
|
|
|
|
- if (type == 'video') {
|
|
|
|
|
- this.$router.push('/videoSurveillance')
|
|
|
|
|
- } else if (type == 'alarm') {
|
|
|
|
|
- this.$router.push('/emergencyManagement')
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
// 定时器
|
|
// 定时器
|
|
|
timerPlay() {
|
|
timerPlay() {
|
|
|
let self = this
|
|
let self = this
|
|
@@ -578,11 +544,11 @@
|
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-orient: vertical;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .main {
|
|
|
|
|
|
|
+ .home-page {
|
|
|
width: 1920px;
|
|
width: 1920px;
|
|
|
height: 1080px;
|
|
height: 1080px;
|
|
|
- /* background: url("../img/index_bg.png") no-repeat;
|
|
|
|
|
- background-size: 100% 100%;*/
|
|
|
|
|
|
|
+ background-image: url("../../assets/ZDimages/yjdpbg@1x.png");
|
|
|
|
|
+ background-size: 100% 100%;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
top: 0;
|
|
top: 0;
|
|
@@ -717,8 +683,8 @@
|
|
|
width: 1180px;
|
|
width: 1180px;
|
|
|
height: 152px;
|
|
height: 152px;
|
|
|
margin-left: 136px;
|
|
margin-left: 136px;
|
|
|
- background: url("~@/assets/image/index_icon2.png") no-repeat;
|
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
|
|
|
+ /*background: url("~@/assets/image/index_icon2.png") no-repeat;*/
|
|
|
|
|
+ /*background-size: 100% 100%;*/
|
|
|
padding-top: 26px;
|
|
padding-top: 26px;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
.header_c-p{
|
|
.header_c-p{
|
|
@@ -809,17 +775,18 @@
|
|
|
.left_t_l {
|
|
.left_t_l {
|
|
|
width: 18px;
|
|
width: 18px;
|
|
|
height: 166px;
|
|
height: 166px;
|
|
|
- margin-top: 40px;
|
|
|
|
|
|
|
+ margin-top: 80px;
|
|
|
}
|
|
}
|
|
|
.left_t_l1 {
|
|
.left_t_l1 {
|
|
|
width: 4px;
|
|
width: 4px;
|
|
|
- height: 446px;
|
|
|
|
|
|
|
+ height: 400px;
|
|
|
background: #004C95;
|
|
background: #004C95;
|
|
|
margin-left: 4px;
|
|
margin-left: 4px;
|
|
|
|
|
+ margin-top:80px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.left_t_c {
|
|
.left_t_c {
|
|
|
- margin-top: 145px;
|
|
|
|
|
|
|
+ margin-top: 82px;
|
|
|
> li {
|
|
> li {
|
|
|
width: 308px;
|
|
width: 308px;
|
|
|
height: 74px;
|
|
height: 74px;
|
|
@@ -1571,7 +1538,6 @@
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/*滚动动画*/
|
|
/*滚动动画*/
|