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(); }); }, diff --git a/src/project/saas/AppCooperationPropaganda/detail.vue b/src/project/saas/AppCooperationPropaganda/detail.vue index 4146399f..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,16 +113,16 @@ 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) 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 } } })