From f89deadcb2eae74155971c6b80ce3ae6f8143c90 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 25 Jul 2022 14:10:46 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=AE=A3=E5=8F=91=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppAnnounce/components/Detail.vue | 113 ++++++++++++++---- 1 file changed, 89 insertions(+), 24 deletions(-) diff --git a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue index 22557fcf..54987b4f 100644 --- a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue +++ b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue @@ -29,11 +29,13 @@ -
- - - - +
+
+ + + + +
@@ -41,7 +43,7 @@
按条件筛选的 - {{ info.wxGroups.length }} + {{ info.wxGroups ? info.wxGroups.length : 0 }} 个客户群 详情
@@ -51,8 +53,8 @@

{{ content }}

- - 图片附件235325346.jpg 等 + + {{ mapType(fileList[0].msgType) }}{{ fileList[0].mpTitle || fileList[0].name || fileList[0].linkTitle }} 等 {{ fileList.length }} 个附件
@@ -106,10 +108,10 @@
@@ -156,10 +158,10 @@
@@ -196,9 +198,19 @@ return { total: 0, radio1: '未执行', - search: { + search1: { current: 1, - size: 10 + size: 10, + deptartId: '', + type: 0, + sendStatus: '0' + }, + search2: { + current: 1, + size: 10, + deptartId: '', + type: 1, + sendStatus: '0' }, fileList: [], tableData: [], @@ -218,9 +230,35 @@ created () { this.getInfo(this.params.id) + this.getMemberInfo() + this.getGroupInfo() }, methods: { + getMemberInfo () { + this.instance.post(`/app/appmasssendingtask/detailStatistics`, null, { + params: { + ...this.search1, + taskId: this.params.id + } + }).then(res => { + if (res.code === 0) { + } + }) + }, + + getGroupInfo () { + this.instance.post(`/app/appmasssendingtask/detailStatistics`, null, { + params: { + ...this.search2, + taskId: this.params.id + } + }).then(res => { + if (res.code === 0) { + } + }) + }, + getInfo (id) { this.instance.post(`/app/appmasssendingtask/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { @@ -242,7 +280,29 @@ }) }, - getList () {}, + getList () { + + }, + + mapType (type) { + return { + 1: '图片', + 2: '视频', + 3: '文件', + 4: '网站', + 5: '小程序' + }[type] + }, + + mapIcon (type) { + return { + 1: 'https://cdn.cunwuyun.cn/dvcp/announce/img.png', + 2: 'https://cdn.cunwuyun.cn/dvcp/announce/video.png', + 3: 'https://cdn.cunwuyun.cn/dvcp/announce/folder.png', + 4: 'https://cdn.cunwuyun.cn/dvcp/announce/site.png', + 5: 'https://cdn.cunwuyun.cn/dvcp/announce/miniapp.png' + }[type] + }, cancel (isRefresh) { this.$emit('change', { @@ -256,10 +316,15 @@ From 5da0f4b651cc8fa780807e5400b112c5abf3ce9d Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Mon, 25 Jul 2022 16:38:02 +0800 Subject: [PATCH 4/7] bug --- .../AppAnnounce/components/Detail.vue | 72 +++++- .../Announce/AppAnnounce/components/List.vue | 217 +++++++++++------- 2 files changed, 201 insertions(+), 88 deletions(-) diff --git a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue index cc835bb8..80f11761 100644 --- a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue +++ b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue @@ -113,6 +113,13 @@ 已执行 无法执行 +
+ + 请选择 + +
选择
+
+
提醒成员发送
@@ -125,7 +132,7 @@ :current.sync="search1.current" :size.sync="search1.size" @getList="getMemberInfo"> - + + + + + + + + +
+
+ +
+ + From d896db5d4d55b645d288b8b8110d806fde7899a6 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 26 Jul 2022 09:26:49 +0800 Subject: [PATCH 7/7] =?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 --- .../Announce/AppAnnounce/components/Add.vue | 70 ++----------------- .../AppAnnounce/components/Detail.vue | 18 ++--- .../Announce/AppAnnounce/components/Phone.vue | 29 +++++++- 3 files changed, 39 insertions(+), 78 deletions(-) diff --git a/project/sass/apps/Announce/AppAnnounce/components/Add.vue b/project/sass/apps/Announce/AppAnnounce/components/Add.vue index 096af2b9..ae9a36b9 100644 --- a/project/sass/apps/Announce/AppAnnounce/components/Add.vue +++ b/project/sass/apps/Announce/AppAnnounce/components/Add.vue @@ -157,57 +157,7 @@
- - -
-
-
-
- -
-
-
-

{{ form.content }}

-
-
-
-
-
- -
-
-
- -
-
- -
-
-
-

{{ item.name }}

-

{{ item.fileSizeStr }}

-
- -
- -
-

{{ item.mpTitle }}

- -
- 小程序 - -
-
-
-
-
-
+
@@ -75,6 +86,22 @@ height: 647px; } + .close { + position: absolute; + top: 0; + right: 0; + z-index: 111; + width: 60px; + height: 60px; + cursor: pointer; + transition: all ease 0.5s; + transform: translate(100%, -50%); + + &:hover { + opacity: 0.7; + } + } + .phone-wrapper { position: absolute; left: 0;