diff --git a/src/views/system/notifyManage/index.vue b/src/views/system/notifyManage/index.vue index f39d36e..756ce38 100644 --- a/src/views/system/notifyManage/index.vue +++ b/src/views/system/notifyManage/index.vue @@ -11,10 +11,10 @@ @@ -173,7 +173,8 @@ export default { getParams() { const params = { page: null, - size: null + size: null, + sort: 'createTime,desc' } params.page = this.page.page - 1 params.size = this.page.size @@ -206,7 +207,7 @@ export default { // pushArr = item.noticeDevices if (item.noticeUsers.length === this.userOptions.length - 1) { item.pushTo = '全部用户' - item.pushVal = this.sendObjOptions.map(i => { return i.value }) + item.pushVal = this.userOptions.map(i => { return i.value }) } else { item.pushVal = item.noticeUsers.map(i => { return i.userId }) item.pushTo = item.noticeUsers.map(i => { @@ -320,6 +321,7 @@ export default { if (this.isEdit) { params.id = this.selections[0].id } + console.log(params, '参数') return params }, // 发布接口