| | |
| | | <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> |