From b9f1bee17be016363031acee63dc41a1d2070a08 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 15 Jul 2022 13:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=BE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPropagandaStatistics.vue | 37 +++++----- .../groupSendResident.vue | 74 ++++++++++++++----- 2 files changed, 77 insertions(+), 34 deletions(-) diff --git a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue index bdd9df2a..9ab6cc7d 100644 --- a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue +++ b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue @@ -247,6 +247,8 @@ export default { departId: "", startTime: "", endTime: "", + start: "", + end: "", showStart: false, showEnd: false, resX: [], @@ -281,7 +283,8 @@ export default { checkTime(index) { if (index == 3) { this.timeSelect = index; - this.customShow = true; + this.customShow = true; + this.showStart = false; this.showEnd = false; } else { @@ -300,18 +303,18 @@ 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.start = this.startTime; + this.end = this.endTime; + this.getBrokenDate(); + } else { + this.timeType = this.timeSelect; + this.getBrokenDate(); + } + this.filterShow = false; + }, confirmStart(val) { this.startTime = val.year + '-' + val.month + '-' + val.day @@ -321,8 +324,8 @@ export default { }, handleTime() { - this.startTime = this.start; - this.endTime = this.end; + this.start = this.startTime + this.end = this.endTime this.customShow = false; }, @@ -352,8 +355,8 @@ export default { .post(`/app/appmasssendingtask/statisticsEffect`, null, { params: { type: this.timeSelect, - startTime: this.startTime, - endTime: this.endTime, + startTime: this.start, + endTime: this.end, // departId: this.departId }, }) diff --git a/src/project/saas/AppPropagandaStatistics/groupSendResident.vue b/src/project/saas/AppPropagandaStatistics/groupSendResident.vue index 01629e5d..5fb71a47 100644 --- a/src/project/saas/AppPropagandaStatistics/groupSendResident.vue +++ b/src/project/saas/AppPropagandaStatistics/groupSendResident.vue @@ -3,22 +3,24 @@ -
+
-
{{ item.content }}
-
进行中
+
{{ item.taskTitle }}
+
{{ $dict.getLabel('mstStatus', item.status) }}
创建时间:{{ item.createTime }}
-
共需56名成员完成群发,目前已完成65%
+
共需56名成员完成群发,目前已完成{{ item.completionRate || 0 }}%
创建部门:{{ item.createUserDept }}
+