diff --git a/src/api/system/notice/index.ts b/src/api/system/notice/index.ts index 62bf5259..cd420a29 100644 --- a/src/api/system/notice/index.ts +++ b/src/api/system/notice/index.ts @@ -11,27 +11,32 @@ export interface NoticeVO { createTime: Date } +export interface NoticePageReqVO extends PageParam { + title?: string + status?: number +} + // 查询公告列表 -export const getNoticePage = (params: PageParam) => { +export const getNoticePageApi = (params: NoticePageReqVO) => { return request.get({ url: '/system/notice/page', params }) } // 查询公告详情 -export const getNotice = (id: number) => { +export const getNoticeApi = (id: number) => { return request.get({ url: '/system/notice/get?id=' + id }) } // 新增公告 -export const createNotice = (data: NoticeVO) => { +export const createNoticeApi = (data: NoticeVO) => { return request.post({ url: '/system/notice/create', data }) } // 修改公告 -export const updateNotice = (data: NoticeVO) => { +export const updateNoticeApi = (data: NoticeVO) => { return request.put({ url: '/system/notice/update', data }) } // 删除公告 -export const deleteNotice = (id: number) => { +export const deleteNoticeApi = (id: number) => { return request.delete({ url: '/system/notice/delete?id=' + id }) } diff --git a/src/components/DictTag/src/DictTag.vue b/src/components/DictTag/src/DictTag.vue index e3ba78d2..db37f714 100644 --- a/src/components/DictTag/src/DictTag.vue +++ b/src/components/DictTag/src/DictTag.vue @@ -48,6 +48,7 @@ export default defineComponent({ ? dictData.value?.cssClass : '' } + disableTransitions={true} > {dictData.value?.label} diff --git a/src/components/DocAlert/index.vue b/src/components/DocAlert/index.vue new file mode 100644 index 00000000..7ca29f75 --- /dev/null +++ b/src/components/DocAlert/index.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/views/mp/account/index.vue b/src/views/mp/account/index.vue index 2629c658..3111e20a 100644 --- a/src/views/mp/account/index.vue +++ b/src/views/mp/account/index.vue @@ -1,6 +1,6 @@ - - + - + diff --git a/src/views/mp/freePublish/index.vue b/src/views/mp/freePublish/index.vue index 8a3d5285..fd230786 100644 --- a/src/views/mp/freePublish/index.vue +++ b/src/views/mp/freePublish/index.vue @@ -1,6 +1,6 @@