feat(container): support sorting by creation time (#14141)

Add a creation time column to the container list. The column uses the backend createdAt order field and displays the existing createTime value. It follows the standard three-state sort cycle, starting with newest first.
This commit is contained in:
Woolsen
2026-10-21 18:01:07 +08:00
committed by GitHub
parent 577d771495
commit 372855157d
@@ -355,6 +355,20 @@
show-overflow-tooltip
prop="runTime"
/>
<!-- The API sorts by createdAt; the row field is named createTime. -->
<el-table-column
:label="$t('commons.table.createdAt')"
card-type="description"
min-width="180"
show-overflow-tooltip
prop="createdAt"
sortable="custom"
:sort-orders="['descending', 'ascending', null]"
>
<template #default="{ row }">
{{ row.createTime }}
</template>
</el-table-column>
<fu-table-operations
card-type="button"
fix