From 05bb18f8f9022841b305cdb70ce7de478b0ad241 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 20 Jul 2022 11:30:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPropagandaStatistics.vue | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue index 024d56f3..9655a610 100644 --- a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue +++ b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue @@ -139,23 +139,14 @@
宣发部门
- - +
+
+ +
+
请选择部门
+ + +
@@ -228,7 +219,7 @@ export default { timeSelect: 0, start: "", end: "", - department: '', + departmentId: '', departList: [], nowMonth: "", nowDate: "", @@ -288,6 +279,7 @@ export default { this.start = ""; this.end = ""; this.departId = ""; + this.departmentId = ""; }, selectConfirm() { @@ -298,6 +290,7 @@ export default { } else { this.detailType = this.timeSelect; } + this.departId = this.departmentId this.getBrokenDate(); this.filterShow = false; }, @@ -350,7 +343,7 @@ export default { type: this.timeSelect, startTime: this.start, endTime: this.end, - // departId: this.departId + departId: this.departId }, }) .then((res) => { @@ -633,7 +626,7 @@ export default { }).then((res)=>{ console.log(res,111); if(res?.departmentList) { - this.department = res.departmentList[0].id + this.departmentId = res.departmentList[0].id } } ).catch((err) => { @@ -844,6 +837,10 @@ export default { background: #1365dd; color: #fff; } + .dept { + display: flex; + justify-content: space-between + } } .popBtn { display: flex;