From 80a947516ffb79417a86e620a14a6681d0abdbbb Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 28 Jul 2022 15:12:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=A5=BC=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cooperationDetail.vue | 42 +++++++++++++++---- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index faac0f97..1566d5c9 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -68,7 +68,7 @@
@@ -112,6 +112,11 @@ export default { currentClickTime: "", flag: true, detail: {}, + subsection: [ + { name: "未执行" }, + { name: "已执行" }, + { name: "无法执行" }, + ], }; }, computed: { @@ -122,13 +127,13 @@ export default { { name: "无法执行" }, ] }, - subsection_1() { - return [ - { name: "未送达" }, - { name: "已送达" }, - { name: "无法送达" }, - ] - }, + // subsection_1() { + // return [ + // { name: "未送达" }, + // { name: "已送达" }, + // { name: "无法送达" }, + // ] + // }, colConfigs0() { return [ { slot: "groupOwnerId", label: "成员" }, @@ -143,6 +148,25 @@ export default { ]; }, }, + // watch: { + // subsection: { + // handler: (newVal, oldVal) => { + // if(newVal == 0) { + // this.subsection = [ + // { name: "未执行" }, + // { name: "已执行" }, + // { name: "无法执行" }, + // ] + // } else { + // this.subsection = [ + // { name: "未送达" }, + // { name: "已送达" }, + // { name: "无法送达" }, + // ] + // } + // } + // } + // }, onLoad(o) { this.id = o.id; this.createTime = o.time; @@ -226,8 +250,8 @@ export default { if (res?.data) { this.info = res.data; this.tableData = res.data.executedList.records; + this.getPieEcharts(); } - this.getPieEcharts(); }); }, From 72af082d3b3905b171f7c1f10c62b026efc9c306 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 28 Jul 2022 15:16:00 +0800 Subject: [PATCH 2/3] bug --- src/project/saas/AppCooperationPropaganda/detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/detail.vue b/src/project/saas/AppCooperationPropaganda/detail.vue index 4146399f..93a73dd4 100644 --- a/src/project/saas/AppCooperationPropaganda/detail.vue +++ b/src/project/saas/AppCooperationPropaganda/detail.vue @@ -120,9 +120,9 @@ export default { this.webpage = res.data.contents.filter(v=> v.msgType == 4) this.miniapp = res.data.contents.filter(v=> v.msgType == 5) if(res.data.status==1) { // 拒绝 - this.approver = data.examines.filter(e=> e.examineUserId == user.openId) + this.approver = res.data.examines.filter(e=> e.examineUserId == user.openId) } else { // 通过 - this.approver = data.examines + this.approver = res.data.examines } } }) From 8f68ef6465901e996349d6da77c9bff068bf3b40 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 28 Jul 2022 15:18:49 +0800 Subject: [PATCH 3/3] =?UTF-8?q?content=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/saas/AppCooperationPropaganda/detail.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/detail.vue b/src/project/saas/AppCooperationPropaganda/detail.vue index 93a73dd4..bec83d54 100644 --- a/src/project/saas/AppCooperationPropaganda/detail.vue +++ b/src/project/saas/AppCooperationPropaganda/detail.vue @@ -45,7 +45,7 @@

群发内容

-
{{ content[0].content }}
+
{{ content }}
@@ -91,7 +91,7 @@ export default { return { id: "", data: {}, - content: [], + content: '', picList: [], videoList: [], fileList: [], @@ -113,7 +113,7 @@ export default { this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> { if (res?.data) { this.data = res.data - this.content = res.data.contents.filter(v=> v.msgType == 0) + this.content = res.data.contents.filter(v=> v.msgType == 0)?.[0].content this.picList = res.data.contents.filter(v=> v.msgType == 1) this.videoList = res.data.contents.filter(v=> v.msgType == 2) this.fileList = res.data.contents.filter(v=> v.msgType == 3)