From 5fd22dfc3a6022544f11176c663e5d17b5adf268 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Wed, 14 Sep 2022 14:37:54 +0800
Subject: [PATCH 1/8] =?UTF-8?q?=E7=BE=A4=E5=8F=91=E5=B1=85=E6=B0=91?=
=?UTF-8?q?=E7=BE=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../addPropaganda.vue | 47 ++++++++++++++-----
.../AppCooperationPropaganda/sendScoped.vue | 17 +++----
2 files changed, 41 insertions(+), 23 deletions(-)
diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue
index 8940e5e2..1bf4f115 100644
--- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue
+++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue
@@ -9,7 +9,7 @@
审核拒绝
审核通过
@@ -88,6 +91,7 @@
+
+
\ No newline at end of file
diff --git a/src/project/huizhili/AppCooperationPropaganda/circleDetail.vue b/src/project/huizhili/AppCooperationPropaganda/circleDetail.vue
index 9023afe8..23276f64 100644
--- a/src/project/huizhili/AppCooperationPropaganda/circleDetail.vue
+++ b/src/project/huizhili/AppCooperationPropaganda/circleDetail.vue
@@ -115,7 +115,7 @@ export default {
},
toDetail() {
- uni.navigateTo({ url: `./detail?id=${this.id}` });
+ uni.navigateTo({ url: `./detail?id=${this.id}&type=${this.type}` });
},
// 提醒发送
remindSend() {
From 29dd8b59732a4da0de6c1d67b24fef68f5ff9886 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Thu, 15 Sep 2022 11:28:47 +0800
Subject: [PATCH 8/8] =?UTF-8?q?=E5=8D=8F=E5=90=8C=E5=AE=A3=E5=8F=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/apps/AppCooperationPropaganda/detail.vue | 2 -
.../AppCooperationPropaganda/massDispatch.vue | 75 ++++++++++++++++++-
2 files changed, 74 insertions(+), 3 deletions(-)
diff --git a/src/apps/AppCooperationPropaganda/detail.vue b/src/apps/AppCooperationPropaganda/detail.vue
index d3b83dd5..9d2c29f5 100644
--- a/src/apps/AppCooperationPropaganda/detail.vue
+++ b/src/apps/AppCooperationPropaganda/detail.vue
@@ -79,8 +79,6 @@
-
审核拒绝
审核通过
diff --git a/src/apps/AppCooperationPropaganda/massDispatch.vue b/src/apps/AppCooperationPropaganda/massDispatch.vue
index 54a3208e..7f712257 100644
--- a/src/apps/AppCooperationPropaganda/massDispatch.vue
+++ b/src/apps/AppCooperationPropaganda/massDispatch.vue
@@ -107,6 +107,7 @@ export default {
}
},
onLoad(o) {
+ console.log(o)
this.id = o.id
},
computed: {
@@ -141,8 +142,80 @@ export default {
this.$hideLoading()
})
},
+
+
+
+
+ // msgtype: "miniprogram", // 消息类型,必填
+ // miniprogram: {
+ // appid: "", // 小程序的appid
+ // title: "", // 小程序消息的title
+ // imgUrl : "", //小程序消息的封面图。必须带http或者https协议头
+ // page: "", //小程序消息打开后的路径,注意要以.html作为后缀,否则在微信端打开会提示找不到页面
+ // },
+ // },
+
+ // {
+ // msgtype: "file", // 消息类型,必填,从3.1.12版本开始支持
+ // file:{
+ // mediaid:"", // 文件的素材id,必填
+ // },
+ // },
+
toSend() {
- this.shareToExternalChat({})
+ // 文本
+ const text = {
+ content: this.content
+ }
+ const attachments = []
+ // 图片
+ const imgs = this.picList.map(v =>{
+ return {
+ msgtype: "image",
+ image: {
+ mediaid: v.mediaId,
+ imgUrl: v.imgPicUrl,
+ },
+ }
+ })
+ attachments.push(imgs)
+ // 视频
+ const videos = this.videoList.map(v =>{
+ return {
+ msgtype: "video",
+ video:{
+ mediaid: v.mediaId,
+ },
+ }
+ })
+ attachments.push(videos)
+ // 文件
+ const files = this.fileList.map(v => {
+ return {
+ msgtype: "file",
+ file:{
+ mediaid: v.mediaId,
+ },
+ }
+ })
+ attachments.push(files)
+
+ // 链接
+ // const links = this.webpage.map(v =>{
+ // return {
+ // msgtype: "link", // 消息类型,必填
+ // link: {
+ // title: "", // H5消息标题
+ // imgUrl: "", // H5消息封面图片URL
+ // desc: "", // H5消息摘要
+ // url: "", // H5消息页面url 必填
+ // },
+ // }
+ // })
+
+
+
+ this.shareToExternalChat({ ...text, ...data })
},
},
onShow() {