From f5727c361cffcef22349269687176357a9e790c2 Mon Sep 17 00:00:00 2001 From: fwb Date: Mon, 9 Sep 2024 17:36:06 +0800 Subject: [PATCH] =?UTF-8?q?'=E6=9B=B4=E6=96=B0'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/news.js | 2 ++ src/views/message/components/sendMessage.vue | 2 +- src/views/message/index.vue | 2 +- .../news/components/newsContentManage.vue | 26 ++++++++++--------- src/views/news/index.vue | 7 +++-- 5 files changed, 21 insertions(+), 18 deletions(-) diff --git a/src/api/user/news.js b/src/api/user/news.js index 634d1f3..5c8a527 100644 --- a/src/api/user/news.js +++ b/src/api/user/news.js @@ -32,10 +32,12 @@ export function queryEssay(category_id) { return request.get(`/api/cms-essay/query?category_id=${category_id}`); } //添加新闻文章 + // export function addEssay(params){ // const str = parseParams(params) // return request.post(`/api/cms-essay/add${str}`) // } + export function addEssay(params) { return request.post(`/api/cms-essay/add`, params); } diff --git a/src/views/message/components/sendMessage.vue b/src/views/message/components/sendMessage.vue index b81c36b..6ea0502 100644 --- a/src/views/message/components/sendMessage.vue +++ b/src/views/message/components/sendMessage.vue @@ -23,7 +23,7 @@

{{item.title}}

-
收件人:{{o.receiverName}}
+
收件人:{{receive.receiverName}}
阅读人数:{{item.readUserNum}}
发送时间:{{item.sendTime}}
diff --git a/src/views/message/index.vue b/src/views/message/index.vue index 35bb051..45334ba 100644 --- a/src/views/message/index.vue +++ b/src/views/message/index.vue @@ -160,7 +160,7 @@ const deleteMessage = async (id: any) => { } //一键已读 const readMessage = async (id:any) =>{ - console.log(id,userStore.data.id,'dddddd') + // console.log(id,userStore.data.id,'dddddd') await readMessagesBatch({ messageIds:id, userId:userStore.data.id diff --git a/src/views/news/components/newsContentManage.vue b/src/views/news/components/newsContentManage.vue index 012a7c6..ccc836b 100644 --- a/src/views/news/components/newsContentManage.vue +++ b/src/views/news/components/newsContentManage.vue @@ -47,7 +47,7 @@ @@ -60,7 +60,7 @@ @@ -75,9 +75,9 @@ - - - + + + @@ -88,7 +88,8 @@ - + +