Commit 380497e1 authored by 黄奎's avatar 黄奎

页面修改

parent 921cbab2
<style > <style>
.q-page-container{ .q-page-container {
padding-top: 30px !important; padding-top: 30px !important;
padding-bottom: 30px !important; padding-bottom: 30px !important;
} }
</style> </style>
<template> <template>
<q-layout view="hHh lpr fFf"> <q-layout view="hHh lpr fFf">
...@@ -45,21 +46,36 @@ ...@@ -45,21 +46,36 @@
dataList: {}, dataList: {},
//集团编号 //集团编号
RB_Group_Id: 0, RB_Group_Id: 0,
//当天
ToDay: "",
}; };
}, },
created() { created() {
var nowDay = this.formatDate2(new Date());
this.ToDay = nowDay.CYear + "-" + nowDay.CMonth + "-" + nowDay.CDay;
this.$root.$on('change-head-style', param => { this.$root.$on('change-head-style', param => {
console.log(param,'param'); console.log(param, 'param');
this.changeHeadHandler(param); this.changeHeadHandler(param);
}) })
}, },
mounted() { mounted() {
localStorage.clear(); //判断是不是同一天
if (localStorage.ToDay) {
if (localStorage.ToDay != this.ToDay) {
localStorage.removeItem("groupinfo");
localStorage.ToDay = this.ToDay;
}
} else {
localStorage.removeItem("groupinfo");
localStorage.ToDay = this.ToDay;
}
//删除基础配置
localStorage.removeItem("baseifo");
//获取集团数据 //获取集团数据
if (localStorage.groupinfo) { if (localStorage.groupinfo) {
var jObj = JSON.parse(window.localStorage.getItem('groupinfo')); var jObj = JSON.parse(window.localStorage.getItem('groupinfo'));
this.RB_Group_Id = jObj.GroupId; this.RB_Group_Id = jObj.GroupId;
this.getConfigData();
} else { } else {
this.getGroupData(); this.getGroupData();
//获取网站基础配置 //获取网站基础配置
......
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