diff --git a/src/project/saas/AppCooperationPropaganda/selectUser.vue b/src/project/saas/AppCooperationPropaganda/selectUser.vue index 67387d01..379e106b 100644 --- a/src/project/saas/AppCooperationPropaganda/selectUser.vue +++ b/src/project/saas/AppCooperationPropaganda/selectUser.vue @@ -44,12 +44,12 @@ export default { this.getCreateUserList() }, methods: { - isSelected(id) { - return this.selected.userId===id + isSelected(userId) { + return this.selected.userId===userId }, getCreateUserList() { this.userList = [] - this.$http.post(`app/appmasssendingtask/createUserlist`).then(res => { + this.$http.post(`app/appmasssendingtask/createUserlist`, {}).then(res => { if (res?.data) { // let userArr = res.data.records.map(e => ({userId: e.createUserId, isChecked: this.isSelected(e.createUserId)})) this.userList = res.data.map(e => ({userId: e, isChecked: this.isSelected(e)}))