diff --git a/src/common/modules.js b/src/common/modules.js index 1ab93bd8..723034fa 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -26,7 +26,7 @@ export const config = { if (!!params?.action) { action = params.action delete params.action - } else if (!!params.suiteId) { + } else if (!!params?.suiteId) { action = "/app/wxcptp/portal/agentSign" } return http.post(action, null, { diff --git a/src/project/police/AppMessageNotification/chooseUser.vue b/src/project/police/AppMessageNotification/chooseUser.vue index 37bd1f39..914363d0 100644 --- a/src/project/police/AppMessageNotification/chooseUser.vue +++ b/src/project/police/AppMessageNotification/chooseUser.vue @@ -10,22 +10,15 @@
部门
-部门/人员
+人员
-{{ item.name }}
@@ -48,6 +41,7 @@ import {mapState} from 'vuex' export default { name: "chooseUser", + appName: "条件选择", data() { return { value: '', @@ -62,23 +56,27 @@ export default { }, computed: { ...mapState(['user']), - moreText() { - if (this.userList.length) return '已选择' - }, - moreTextDept() { - if (this.deptList.length) return '已选择' - }, + deptUserList: { + set(v) { + this.userList = v.filter(e => e.kind == 'user') + this.deptList = v.filter(e => e.kind == 'dept') + }, + get() { + let {userList, deptList} = this + return [userList, deptList].flat() + } + } }, methods: { + toSelectDept() { + uni.navigateTo({url: `./selectDeptUser`}) + }, getTagList() { this.$http.post("/app/wxcp/wxcorptag/listAll?size=100").then(res => { if (res?.code == 0) { res.data.records.map((item) => { item.tagList.map((items) => { - items.isCheck = false - if (this.tagIdList.includes(items.id)) { - items.isCheck = true - } + items.isCheck = this.tagIdList.includes(items.id); }) }) this.tagList = res.data.records @@ -281,5 +279,8 @@ export default { font-size: 28px !important; } + .right { + float: right; + } } diff --git a/src/project/police/AppMessageNotification/components/img/gird--select-icon.png b/src/project/police/AppMessageNotification/components/img/gird--select-icon.png new file mode 100644 index 00000000..205144d2 Binary files /dev/null and b/src/project/police/AppMessageNotification/components/img/gird--select-icon.png differ diff --git a/src/project/police/AppMessageNotification/components/img/tx@2x.png b/src/project/police/AppMessageNotification/components/img/tx@2x.png new file mode 100644 index 00000000..d9620e08 Binary files /dev/null and b/src/project/police/AppMessageNotification/components/img/tx@2x.png differ diff --git a/src/project/police/AppMessageNotification/selectDeptUser.vue b/src/project/police/AppMessageNotification/selectDeptUser.vue new file mode 100644 index 00000000..2a37efb3 --- /dev/null +++ b/src/project/police/AppMessageNotification/selectDeptUser.vue @@ -0,0 +1,281 @@ + +
+
-
-
- {{item.name}}
-{{item.applicationName}}
-
-
-
- 暂无居民信息
点击新增按钮新增居民信息,也可在管理系统批量导入