初始化项目

This commit is contained in:
2026-03-25 22:34:17 +08:00
parent 39db00e022
commit c3e7288953
18 changed files with 214 additions and 93 deletions

View File

@@ -43,12 +43,27 @@ export interface TabItem {
unreadlist?: MyNoticeTodo[];
}
export interface MyFileList {
filePath: string;
fileName: string;
fileType?: number;
fileIcon?: string;
fileSize?: string;
}
export const tabListDataAll = (params?: MyNoticeTodo | any) =>
defHttp.get<TabItem[]>({ url: adminPath + '/biz/myNoticeTodo/tabListData', params});
export const myNoticeTodoList = (params?: MyNoticeTodo | any) =>
defHttp.get<MyNoticeTodo>({ url: adminPath + '/biz/myNoticeTodo/list', params });
export const myNoticeTodoFileList = (params?: MyNoticeTodo | any) =>
defHttp.get<MyFileList[]>({ url: adminPath + '/biz/myNoticeTodo/fileList', params });
export const myNoticeTodoListAll = (params?: MyNoticeTodo | any) =>
defHttp.get<MyNoticeTodo[]>({ url: adminPath + '/biz/myNoticeTodo/listAll', params });
export const myNoticeTodoListData = (params?: MyNoticeTodo | any) =>
defHttp.post<Page<MyNoticeTodo>>({ url: adminPath + '/biz/myNoticeTodo/listData', params });

View File

@@ -130,6 +130,7 @@
sorter: true,
width: 130,
align: 'center',
dictType: 'msg_type',
},
{
title: t('是否已读'),
@@ -138,6 +139,7 @@
sorter: true,
width: 130,
align: 'center',
dictType: 'read_flag',
},
{
title: t('是否关闭'),
@@ -146,6 +148,7 @@
sorter: true,
width: 130,
align: 'center',
dictType: 'click_close',
},
{
title: t('额外信息'),
@@ -186,6 +189,7 @@
sorter: true,
width: 130,
align: 'center',
dictType: 'notice_status',
},
];