diff --git a/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue b/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue index 2c28a02e..f6c1a29f 100644 --- a/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue +++ b/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue @@ -160,6 +160,7 @@ export default { uni.removeStorageSync('circleTagsRemove') uni.removeStorageSync('startTime') uni.removeStorageSync('endTime') + uni.removeStorageSync('selectDeptUser') this.$dict.load('mstStatus').then(() => { this.getList() }) diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue index 64a9ece6..dcb07445 100644 --- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue @@ -57,10 +57,15 @@
*审批人
-
+ + 已选择{{ form.examines.length }}名人员 + 请选择 + + +
定时发送
@@ -141,7 +146,7 @@
- diff --git a/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue b/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue index 9f364b5a..edd5cd31 100644 --- a/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue +++ b/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue @@ -2,15 +2,16 @@
添加人
-
-
- 已选择{{ deptListArr.length }}个部门 +
+ + 已选择{{ deptListArr.length }}个部门 请选择 -
-
- 已选择{{ selectedUser.length }}个网格 - 请选择 -
+ + +
+
+ 已选择{{ selectedUser.length }}个网格 + 请选择
@@ -81,29 +82,14 @@ export default { }, methods: { ...mapActions(['selectEnterpriseContact']), - // 选人 + // 选网格 selectUser() { - if(this.type == "1") { // 部门 - this.getDeptUser() - } else if(this.type == "2") { // 网格 - uni.navigateTo({url: `./selectGridMember`}) - } + uni.navigateTo({url: `./selectGridMember`}) }, - - getDeptUser() { - this.selectEnterpriseContact({ - fromDepartmentId: 0, // 从最上层开始 - mode: "multi", // 多选 - type: ["department"], - selectedDepartmentIds: this.deptListArr?.map(e => e.id) // 已选部门ID列表 - }).then((res)=>{ - if(res?.departmentList) { - this.deptListArr = res.departmentList - uni.setStorageSync('deptList', this.deptListArr) - } - }).catch((err) => { - this.$u.toast(err) - }) + // 选部门 + getDeptList(e) { + this.deptListArr = e + uni.setStorageSync('deptList', this.deptListArr) }, // 选择包含、剔除的标签 0包含 1剔除 diff --git a/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue b/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue new file mode 100644 index 00000000..f79b42f4 --- /dev/null +++ b/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue @@ -0,0 +1,282 @@ + + + + +