From 1d95b134d85c3c60cf0e72739888c9741a0bb1ee Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 10 四月 2026 13:20:39 +0800
Subject: [PATCH] #页面优化
---
rsf-design/src/views/basic-info/bas-station-area/basStationAreaTable.columns.js | 42 +++++++++++++++++++++++++++++++++++++++---
1 files changed, 39 insertions(+), 3 deletions(-)
diff --git a/rsf-design/src/views/basic-info/bas-station-area/basStationAreaTable.columns.js b/rsf-design/src/views/basic-info/bas-station-area/basStationAreaTable.columns.js
index 476dfae..ec62b52 100644
--- a/rsf-design/src/views/basic-info/bas-station-area/basStationAreaTable.columns.js
+++ b/rsf-design/src/views/basic-info/bas-station-area/basStationAreaTable.columns.js
@@ -19,7 +19,12 @@
}
if (canDelete && handleDelete) {
- operations.push({ key: 'delete', label: t('common.actions.delete'), icon: 'ri:delete-bin-5-line', color: 'var(--art-error)' })
+ operations.push({
+ key: 'delete',
+ label: t('common.actions.delete'),
+ icon: 'ri:delete-bin-5-line',
+ color: 'var(--art-error)'
+ })
}
return [
@@ -33,6 +38,13 @@
label: t('table.index'),
width: 72,
align: 'center'
+ },
+ {
+ prop: 'id',
+ label: t('table.id'),
+ width: 90,
+ align: 'center',
+ formatter: (row) => row.id ?? '--'
},
{
prop: 'stationAreaId',
@@ -138,11 +150,21 @@
width: 96,
align: 'center',
formatter: (row) => {
- const status = getBasStationAreaStatusOptions(t).find((item) => Number(item.value) === Number(row.status))
+ const status = getBasStationAreaStatusOptions(t).find(
+ (item) => Number(item.value) === Number(row.status)
+ )
const text = status?.label || row.statusText || '--'
- const type = Number(row.status) === 1 ? 'success' : Number(row.status) === 0 ? 'danger' : 'info'
+ const type =
+ Number(row.status) === 1 ? 'success' : Number(row.status) === 0 ? 'danger' : 'info'
return h(ElTag, { type, effect: 'light' }, () => text)
}
+ },
+ {
+ prop: 'updateByText',
+ label: t('table.updateBy'),
+ minWidth: 120,
+ showOverflowTooltip: true,
+ formatter: (row) => row.updateByText || '--'
},
{
prop: 'updateTimeText',
@@ -152,6 +174,20 @@
formatter: (row) => row.updateTimeText || '--'
},
{
+ prop: 'createByText',
+ label: t('table.createBy'),
+ minWidth: 120,
+ showOverflowTooltip: true,
+ formatter: (row) => row.createByText || '--'
+ },
+ {
+ prop: 'createTimeText',
+ label: t('table.createTime'),
+ minWidth: 170,
+ showOverflowTooltip: true,
+ formatter: (row) => row.createTimeText || '--'
+ },
+ {
prop: 'memo',
label: t('pages.basicInfo.basStationArea.search.memo'),
minWidth: 180,
--
Gitblit v1.9.1