From e8f94ff68e894989cd8988c436ef718eed05005c Mon Sep 17 00:00:00 2001 From: 13405411873 <1994398261@qq.com> Date: Tue, 15 Apr 2025 10:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E9=80=9A=E5=91=8A=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/business/notice.js | 19 +++- config.js | 4 +- pages/components/my-notice-item-tg.vue | 115 +++++++++++-------------- pages/components/my-notice-tg.vue | 72 +++++++++++++++- pages/notice/public-notice.vue | 51 ++++++++++- 5 files changed, 185 insertions(+), 76 deletions(-) diff --git a/api/business/notice.js b/api/business/notice.js index e13af4b..c0a8375 100644 --- a/api/business/notice.js +++ b/api/business/notice.js @@ -71,6 +71,14 @@ export function myNoticeList(params) { params: params }) } +// 通告主查询通告列表 +export function myPublishNoticeList(params) { + return request({ + url: '/busi/notice/myPublishNoticeList', + method: 'get', + params: params + }) +} // 发布通告 export function saveNotice(data) { @@ -81,6 +89,15 @@ export function saveNotice(data) { }) } +// 发布通告 +export function publishTakeDown(data) { + return request({ + url: '/busi/notice/publishTakeDown?noticeId=' + data.noticeId + '&publishTakeDown=' + data + .publishTakeDown, + method: 'post' + }) +} + //平台意见反馈 export function uniAddFeedBack(data) { return request({ @@ -97,4 +114,4 @@ export function feedbackList(params) { method: 'get', params: params }) -} \ No newline at end of file +} diff --git a/config.js b/config.js index b658a3c..91c41ca 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,6 @@ // 应用全局配置 module.exports = { - baseUrl: 'http://192.168.1.4:8080', + baseUrl: 'http://192.168.1.31:8099', // baseUrl: 'http://localhost:8080', // 应用信息 appInfo: { @@ -42,4 +42,4 @@ module.exports = { } ] } -} \ No newline at end of file +} diff --git a/pages/components/my-notice-item-tg.vue b/pages/components/my-notice-item-tg.vue index 8f1f572..b387dfe 100644 --- a/pages/components/my-notice-item-tg.vue +++ b/pages/components/my-notice-item-tg.vue @@ -1,84 +1,67 @@