From 2551827d9908acd834db422ee0d223ae13a3b00d Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 2 Sep 2022 10:59:05 +0800 Subject: [PATCH] =?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 --- .../addPropaganda.vue | 104 +++--- .../AppCooperationPropaganda/scopedSelect.vue | 4 +- .../selectGridMember.vue | 306 ++++++++++++++++++ 3 files changed, 375 insertions(+), 39 deletions(-) create mode 100644 src/project/saas/AppCooperationPropaganda/selectGridMember.vue diff --git a/src/project/saas/AppCooperationPropaganda/addPropaganda.vue b/src/project/saas/AppCooperationPropaganda/addPropaganda.vue index cc8f6d7a..f0f10268 100644 --- a/src/project/saas/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/saas/AppCooperationPropaganda/addPropaganda.vue @@ -2,7 +2,7 @@
*任务名称
- +
@@ -18,13 +18,13 @@
预览
- +
- +
@@ -32,55 +32,55 @@
宣发需要审批
- +
-
+
*审批人
- 请选择人员 -
+ 请选择人员 +
+
+
定时发送
+ +
+
+
*发送时间
+
+ 请选择 + {{ form.choiceTime }} + +
+
+ +
-
+
-
- 居民每个月最多接收来自同一企业管理员的4条群发消息,咨询电话: -
+
{{ content }}
-
+
-
+ +
-

企微协同宣发测cs试测试pptx

-

847k

+

{{ item.name }}

+

{{ item.fileSizeStr }}

- - - - - - - - - - - - - - +
- +
@@ -91,7 +91,7 @@
-
发送
+
发送
@@ -104,13 +104,32 @@ export default { data() { return { type: '', - value: '', - checked: false, - form: { - files: [] + form: { + taskTitle: '', + wxGroups: [], // 发送范围 + contents: [], // 发送内容 + enableExamine: '0', // 是否需要审批 0否 1是 + examines: [], // 审批人 + choiceTime: '', // 定时发送时间 + sendScope: '', // 0:全部居民群、1:按部门选择、2:按网格选择 + sendType: '0', // 0:立即发送、1:定时发送 }, + enableExamine: false, + isTimedTask: false, + content: '', + files: [], + showTaskTime: false, userList: [], showPopup: false, + params: { + year: true, + month: true, + day: true, + hour: true, + minute: true, + second: true, + timestamp: false, + } } }, methods: { @@ -124,7 +143,7 @@ export default { }, fileIcon(name) { - if (['.zip', '.rar'].indexOf(this.getExtension(name)) !== -1) { + if (['.zip', '.rar','.mp4'].indexOf(this.getExtension(name)) !== -1) { return 'https://cdn.cunwuyun.cn/dvcp/announce/zip.png' } @@ -153,6 +172,14 @@ export default { return name.substring(name.lastIndexOf('.')) }, + choiceTime(e) { + this.form.choiceTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second + }, + + confirm() { + + }, + getDeptUser() { this.selectEnterpriseContact({ fromDepartmentId: 0, @@ -240,11 +267,12 @@ export default { justify-content: space-between; padding: 26px 0px; box-sizing: border-box; + border-top: 2px solid #DDD; } .examine_person { - border-top: 2px solid #DDD; - padding: 26px 0 0 0; + + // padding: 26px 0 0 0; } } .color_red { diff --git a/src/project/saas/AppCooperationPropaganda/scopedSelect.vue b/src/project/saas/AppCooperationPropaganda/scopedSelect.vue index c6e7b519..d41c4a98 100644 --- a/src/project/saas/AppCooperationPropaganda/scopedSelect.vue +++ b/src/project/saas/AppCooperationPropaganda/scopedSelect.vue @@ -62,7 +62,9 @@ export default { }, methods: { // 选人 - selectUser() {}, + selectUser() { + uni.navigateTo({url: `./selectGridMember`}) + }, toTagsList(e) { uni.navigateTo({url: `./tagsList?type=${e}`}) diff --git a/src/project/saas/AppCooperationPropaganda/selectGridMember.vue b/src/project/saas/AppCooperationPropaganda/selectGridMember.vue new file mode 100644 index 00000000..b29b67b7 --- /dev/null +++ b/src/project/saas/AppCooperationPropaganda/selectGridMember.vue @@ -0,0 +1,306 @@ + + + + +