fix: 三列时间分开(保存/发布/上报)

This commit is contained in:
mediabot-pt
2026-07-02 11:48:49 +08:00
parent 63ffdab159
commit 13f9a0f58b

View File

@@ -24,17 +24,19 @@
<span>{{ scope.row.pages?.length || 0 }}页·{{ scope.row.totalResults || 0 }}次</span>
</template>
</el-table-column>
<el-table-column label="脚本" width="160">
<el-table-column label="保存" width="110" align="center">
<template #default="scope">
<span v-if="scope.row.configSavedAt" style="font-size:12px;color:#909399">
保存: {{ friendlyTime(scope.row.configSavedAt) }}
</span>
<span v-else style="font-size:12px;color:#909399">未保存</span>
<br>
<span v-if="scope.row.configPublishedAt" style="font-size:12px;color:#909399">
发布: {{ friendlyTime(scope.row.configPublishedAt) }}
</span>
<span v-else style="font-size:12px;color:#909399">未发布</span>
<span style="font-size:12px;color:#909399">{{ friendlyTime(scope.row.configSavedAt) || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="发布" width="110" align="center">
<template #default="scope">
<span style="font-size:12px;color:#909399">{{ friendlyTime(scope.row.configPublishedAt) || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="上报" width="110" align="center">
<template #default="scope">
<span style="font-size:12px;color:#909399">{{ friendlyTime(scope.row.lastSubmitted) || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="待审核" width="70" align="center">
@@ -43,11 +45,6 @@
<span v-else style="color:#909399">0</span>
</template>
</el-table-column>
<el-table-column label="最后上报" width="140">
<template #default="scope">
<span style="font-size:12px;color:#909399">{{ friendlyTime(scope.row.lastSubmitted) || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="操作" width="80" align="center">
<template #default="scope">
<el-button size="small" type="primary" @click="$router.push(`/access-results/check/${scope.row.siteId}`)">