|
@@ -76,6 +76,7 @@ import type {
|
|
MonitoringForm,
|
|
MonitoringForm,
|
|
MonitorPointInfo,
|
|
MonitorPointInfo,
|
|
MonitorPointItem,
|
|
MonitorPointItem,
|
|
|
|
+ NoticePageItemData,
|
|
Organization,
|
|
Organization,
|
|
OrganizationItem,
|
|
OrganizationItem,
|
|
OutdooForm,
|
|
OutdooForm,
|
|
@@ -1032,6 +1033,22 @@ export const groupList = async (listInfo: ListInfo) => {
|
|
return data;
|
|
return data;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+// 站内通知
|
|
|
|
+export const getUnreadNotifications = async () => {
|
|
|
|
+ const data = await request<number>(apiBiz('/stationNotify/leftSize'), {
|
|
|
|
+ method: 'POST',
|
|
|
|
+ });
|
|
|
|
+ return data;
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+export const getNoticePageList = async (params: PageParams) => {
|
|
|
|
+ const data = await request<NoticePageItemData>(apiBiz('/stationNotify/getPageList'), {
|
|
|
|
+ method: 'POST',
|
|
|
|
+ body: JSON.stringify(params),
|
|
|
|
+ });
|
|
|
|
+ return data;
|
|
|
|
+};
|
|
|
|
+
|
|
// 组态
|
|
// 组态
|
|
|
|
|
|
export const getGroupModuleInfo = async (params: GroupModuleQuery) => {
|
|
export const getGroupModuleInfo = async (params: GroupModuleQuery) => {
|