From 82ce14eb6cbd722e1a0c7a67ea9d4e78f67c029b Mon Sep 17 00:00:00 2001 From: x_ying <2438792676@qq.com> Date: Tue, 23 Aug 2022 14:08:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=B1=BB=E5=9E=8B=E9=80=9A=E7=9F=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/notifyManage/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 }, // 发布接口