Commit e5fd1ef0 authored by 张牧越's avatar 张牧越

bugfix

parent 08b7903f
File deleted
......@@ -12,6 +12,7 @@ export default {
mounted() {
if (this.$route.query.token) {
localStorage.setItem("token", this.$route.query.token);
// this.$router.push("/");
}
},
};
......
......@@ -2,8 +2,12 @@
<div :style="{ zoom: zoom }">
<div class="nav-header">
<div class="left-nav">
<span style="font-size: 14px">XXX项目后台管理系统</span>
<router-link to="/">数字工地</router-link>
<span style="font-size: 14px" @click="jumpBack"
>工程项目后台管理系统</span
>
<router-link :to="{ path: '/', query: { token: token } }" exact
>数字工地</router-link
>
<router-link to="/realname">实名制</router-link>
<router-link to="/supervisory">视频监控</router-link>
<router-link to="/earlywarning">AI预警</router-link>
......@@ -94,6 +98,14 @@ export default {
charts[i].style.zoom = 1;
}
},
jumpBack() {
window.location.href = "http://qjwl.ythplan.io/pweb/m/";
},
},
computed: {
token() {
return localStorage.getItem("token");
},
},
mounted() {
this.$nextTick(() => {
......
......@@ -169,6 +169,9 @@ export default {
},
itemGap: 12,
},
tooltip: {
trigger: "axis",
},
xAxis: {
type: "category",
data: xAxisData,
......
......@@ -422,6 +422,9 @@ export default {
left: 30,
right: 30,
},
tooltip: {
trigger: "axis",
},
xAxis: {
type: "category",
data: ["09:00", "12:00", "13:00", "16:00", "19:00", "22:00", "01:00"],
......
......@@ -328,6 +328,9 @@ export default {
left: 30,
right: 30,
},
tooltip: {
trigger: "axis",
},
xAxis: {
type: "category",
data: xAxisData,
......@@ -412,6 +415,9 @@ export default {
color: "rgba(225, 239, 255, 0.7)",
},
},
tooltip: {
trigger: "axis",
},
xAxis: {
type: "category",
data: xAxisData,
......@@ -476,6 +482,9 @@ export default {
color: "rgba(225, 239, 255, 0.7)",
},
},
tooltip: {
trigger: "axis",
},
xAxis: {
type: "category",
data: xAxisData,
......
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