fix: 统一系统生成时间为北京时间(UTC+8)并优化审计日志表格列展示

This commit is contained in:
DXC
2026-03-10 17:33:14 +08:00
parent de0a5c8db2
commit cd192624b9
8 changed files with 26 additions and 20 deletions

View File

@ -53,7 +53,7 @@
<el-tag>{{ scope.row.module }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="action" label="操作" width="100">
<el-table-column prop="action" label="操作类型" width="100">
<template #default="scope">
<el-tag :type="getActionType(scope.row.action)">{{ scope.row.action }}</el-tag>
</template>
@ -63,10 +63,10 @@
<el-table-column prop="created_at" label="操作时间" width="170" />
<el-table-column label="操作" width="120" fixed="right">
<template #default="scope">
<el-button v-if="scope.row.details" link type="primary" size="small" @click="handleViewDetails(scope.row)">
详情
<el-button v-if="scope.row.details && Object.keys(scope.row.details).length > 0" link type="primary" size="small" @click="handleViewDetails(scope.row)">
查看详情
</el-button>
<span v-else class="text-gray">-</span>
<span v-else style="color: #909399; font-size: 12px;">无变更明细</span>
</template>
</el-table-column>
</el-table>