From faea4c65bdfd0399c804588a5e9400de397c1b26 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 25 Jul 2022 18:02:40 +0800 Subject: [PATCH] bug --- .../AppCooperationPropaganda.vue | 26 ++++++++---- .../cooperationDetail.vue | 14 +++---- .../AppCooperationPropaganda/selectUser.vue | 6 +-- .../AppPropagandaStatistics.vue | 41 +++++++------------ 4 files changed, 39 insertions(+), 48 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue b/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue index 8ba5584f..25e984fc 100644 --- a/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue +++ b/src/project/saas/AppCooperationPropaganda/AppCooperationPropaganda.vue @@ -3,7 +3,7 @@ @@ -41,7 +41,7 @@
创建人
- + 已选择 请选择 @@ -93,7 +93,7 @@ export default { showStart: false, showEnd: false, taskTitle: '', - userId: '', + createUserId: '', userList: [], userIdList: [] } @@ -112,9 +112,9 @@ export default { params: { current: this.current, taskTitle: this.taskTitle, - createUserId: this.userId, startTime: this.start, endTime: this.end, + createUserId: this.createUserId, } }).then(res=> { if(res?.data) { @@ -124,15 +124,22 @@ export default { }, reset() { + this.start = '', + this.end = '', this.startTime = '', - this.endTime = '', + this.endTime = '' this.userIdList = [] - uni.clearStorageSync('userSelect') + // uni.clearStorageSync('userSelect') //清空会导致状态字典出问题 + this.current = 1 + this.list = [] + this.getList() }, selectConfirm() { if(this.userIdList.length) { - this.userId = this.userIdList[0].userId + this.createUserId = this.userIdList?.[0].userId + console.log(this.userIdList,'userIdList'); + console.log(this.createUserId,'createUserId'); } // let arr = this.userIdList @@ -152,6 +159,8 @@ export default { return } this.filterShow = false + this.current = 1 + this.list = [] this.getList() }, confirmStart(val) { @@ -164,10 +173,9 @@ export default { onShow() { document.title = '群发居民群' this.getList() - this.$dict.load('mstStatus').then(() => { + this.$dict.load(['mstStatus']).then(() => { this.getList() }) - }, onReachBottom() { this.current ++ diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 73c71be9..c085fb36 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -34,23 +34,19 @@
- 计划送达居民: - 计划送达居民群: + {{tabIndex==0? '计划送达居民:':'计划送达居民群:'}} {{ info.planCount || 0 }}
- 未送达居民: - 未送达居民群: + {{tabIndex==0? '未送达居民:':'未送达居民群:'}} {{ info.unExecutedCount || 0 }}
- 已送达居民: - 已送达居民群: + {{tabIndex==0? '已送达居民:':'已送达居民群:'}} {{ info.executedCount || 0 }}
- 无法送达居民: - 无法送达居民群: + {{tabIndex==0? '无法送达居民:':'无法送达居民群:'}} {{ info.cannotExecuteCount || 0 }}
@@ -242,7 +238,7 @@ export default { }, }, }, - { value: this.info.unExecutedCount }, + { value: this.info.unExecutedCount, name: "未送达数量" }, ], }, ], diff --git a/src/project/saas/AppCooperationPropaganda/selectUser.vue b/src/project/saas/AppCooperationPropaganda/selectUser.vue index c440e9b5..8d1b8d12 100644 --- a/src/project/saas/AppCooperationPropaganda/selectUser.vue +++ b/src/project/saas/AppCooperationPropaganda/selectUser.vue @@ -1,14 +1,14 @@