优化细节

This commit is contained in:
mmc
2026-09-03 11:28:39 +08:00
parent 736645ac18
commit fd4e374add
3 changed files with 8 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ export default function StationManage() {
getStationList(params).then(res => {
if (res.code === 200) {
setStationList(res.rows || []);
setPagination({
...pagination,
total: res.total || res.rows?.length || 0
@@ -286,7 +287,7 @@ export default function StationManage() {
<Space wrap size="small">
<Button icon={<EditOutlined />} onClick={() => handleEdit(record)}>{t('roles.edit')}</Button>
<Button icon={<BgColorsOutlined />} onClick={() => handleOpenArea(record)}>{t('systemSetting.settingsFixed2')}</Button>
<Button onClick={() => handleOpenMap(record)}>{t('systemSetting.s110')}</Button>
<Button onClick={() => handleOpenMap(record)}>{t('systemSetting.BoundaryDrawing')}</Button>
<Popconfirm title={t('common.confirmDelete')} onConfirm={() => handleDelete(record.id)}>
<Button danger>{t('roles.delete')}</Button>
</Popconfirm>

View File

@@ -3054,7 +3054,9 @@ const en = {
s412: 'Auto Backup',
s110: 'Boundary Drawing',
BoundaryDrawing: 'Boundary Drawing',
s110: 'Unbind person',
mappingLayer: 'Mapped Layer',
mappingLayerPlaceholder: 'Select a published layer to map',

View File

@@ -3088,7 +3088,9 @@ const zh = {
s412: '自动备份',
s110: '边界绘制',
s110: '人员',
BoundaryDrawing: '边界绘制',
mappingLayer: '映射图层',
mappingLayerPlaceholder: '请选择要映射的发布图层',