From e57b338560533893cd90e9ba6c437fdf07983a50 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 16 Jun 2022 17:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppMessageNotification/chooseUser.vue | 22 +++++++++++-------- .../AppMessageNotification/selectDeptUser.vue | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/project/police/AppMessageNotification/chooseUser.vue b/src/project/police/AppMessageNotification/chooseUser.vue index a1bb5b98..914363d0 100644 --- a/src/project/police/AppMessageNotification/chooseUser.vue +++ b/src/project/police/AppMessageNotification/chooseUser.vue @@ -9,16 +9,17 @@ +
+

部门/人员

+ + + 已选择 + 请选择 + + +
-
-

-

- -
{{ item.name }}
- -
-
-

{{ item.name }}

@@ -67,6 +68,9 @@ export default { } }, methods: { + toSelectDept() { + uni.navigateTo({url: `./selectDeptUser`}) + }, getTagList() { this.$http.post("/app/wxcp/wxcorptag/listAll?size=100").then(res => { if (res?.code == 0) { diff --git a/src/project/police/AppMessageNotification/selectDeptUser.vue b/src/project/police/AppMessageNotification/selectDeptUser.vue index 288cedfe..2a37efb3 100644 --- a/src/project/police/AppMessageNotification/selectDeptUser.vue +++ b/src/project/police/AppMessageNotification/selectDeptUser.vue @@ -54,7 +54,7 @@ export default { } }, onLoad() { - this.selected = this.$route.query.selected.map(id => ({id})) || [] + this.selected = this.$route.query.selected?.map(id => ({id})) || [] this.getAllDepts() }, methods: {