From 1a1af84b1a762b58dc7fb36ff2d5f3beb9cac57d Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 15 Jul 2022 17:07:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cooperationDetail.vue | 10 +++--- .../saas/AppCooperationPropaganda/detail.vue | 35 ++++++++++++++++--- 2 files changed, 37 insertions(+), 8 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index e1e9e27b..999144f4 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -21,7 +21,8 @@
数据更新于{{ info.remindTime }}
-
+
+
计划送达居民群: {{ info.planCount || 0 }}
未送达居民群: {{ info.unExecutedCount || 0 }}
@@ -29,7 +30,7 @@
无法送达居民群: {{ info.cannotExecuteCount || 0 }}
-
提醒成员发送
+
提醒成员发送
@@ -268,12 +269,13 @@ export default { width: 100%; align-items: center; #pieEcharts { - // flex: 1; width: 60%; height: 400px; } + ::v-deep .emptyWrap { + width: 60%; + } .pie_right { - // flex: 1; width: 40%; div { margin-bottom: 10px; diff --git a/src/project/saas/AppCooperationPropaganda/detail.vue b/src/project/saas/AppCooperationPropaganda/detail.vue index 836ba129..20fe1a57 100644 --- a/src/project/saas/AppCooperationPropaganda/detail.vue +++ b/src/project/saas/AppCooperationPropaganda/detail.vue @@ -38,7 +38,7 @@ -
+
拒绝通过
审核通过
@@ -68,9 +68,36 @@ export default { } }) }, - // 拒绝通过 - refuseBtn() {}, - // 审核通过 + // 拒绝 + refuseBtn() { + this.pass = 0 + this.$confirm('确定要审核拒绝该数据?').then(() => { + this.examine() + }) + }, + // 通过 + passBtn() { + this.pass = 1 + this.$confirm('确定审核通过该数据?').then(() => { + this.examine() + }) + }, + examine() { + this.$http.post(`/app/appmasssendingtask/examine`,null,{ + params: { + pass: this.pass, + id: this.id, + options: this.options + } + }).then(res => { + if(res?.code == 0) { + this.$u.toast('审批成功') + this.getDetail() + } + }).catch(err=> { + console.log(err); + }) + }, }, onShow() { document.title = "群发审批"