From f2dd80a0187cf30b268217298ead95bca2bf4e96 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 15 Jul 2022 11:08:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E5=B1=82=E7=A0=B4=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPropagandaStatistics.vue | 57 +++++++++++-------- .../AppPropagandaStatistics/calendarInfo.vue | 1 - 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue index 9f5f28b8..bdd9df2a 100644 --- a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue +++ b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue @@ -198,26 +198,20 @@
开始时间:
-
- +
+ +
结束时间:
-
- +
+ +
+ +
确定
@@ -253,6 +247,8 @@ export default { departId: "", startTime: "", endTime: "", + showStart: false, + showEnd: false, resX: [], resY: [], res2Y: [], @@ -286,6 +282,8 @@ export default { if (index == 3) { this.timeSelect = index; this.customShow = true; + this.showStart = false; + this.showEnd = false; } else { this.timeSelect = index; } @@ -302,17 +300,24 @@ export default { this.departId = ""; }, - selectConfirm() { - if (this.timeSelect == 3) { - this.timeType = this.timeSelect; - this.startTime = this.start; - this.endTime = this.end; - this.getBrokenDate(); - } else { - this.timeType = this.timeSelect; - this.getBrokenDate(); - } - this.filterShow = false; + // selectConfirm() { + // if (this.timeSelect == 3) { + // this.timeType = this.timeSelect; + // this.startTime = this.start; + // this.endTime = this.end; + // this.getBrokenDate(); + // } else { + // this.timeType = this.timeSelect; + // this.getBrokenDate(); + // } + // this.filterShow = false; + // }, + + confirmStart(val) { + this.startTime = val.year + '-' + val.month + '-' + val.day + }, + confirmEnd(val) { + this.endTime = val.year + '-' + val.month + '-' + val.day }, handleTime() { @@ -826,6 +831,7 @@ export default { .customPop { padding: 80px 32px 20px 32px; box-sizing: border-box; + height: 600px; .startTime, .endTime { @@ -841,6 +847,7 @@ export default { text-align: center; border-radius: 16px; color: #fff; + margin-top: 164px; } } } diff --git a/src/project/saas/AppPropagandaStatistics/calendarInfo.vue b/src/project/saas/AppPropagandaStatistics/calendarInfo.vue index 00397e5a..a02149e2 100644 --- a/src/project/saas/AppPropagandaStatistics/calendarInfo.vue +++ b/src/project/saas/AppPropagandaStatistics/calendarInfo.vue @@ -80,7 +80,6 @@ export default { } } }) - console.log(this.selected); } }); },