diff --git a/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue b/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue index e25f45eb..61ba26bb 100644 --- a/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue +++ b/src/project/huizhili/AppCooperationPropaganda/AppCooperationPropagandaBeta.vue @@ -49,7 +49,7 @@
创建人
- +
已选择 请选择 @@ -197,6 +197,7 @@ export default { this.endTime = '' this.userIdList = [] this.createUserId = '' + this.status = '' uni.setStorageSync('userSelect', []) }, @@ -218,7 +219,6 @@ export default { } this.filterShow = false this.current = 1 - this.list = [] this.getList() }, confirmStart(val) { diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue index e41facd1..f063230f 100644 --- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue @@ -23,7 +23,7 @@
预览
- +
diff --git a/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue b/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue index 6eec4f91..9221ce9c 100644 --- a/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue +++ b/src/project/huizhili/AppCooperationPropaganda/scopedSelect.vue @@ -3,8 +3,6 @@
添加人
-
已选择{{ deptListArr.length }}个部门 请选择 diff --git a/src/project/huizhili/AppCooperationPropaganda/selectUser.vue b/src/project/huizhili/AppCooperationPropaganda/selectUser.vue index 8a9303b9..cc1c935a 100644 --- a/src/project/huizhili/AppCooperationPropaganda/selectUser.vue +++ b/src/project/huizhili/AppCooperationPropaganda/selectUser.vue @@ -29,6 +29,7 @@ export default { selected: {}, userList: [], current: 1, + tabIndex: null, } }, computed: { @@ -37,7 +38,8 @@ export default { return this.userList?.length > 0 } }, - onLoad() { + onLoad(o) { + this.tabIndex = o.tabIndex this.selected = uni.getStorageSync('userSelect') || [] this.getCreateUserList() }, @@ -47,7 +49,13 @@ export default { }, getCreateUserList() { this.userList = [] - this.$http.post(`/app/appmasssendingtask/createUserlist`).then(res => { + let url = '' + if(this.tabIndex == 0) { + url = `/app/appmasssendingtask/createUserlist` + } else { + url = `/app/whchatmomentstask/createUserlist` + } + this.$http.post(url).then(res => { if (res?.data) { this.userList = res.data.map(e => ({ userId: e.create_user_id,