Commit 0d42b2ba by chenqiang

大屏文字调整、单点登录界面、图表透视

parent 6a48036e
......@@ -334,4 +334,12 @@ export default [
title: "研判报告"
}
},
{
path: "/jump",
name: "jump",
meta: {
title: "jimp",
},
component: () => import("@/views/jump/jump.vue")
},
]
......@@ -2,11 +2,13 @@
<div id="bigScreen">
<div class="main-header">
<div style="position:absolute;right:40px;top:10px;color: #9FBCDA;
font-size: 18px;">
<span style="padding-right: 10px;">{{dateTime}}</span>
<span style="padding-right: 10px;">|</span>
<span @click="toIndex" style="cursor: pointer;font-size: 14px;"><i style="padding-right: 10px;" class="el-icon-s-home"></i>系统首页</span>
<div style="position:absolute;right:40px;top:13px;color: #9FBCDA;">
<span style="padding-right: 20px; font-family: 'DIN';font-size: 18px;">{{dateTime}}</span>
<span style="padding-right: 20px;font-size: 18px;">|</span>
<span @click="toIndex" style="cursor: pointer;font-size: 15px;">
<i style="padding-right: 10px;" class="el-icon-s-home"></i>
<span style="font-size: 16px;">系统首页</span>
</span>
</div>
</div>
......
<template>
</template>
<script>
import Http from '@/utils/axiosHttp.js'
import url from '@/api/base'
export default {
name: 'jump',
data() {
return {
xz_token: '',
ruleForm2: {
account: '',
password: ''
}
}
},
created() {
const queryParam = this.$route.query
this.self = queryParam.xz_token
},
methods: {
getData() {
const self = this
Http.get(url.BaseURL + '/flwsFj/tbstasjflwsCj/save', {
params: {
xz_token: self.xz_token
}
}).then(res => {
debugger
if (res.code == 200) {
self.ruleForm2.account = res.data.account
// self.ruleForm2.password = res.data.password
self.ruleForm2.password = '0'
self.$store.dispatch('user/login', self.ruleForm2).then((res) => {
if (res.success == true) {
sessionStorage.setItem('baseUrl', url.BaseURL)
self.$router.push({ path: '/dataV' })
} else {
self.$alert(res.msg, '提示', {
confirmButtonText: '确定',
callback: action => {
}
})
}
}).catch(() => {
})
} else {
self.$router.push('/login')
}
})
}
}
}
</script>
<style scoped>
</style>
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