diff --git a/hw-ui/src/views/system/notice/index.vue b/hw-ui/src/views/system/notice/index.vue index 78e399d..bf57c27 100644 --- a/hw-ui/src/views/system/notice/index.vue +++ b/hw-ui/src/views/system/notice/index.vue @@ -155,7 +155,7 @@ - + 0){ this.form.sysUserNoticeList = this.form.userNoticeList.map(userId => ({ userId })); } + if (this.form.noticeType == '2'){ + this.form.sysUserNoticeList = this.userList.map(user => ({ userId: user.userId })); + } this.$refs["form"].validate(valid => { if (valid) { if (this.form.noticeId != undefined) {