Commit bbe13f6f by 周志凯

fix: no day

1 parent 15ccffde
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
</template> </template>
<script> <script>
const analyasisTime = ["day", "month", "year", "custom"].map(item => ({ const analyasisTime = ["month", "year", "custom"].map(item => ({
label: item, label: item,
value: item value: item
})); }));
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
tabItem: [], tabItem: [],
asisLevel: "mall", asisLevel: "mall",
analyasisTime, analyasisTime,
ReportVal: "day", ReportVal: "month",
dayTime: "", dayTime: "",
monthTime: "", monthTime: "",
yearTime: "", yearTime: "",
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
: false; : false;
this.getFloorOpt(id); this.getFloorOpt(id);
this.asisLevel = "mall"; this.asisLevel = "mall";
this.ReportVal = "day"; this.ReportVal = "month";
let data = { let data = {
asis_level: this.asisLevel, asis_level: this.asisLevel,
asis_date: this.ReportVal, asis_date: this.ReportVal,
...@@ -393,7 +393,7 @@ export default { ...@@ -393,7 +393,7 @@ export default {
}, },
resetRefresh() { resetRefresh() {
this.asisLevel = "mall"; this.asisLevel = "mall";
this.ReportVal = "day"; this.ReportVal = "month";
this.mutiMallVal = [this.mallData[0].id]; this.mutiMallVal = [this.mallData[0].id];
this.dayTime = dateUnit.dateFormat(new Date(), 'yyyy-MM-dd'); this.dayTime = dateUnit.dateFormat(new Date(), 'yyyy-MM-dd');
this.monthTime = new Date(); // 月时间 this.monthTime = new Date(); // 月时间
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!