fix: 统一系统生成时间为北京时间(UTC+8)并优化审计日志表格列展示
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user