Skip to content

Commit 36e4ec1

Browse files
added audit log detail page
1 parent 4e8b332 commit 36e4ec1

File tree

7 files changed

+712
-396
lines changed

7 files changed

+712
-396
lines changed

client/packages/lowcoder/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"moment": "^2.29.4",
6464
"numbro": "^2.3.6",
6565
"papaparse": "^5.3.2",
66+
"pigeon-maps": "^0.22.1",
6667
"qrcode.react": "^3.1.0",
6768
"rc-trigger": "^5.3.1",
6869
"react": "^18.2.0",

client/packages/lowcoder/src/api/enterpriseApi.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ export const getAuditLogStatistics = async (groupByParam : string) => {
7070
return response.data;
7171
};
7272

73+
export const getMeta = async (formData = {}) => {
74+
const response = await axios.post(`/api/meta`, formData);
75+
return response.data;
76+
}
77+
7378
export const getAppUsageLogs = async (params = {}) => {
7479
const query = new URLSearchParams(params).toString();
7580
const response = await axios.get(`/api/plugins/enterprise/app-usage-logs${query ? `?${query}` : ''}`);

client/packages/lowcoder/src/constants/routesURL.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export const THEME_SETTING = "/setting/theme";
1919
export const PLUGINS_SETTING = "/setting/plugins";
2020
export const THEME_DETAIL = "/setting/theme/detail";
2121
export const THEME_DETAIL_URL = `${THEME_DETAIL}/:themeId`;
22+
export const AUDIT_LOG_DASHBOARD = "/setting/audit";
23+
export const AUDIT_LOG_DETAIL = "/setting/audit/:eventId/detail";
2224

2325
export const OAUTH_PROVIDER_SETTING = "/setting/oauth-provider";
2426
export const OAUTH_PROVIDER_DETAIL = "/setting/oauth-provider/detail";

0 commit comments

Comments
 (0)