From 120d0238d72741de4feec283b7c67c99dcd436d6 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 17 一月 2025 13:26:56 +0800 Subject: [PATCH] 日志页面按钮权限修改及布局调整 --- src/views/infra/apiAccessLog/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/infra/apiAccessLog/index.vue b/src/views/infra/apiAccessLog/index.vue index e3a6a7c..7e3a070 100644 --- a/src/views/infra/apiAccessLog/index.vue +++ b/src/views/infra/apiAccessLog/index.vue @@ -90,31 +90,31 @@ <ContentWrap> <el-table v-loading="loading" :data="list"> <el-table-column label="日志编号" align="center" prop="id" width="100" fix="right" /> - <el-table-column label="用户编号" align="center" prop="userId" /> - <el-table-column label="用户类型" align="center" prop="userType"> + <el-table-column label="用户编号" align="center" prop="userId" width="80"/> + <el-table-column label="用户类型" align="center" prop="userType" width="100"> <template #default="scope"> <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType" /> </template> </el-table-column> - <el-table-column label="应用名" align="center" prop="applicationName" width="150" /> + <el-table-column label="应用名" align="center" prop="applicationName" width="120" /> <el-table-column label="请求方法" align="center" prop="requestMethod" width="80" /> - <el-table-column label="请求地址" align="center" prop="requestUrl" width="500" /> + <el-table-column label="请求地址" align="center" prop="requestUrl" /> <el-table-column label="请求时间" align="center" prop="beginTime" width="180"> <template #default="scope"> <span>{{ formatDate(scope.row.beginTime) }}</span> </template> </el-table-column> - <el-table-column label="执行时长" align="center" prop="duration" width="180"> + <el-table-column label="执行时长" align="center" prop="duration" width="100"> <template #default="scope"> {{ scope.row.duration }} ms </template> </el-table-column> - <el-table-column label="操作结果" align="center" prop="status"> + <el-table-column label="操作结果" align="center" prop="status" width="120"> <template #default="scope"> {{ scope.row.resultCode === 0 ? '成功' : '失败(' + scope.row.resultMsg + ')' }} </template> </el-table-column> <el-table-column label="操作模块" align="center" prop="operateModule" width="180" /> <el-table-column label="操作名" align="center" prop="operateName" width="180" /> - <el-table-column label="操作类型" align="center" prop="operateType"> + <el-table-column label="操作类型" align="center" prop="operateType" width="80"> <template #default="scope"> <dict-tag :type="DICT_TYPE.INFRA_OPERATE_TYPE" :value="scope.row.operateType" /> </template> -- Gitblit v1.9.3