Skip to content

Commit 283a9d0

Browse files
committed
【新增】system user 和 role 接入新操作日志
1 parent c01571d commit 283a9d0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/utils/dict.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export enum DICT_TYPE {
111111
SYSTEM_ROLE_TYPE = 'system_role_type',
112112
SYSTEM_DATA_SCOPE = 'system_data_scope',
113113
SYSTEM_NOTICE_TYPE = 'system_notice_type',
114-
SYSTEM_OPERATE_TYPE = 'system_operate_type',
115114
SYSTEM_LOGIN_TYPE = 'system_login_type',
116115
SYSTEM_LOGIN_RESULT = 'system_login_result',
117116
SYSTEM_SMS_CHANNEL_CODE = 'system_sms_channel_code',
@@ -134,6 +133,7 @@ export enum DICT_TYPE {
134133
INFRA_CODEGEN_FRONT_TYPE = 'infra_codegen_front_type',
135134
INFRA_CODEGEN_SCENE = 'infra_codegen_scene',
136135
INFRA_FILE_STORAGE = 'infra_file_storage',
136+
INFRA_OPERATE_TYPE = 'infra_operate_type',
137137

138138
// ========== BPM 模块 ==========
139139
BPM_MODEL_FORM_TYPE = 'bpm_model_form_type',

src/views/infra/apiAccessLog/ApiAccessLogDetail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{{ detailData.operateName }}
4747
</el-descriptions-item>
4848
<el-descriptions-item label="操作名">
49-
<dict-tag :type="DICT_TYPE.SYSTEM_OPERATE_TYPE" :value="detailData.operateType" />
49+
<dict-tag :type="DICT_TYPE.INFRA_OPERATE_TYPE" :value="detailData.operateType" />
5050
</el-descriptions-item>
5151
</el-descriptions>
5252
</Dialog>

src/views/infra/apiAccessLog/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<el-table-column label="操作名" align="center" prop="operateName" width="180" />
119119
<el-table-column label="操作类型" align="center" prop="operateType">
120120
<template #default="scope">
121-
<dict-tag :type="DICT_TYPE.SYSTEM_OPERATE_TYPE" :value="scope.row.operateType" />
121+
<dict-tag :type="DICT_TYPE.INFRA_OPERATE_TYPE" :value="scope.row.operateType" />
122122
</template>
123123
</el-table-column>
124124
<el-table-column label="操作" align="center" fixed="right" width="60">

0 commit comments

Comments
 (0)