浏览代码

【新增】system user 和 role 接入新操作日志

YunaiV 1 年之前
父节点
当前提交
283a9d0507
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/utils/dict.ts
  2. 1 1
      src/views/infra/apiAccessLog/ApiAccessLogDetail.vue
  3. 1 1
      src/views/infra/apiAccessLog/index.vue

+ 1 - 1
src/utils/dict.ts

@@ -111,7 +111,6 @@ export enum DICT_TYPE {
   SYSTEM_ROLE_TYPE = 'system_role_type',
   SYSTEM_DATA_SCOPE = 'system_data_scope',
   SYSTEM_NOTICE_TYPE = 'system_notice_type',
-  SYSTEM_OPERATE_TYPE = 'system_operate_type',
   SYSTEM_LOGIN_TYPE = 'system_login_type',
   SYSTEM_LOGIN_RESULT = 'system_login_result',
   SYSTEM_SMS_CHANNEL_CODE = 'system_sms_channel_code',
@@ -134,6 +133,7 @@ export enum DICT_TYPE {
   INFRA_CODEGEN_FRONT_TYPE = 'infra_codegen_front_type',
   INFRA_CODEGEN_SCENE = 'infra_codegen_scene',
   INFRA_FILE_STORAGE = 'infra_file_storage',
+  INFRA_OPERATE_TYPE = 'infra_operate_type',
 
   // ========== BPM 模块 ==========
   BPM_MODEL_FORM_TYPE = 'bpm_model_form_type',

+ 1 - 1
src/views/infra/apiAccessLog/ApiAccessLogDetail.vue

@@ -46,7 +46,7 @@
         {{ detailData.operateName }}
       </el-descriptions-item>
       <el-descriptions-item label="操作名">
-        <dict-tag :type="DICT_TYPE.SYSTEM_OPERATE_TYPE" :value="detailData.operateType" />
+        <dict-tag :type="DICT_TYPE.INFRA_OPERATE_TYPE" :value="detailData.operateType" />
       </el-descriptions-item>
     </el-descriptions>
   </Dialog>

+ 1 - 1
src/views/infra/apiAccessLog/index.vue

@@ -118,7 +118,7 @@
       <el-table-column label="操作名" align="center" prop="operateName" width="180" />
       <el-table-column label="操作类型" align="center" prop="operateType">
         <template #default="scope">
-          <dict-tag :type="DICT_TYPE.SYSTEM_OPERATE_TYPE" :value="scope.row.operateType" />
+          <dict-tag :type="DICT_TYPE.INFRA_OPERATE_TYPE" :value="scope.row.operateType" />
         </template>
       </el-table-column>
       <el-table-column label="操作" align="center" fixed="right" width="60">