From 83859e2d1c83889c269b7a948d9d3c42537eb200 Mon Sep 17 00:00:00 2001 From: "aoli.qu" <408346101@qq.com> Date: Thu, 24 Feb 2022 18:09:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/notice/notice.js | 10 +- src/views/notice/NoticeDetail.vue | 13 +- src/views/notice/NoticeForm.vue | 6 +- src/views/notice/NoticeList.vue | 153 +++++++++++------- src/views/security/menu/MenuForm.vue | 2 +- src/views/security/menu/MenuList.vue | 6 +- src/views/security/role/RoleForm.vue | 2 +- src/views/sys/dictionary/DictionaryForm.vue | 5 +- src/views/sys/dictionary/DictionaryList.vue | 41 +++-- .../sys/dictionaryItem/DictionaryItemForm.vue | 7 +- .../sys/dictionaryItem/DictionaryItemList.vue | 41 +++-- 11 files changed, 180 insertions(+), 106 deletions(-) diff --git a/src/api/notice/notice.js b/src/api/notice/notice.js index 3fdf13c..c53d9ad 100644 --- a/src/api/notice/notice.js +++ b/src/api/notice/notice.js @@ -6,7 +6,8 @@ const noticeApi = { get: 'notice/get', page: 'notice/pageList', read: 'notice/read', - pagePerson: 'notice/pagePersonList' + pagePerson: 'notice/pagePersonList', + cancel: 'notice/cancel' } export function noticeAdd (params) { @@ -52,3 +53,10 @@ export function noticePagePerson (params) { params: params }) } +export function noticeCancel (params) { + return request({ + url: noticeApi.cancel, + method: 'post', + params: params + }) +} diff --git a/src/views/notice/NoticeDetail.vue b/src/views/notice/NoticeDetail.vue index 48a5033..86b7722 100644 --- a/src/views/notice/NoticeDetail.vue +++ b/src/views/notice/NoticeDetail.vue @@ -2,7 +2,7 @@