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

页面修改

parent 921cbab2
<style >
.q-page-container{
<style>
.q-page-container {
padding-top: 30px !important;
padding-bottom: 30px !important;
}
}
</style>
<template>
<q-layout view="hHh lpr fFf">
......@@ -45,21 +46,36 @@
dataList: {},
//集团编号
RB_Group_Id: 0,
//当天
ToDay: "",
};
},
created() {
var nowDay = this.formatDate2(new Date());
this.ToDay = nowDay.CYear + "-" + nowDay.CMonth + "-" + nowDay.CDay;
this.$root.$on('change-head-style', param => {
console.log(param,'param');
console.log(param, 'param');
this.changeHeadHandler(param);
})
},
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) {
var jObj = JSON.parse(window.localStorage.getItem('groupinfo'));
this.RB_Group_Id = jObj.GroupId;
this.getConfigData();
} else {
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