diff --git a/src/api/monitor/operlog/types.ts b/src/api/monitor/operlog/types.ts index 10f65c7..ad889a2 100644 --- a/src/api/monitor/operlog/types.ts +++ b/src/api/monitor/operlog/types.ts @@ -2,6 +2,12 @@ export interface OperLogQuery extends PageQuery { operIp: string; title: string; operName: string; + userId: string; + deptId: string; + clientKey: string; + deviceType: string; + browser: string; + os: string; businessType: string; status: string; orderByColumn: string; @@ -18,7 +24,13 @@ export interface OperLogVO extends BaseEntity { requestMethod: string; operatorType: number; operName: string; + userId: string | number; + deptId: string | number; deptName: string; + clientKey: string; + deviceType: string; + browser: string; + os: string; operUrl: string; operIp: string; operLocation: string; @@ -40,7 +52,13 @@ export interface OperLogForm { requestMethod: string; operatorType: number; operName: string; + userId: string | number | undefined; + deptId: string | number | undefined; deptName: string; + clientKey: string; + deviceType: string; + browser: string; + os: string; operUrl: string; operIp: string; operLocation: string; diff --git a/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue index f6fcc4a..25417b0 100644 --- a/src/views/monitor/operlog/index.vue +++ b/src/views/monitor/operlog/index.vue @@ -25,6 +25,20 @@ @keyup.enter="handleQuery" /> + + + + + + + + + + + + + + @@ -124,6 +138,14 @@ :sort-orders="['descending', 'ascending']" /> + + + + + +