diff --git a/src/assets/images/bigScreen/hengTong_title.png b/src/assets/images/bigScreen/hengTong_title.png new file mode 100644 index 00000000..7a37ba58 Binary files /dev/null and b/src/assets/images/bigScreen/hengTong_title.png differ diff --git a/src/assets/images/longguang/cutimage/header_bg.png b/src/assets/images/longguang/cutimage/header_bg.png new file mode 100644 index 00000000..17b2131c Binary files /dev/null and b/src/assets/images/longguang/cutimage/header_bg.png differ diff --git a/src/components/account.vue b/src/components/account.vue index 034a3283..99ac5728 100644 --- a/src/components/account.vue +++ b/src/components/account.vue @@ -12,13 +12,20 @@
-
+

{{ $store.state.userInfo.companyName }}

-

客服电话:{{$store.state.userInfo.customerServicePhone}}

+

+ 客服电话:{{ $store.state.userInfo.customerServicePhone }} +

入场码:{{$store.state.currentProDetail.placeCode}}

+ v-if=" + projectType == 'hengqin' && + $store.state.currentProDetail != null + " + > + 入场码:{{ $store.state.currentProDetail.placeCode }} +

- {{projectBackground}} + {{ projectBackground }}
- {{equipmentChina}} + {{ equipmentChina }}
-

- - {{headerConfiguration}} +

+ {{ $store.state.userInfo.menuAuthority.roleName }} +

+

+ {{ headerConfiguration }}

@@ -126,82 +142,83 @@ export default { data() { return { - projectType: "", - loginData: "", - dataCenter1: "", - projectBackground: "项目后台", - enterpriseBackground: "企业后台", - headerConfiguration: "公司管理员", //标头配置 - enterpriseFront: "企业前台", //企业前台 - equipmentChina: "设备中台", //设备中台 - dataCenter: "资料中心" //资料中心 - }; + COMPANY: COMPANY, + projectType: '', + loginData: '', + dataCenter1: '', + projectBackground: '项目后台', + enterpriseBackground: '企业后台', + headerConfiguration: '公司管理员', //标头配置 + enterpriseFront: '企业前台', //企业前台 + equipmentChina: '设备中台', //设备中台 + dataCenter: '资料中心' //资料中心 + } }, created() { - this.projectType = PROJECT_TYPE; + this.projectType = PROJECT_TYPE }, mounted() { - this.seeEquipment = this.$store.state.userInfo.seeEquipment; - this.loginData = JSON.parse(localStorage.getItem("systemInfo")); - console.log(" this.loginData", this.loginData); - if (this.loginData.headerConfiguration != "") { - this.headerConfiguration = this.loginData.headerConfiguration; + this.seeEquipment = this.$store.state.userInfo.seeEquipment + this.loginData = JSON.parse(localStorage.getItem('systemInfo')) + console.log(' this.loginData===================', this.loginData) + if (this.loginData.headerConfiguration != '') { + this.headerConfiguration = this.loginData.headerConfiguration } - if (this.loginData.projectBackground != "") { - this.projectBackground = this.loginData.projectBackground; + if (this.loginData.projectBackground != '') { + this.projectBackground = this.loginData.projectBackground } - if (this.loginData.enterpriseBackground != "") { - this.enterpriseBackground = this.loginData.enterpriseBackground; + if (this.loginData.enterpriseBackground != '') { + this.enterpriseBackground = this.loginData.enterpriseBackground } - if (this.loginData.equipmentChina != "") { - this.equipmentChina = this.loginData.equipmentChina; + if (this.loginData.equipmentChina != '') { + this.equipmentChina = this.loginData.equipmentChina } - if (this.loginData.dataCenter != "") { - this.dataCenter1 = this.loginData.dataCenter; + if (this.loginData.dataCenter != '') { + this.dataCenter1 = this.loginData.dataCenter } // console.log('项目后台',this.projectBackground) // console.log('企业后台',this.enterpriseBackground) }, methods: { sendMsg2() { - this.$EventBus.$emit("controlVideoShowOrHide", "show"); + this.$EventBus.$emit('controlVideoShowOrHide', 'show') }, sendMsg() { - this.$EventBus.$emit("controlVideoShowOrHide", "hide"); + this.$EventBus.$emit('controlVideoShowOrHide', 'hide') }, goto2() { - let menuList = []; - var half = this.$store.state.userInfo.menuAuthority.moduleList; - half.forEach(element => { + let menuList = [] + var half = this.$store.state.userInfo.menuAuthority.moduleList + half.forEach((element) => { if (element.moduleType == 3) { - menuList.push(element); + menuList.push(element) } - }); + }) if (menuList.length > 0) { - this.$store.commit("setIsShowBackIndex", false); + this.$store.commit('setIsShowBackIndex', false) // let routeUrl = this.$router.resolve({ // path: menuList[0].modulePath, // }); - var url = window.location.href; - let routeUrl = ""; + var url = window.location.href + let routeUrl = '' // 判断当前页面是不是设备中台 - if (url.indexOf("equipmentCenter.html") != -1) { - window.open("/#" + menuList[0].modulePath, "_self"); + if (url.indexOf('equipmentCenter.html') != -1) { + window.open('/#' + menuList[0].modulePath, '_self') // 南昌项目打开的是/index.html#/ 的页面 - if (COMPANY == "nanchang") { - window.open("/index.html#" + menuList[0].modulePath, "_self"); + if (COMPANY == 'nanchang') { + window.open('/index.html#' + menuList[0].modulePath, '_self') } else { - window.open("/#" + menuList[0].modulePath, "_self"); + window.open('/#' + menuList[0].modulePath, '_self') } } else { routeUrl = this.$router.resolve({ path: menuList[0].modulePath - }); + }) } - window.open(routeUrl.href, "_self"); - window._paq.push(["trackEvent", "点击", "企业后台", "进入企业后台"]); + window.open(routeUrl.href, '_self') + window._paq.push(['trackEvent', '点击', '企业后台', '进入企业后台']) } else { - this.$message.warning("您没有企业后台的权限!"); + this.$message.warning('您没有企业后台的权限!') } }, goto3() { @@ -209,108 +226,108 @@ export default { // let routeUrl = this.$router.resolve({ // path: "/fileCenter", // }); - var url = window.location.href; - let routeUrl = ""; + var url = window.location.href + let routeUrl = '' // 判断当前页面是不是设备中台 - if (url.indexOf("equipmentCenter.html") != -1) { + if (url.indexOf('equipmentCenter.html') != -1) { // 南昌项目打开的是/index.html#/ 的页面 - if (COMPANY == "nanchang") { - window.open("/index.html#/fileCenter", "_self"); + if (COMPANY == 'nanchang') { + window.open('/index.html#/fileCenter', '_self') } else { - window.open("/#/fileCenter", "_self"); + window.open('/#/fileCenter', '_self') } } else { routeUrl = this.$router.resolve({ - path: "/fileCenter" - }); + path: '/fileCenter' + }) } - window.open(routeUrl.href, "_self"); - window._paq.push(["trackEvent", "点击", "资料中心", "进入资料中心"]); + window.open(routeUrl.href, '_self') + window._paq.push(['trackEvent', '点击', '资料中心', '进入资料中心']) }, goto4() { - window.open("/equipmentCenter.html#/equipmentCenterIndx", "_blank"); + window.open('/equipmentCenter.html#/equipmentCenterIndx', '_blank') }, goto5() { - window.open("/index.html#/firm/projectManage", "_self"); + window.open('/index.html#/firm/projectManage', '_self') }, loginOut() { - this.$store.commit("setUserInfo", null); - this.$store.commit("setMapBackArr", []); - this.$store.commit("setMoudle", null); - this.$store.commit("setProDetail", null); - window.localStorage.removeItem("isIframe"); - window.localStorage.removeItem("soundList"); + this.$store.commit('setUserInfo', null) + this.$store.commit('setMapBackArr', []) + this.$store.commit('setMoudle', null) + this.$store.commit('setProDetail', null) + window.localStorage.removeItem('isIframe') + window.localStorage.removeItem('soundList') let json = { - name: "工作站", + name: '工作站', id: 1, - url: "/projectV2/taskList", + url: '/projectV2/taskList', menuList: [ { id: 100000, - menuName: "任务清单", - path: "/projectV2/taskList" + menuName: '任务清单', + path: '/projectV2/taskList' }, { id: 100001, - menuName: "通知公告", - path: "/projectV2/noticeList" + menuName: '通知公告', + path: '/projectV2/noticeList' }, { id: 100002, - menuName: "工作日程", - path: "/projectV2/workerSchedule" + menuName: '工作日程', + path: '/projectV2/workerSchedule' } ] - }; - this.$store.commit("setCurModule", json); + } + this.$store.commit('setCurModule', json) // sessionStorage.clear(); // this.$router.push('/login') - if (COMPANY == "nanchang" || COMPANY == "") { - window.open("/index.html#/login", "_self"); + if (COMPANY == 'nanchang' || COMPANY == '') { + window.open('/index.html#/login', '_self') } else { - window.open("/#/login", "_self"); + window.open('/#/login', '_self') } // this.$router.push('/') - window._paq.push(["trackEvent", "点击", "退出登录", "退出登录"]); + window._paq.push(['trackEvent', '点击', '退出登录', '退出登录']) }, //去项目后台 goProjectBackstage() { - var url = window.location.href; - let routeUrl = ""; - let type = this.$store.state.userInfo.accountType; + var url = window.location.href + let routeUrl = '' + let type = this.$store.state.userInfo.accountType // 判断当前页面是不是设备中台 - if (url.indexOf("equipmentCenter.html") != -1) { + if (url.indexOf('equipmentCenter.html') != -1) { // 南昌项目打开的是/index.html#/ 的页面 - if (COMPANY == "nanchang") { - window.open("/index.html#/projectList", "_self"); + if (COMPANY == 'nanchang') { + window.open('/index.html#/projectList', '_self') } else { - window.open("/#/projectList", "_self"); + window.open('/#/projectList', '_self') } } if (type == 5 || type == 6) { - window.open("/index.html#/projectIndex", "_self"); + window.open('/index.html#/projectIndex', '_self') } else { routeUrl = this.$router.resolve({ - path: "/projectList" - }); + path: '/projectList' + }) } - window.open(routeUrl.href, "_self"); - window._paq.push(["trackEvent", "点击", "项目后台", "进入项目后台"]); + window.open(routeUrl.href, '_self') + window._paq.push(['trackEvent', '点击', '项目后台', '进入项目后台']) }, //去设备中台 goDevcenter(value) { - let routeUrl = ""; - let type = this.$store.state.userInfo.accountType; + let routeUrl = '' + let type = this.$store.state.userInfo.accountType // this.$store.commit("setProjectSn", value.projectSn); if (type == 5 || type == 6) { - window.open("/equipmentCenter.html#/equipmentCenterIndx", "_self"); - window._paq.push(["trackEvent", "点击", "设备中台", "进入设备中台"]); + window.open('/equipmentCenter.html#/equipmentCenterIndx', '_self') + window._paq.push(['trackEvent', '点击', '设备中台', '进入设备中台']) } else { routeUrl = this.$router.resolve({ - path: "/projectList" - }); - window.open(routeUrl.href, "_self"); + path: '/projectList' + }) + window.open(routeUrl.href, '_self') } } // 去设备中台 @@ -335,7 +352,7 @@ export default { // window._paq.push(['trackEvent', '点击', '设备中台','进入设备中台' ]) // } } -}; +} \ No newline at end of file diff --git a/src/views/companyAdmin/longguang2/index.vue b/src/views/companyAdmin/longguang2/index.vue index 86a06094..2434d6dd 100644 --- a/src/views/companyAdmin/longguang2/index.vue +++ b/src/views/companyAdmin/longguang2/index.vue @@ -5,7 +5,8 @@ -->
-
+
+
@@ -850,6 +851,7 @@ import bigImgVue from './components/childrenComponents/bigImg.vue' export default { data() { return { + COMPANY: COMPANY, sn: '', videoSn: '', video: false, @@ -5885,5 +5887,16 @@ export default { left: 0; z-index: 100; } + .header3 { + width: 100%; + height: 70px; + background: url('../../../assets/images/longguang/cutimage/header_bg.png') + no-repeat; + background-size: auto; + position: absolute; + top: 0; + left: 0; + z-index: 100; + } } diff --git a/src/views/home/login_v1.vue b/src/views/home/login_v1.vue index 5114eab1..25fb103f 100644 --- a/src/views/home/login_v1.vue +++ b/src/views/home/login_v1.vue @@ -52,7 +52,9 @@ />
- 欢迎进入智建宝欢迎进入智建宝云平台
@@ -875,9 +877,9 @@ export default { height: 300px; /* background-color: palevioletred; */ position: absolute; - right: 45%; + right: 42%; /* font-weight: bold; */ - font-size: 65px; + font-size: 3.6vw; color: #fff; top: 40%; }