张雄 3 years ago
parent f4fa6b4cef
commit 406c7e898e

@ -34,7 +34,7 @@
</a-range-picker>
</div>
<div class="iH-center">
<a href="../#/index">
<a @click="goHome">
<img src="../../assets/images/Index/img_toubuyi.png" width="100%" />
</a>
</div>
@ -44,7 +44,7 @@
<span class="s2">{{ week }}</span>
<img class="m1" src="../../assets/images/Index/ic_ry.png" />
<span class="s3">{{getUser.UserName}}</span>
<a-dropdown placement="bottomRight">
<a-dropdown placement="bottomRight" v-if="this.getToken">
<a class="ant-dropdown-link">
<a-icon type="down" />
</a>
@ -107,6 +107,10 @@ export default {
}
},
methods: {
goHome() {
this.setHeaderType(1);
this.$router.push("/index");
},
handleChange(val) {
this.setCommTime({ sTimeType: val });
this.reload();

@ -36,7 +36,7 @@
</div>
<div class="iH-center">
<a href="../#/index">
<a @click="goHome">
<img src="../../assets/images/Index/img_toubuyi.png" width="100%" />
</a>
</div>
@ -121,6 +121,10 @@ export default {
}
},
methods: {
goHome() {
this.setHeaderType(1);
this.$router.push("/index");
},
//
getSelect() {
getTwoTime().then((res) => {

@ -32,7 +32,7 @@
</div>
<div class="iH-center">
<a href="../#/index">
<a @click="goHome">
<img src="../../assets/images/Index/img_toubuyi.png" width="100%" />
</a>
</div>
@ -111,6 +111,10 @@ export default {
}
},
methods: {
goHome() {
this.setHeaderType(1);
this.$router.push("/index");
},
//
getSelect() {
getCheZhuTime0528().then(res => {

@ -20,6 +20,8 @@ const getters = {
return state.user
},
getAccount(state) {
//这里写解密算法
state.account.sPwd = window.atob(state.account.sPwd);
return state.account
},
getCommTime(state) {

@ -6,6 +6,7 @@
* @Description: In User Settings Edit
* @FilePath: /data-show/src/store/mutations.js
*/
//import {encryptByDES} from "./des";
const mutations = {
setZoom: (state, log) => {
state.$zoom = log;
@ -24,6 +25,7 @@ const mutations = {
},
setAccount: (state, log) => {
state.account = log;
state.account.sPwd = window.btoa(state.account.sPwd);
let str = JSON.stringify(log);
localStorage.setItem('account', str);
},

Loading…
Cancel
Save