|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="ABtarage">
|
|
<div class="ABtarage">
|
|
|
- <p class="updataTime" v-if="updataTime">更新时间:{{ updataTime }}</p>
|
|
|
|
|
|
|
+ <p class="updataTime">更新时间:{{ updataTime }}</p>
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="container linep" :style="{ margin: updataTime ? '10px' : '0px' }">
|
|
|
|
|
|
|
+ <div class="container linep">
|
|
|
<van-collapse v-model="activeNames">
|
|
<van-collapse v-model="activeNames">
|
|
|
<div v-for="(homePageItem, index) in homePageIndicatorList" :key="index">
|
|
<div v-for="(homePageItem, index) in homePageIndicatorList" :key="index">
|
|
|
<van-collapse-item
|
|
<van-collapse-item
|
|
@@ -139,9 +139,6 @@ export default {
|
|
|
type: [String, Number],
|
|
type: [String, Number],
|
|
|
default: '-1',
|
|
default: '-1',
|
|
|
},
|
|
},
|
|
|
- homePageIndicatorDate: {
|
|
|
|
|
- type: Array,
|
|
|
|
|
- },
|
|
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -241,11 +238,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
initData() {
|
|
initData() {
|
|
|
console.log(this.tabVal);
|
|
console.log(this.tabVal);
|
|
|
- if (!this.homePageIndicatorDate) {
|
|
|
|
|
- this.getReportInfo();
|
|
|
|
|
- } else {
|
|
|
|
|
- this.homePageIndicatorList = this.homePageIndicatorDate;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.getReportInfo();
|
|
|
this.userTodayPlanNum();
|
|
this.userTodayPlanNum();
|
|
|
},
|
|
},
|
|
|
getReportInfo() {
|
|
getReportInfo() {
|
|
@@ -317,7 +310,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
.container {
|
|
|
- /* margin: 10px; */
|
|
|
|
|
|
|
+ margin: 10px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.container .van-collapse-item {
|
|
.container .van-collapse-item {
|