|
@@ -224,6 +224,8 @@ export default {
|
|
|
reportContentsList3: [],
|
|
reportContentsList3: [],
|
|
|
temporaryShow: '',
|
|
temporaryShow: '',
|
|
|
YFQuota: false, //应用服务
|
|
YFQuota: false, //应用服务
|
|
|
|
|
+ GZdata: false,
|
|
|
|
|
+ homePageIndicatorList: null,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -259,6 +261,16 @@ export default {
|
|
|
loading1.clear();
|
|
loading1.clear();
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
this.YFQuota = res.data.postType == 'YF' ? true : false;
|
|
this.YFQuota = res.data.postType == 'YF' ? true : false;
|
|
|
|
|
+ this.JZQuota = false;
|
|
|
|
|
+ if (res.data.postType == 'JZ') {
|
|
|
|
|
+ this.JZQuota = true;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (res.data.postType == 'GZ') {
|
|
|
|
|
+ this.GZdata = true;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.GZdata = false;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.homePageIndicatorList = res.data.homePageIndicatorList;
|
|
|
var dayTime = res.data.date;
|
|
var dayTime = res.data.date;
|
|
|
this.timeList = this.parseTimeParagraph(
|
|
this.timeList = this.parseTimeParagraph(
|
|
|
dayTime.slice(0, 4) + '-' + dayTime.slice(4, 6) + '-' + dayTime.slice(6, 8),
|
|
dayTime.slice(0, 4) + '-' + dayTime.slice(4, 6) + '-' + dayTime.slice(6, 8),
|
|
@@ -570,6 +582,7 @@ export default {
|
|
|
localStorage.setItem('powerGrade', res.data.positionId);
|
|
localStorage.setItem('powerGrade', res.data.positionId);
|
|
|
localStorage.setItem('userDeptLevel', res.data.userDeptLevel);
|
|
localStorage.setItem('userDeptLevel', res.data.userDeptLevel);
|
|
|
this.type = res.data.userType;
|
|
this.type = res.data.userType;
|
|
|
|
|
+ this.homePageIndicatorList = res.data.homePageIndicatorList;
|
|
|
var dayTime = res.data.date;
|
|
var dayTime = res.data.date;
|
|
|
this.YFQuota = res.data.postType == 'YF' ? true : false;
|
|
this.YFQuota = res.data.postType == 'YF' ? true : false;
|
|
|
this.timeList = this.parseTimeParagraph(
|
|
this.timeList = this.parseTimeParagraph(
|