优化细节
This commit is contained in:
@@ -97,7 +97,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
|
||||
@@ -294,7 +294,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>
|
||||
|
||||
@@ -3068,7 +3068,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',
|
||||
|
||||
|
||||
@@ -3103,7 +3103,9 @@ const zh = {
|
||||
|
||||
s412: '自动备份',
|
||||
|
||||
s110: '边界绘制',
|
||||
s110: '人员',
|
||||
BoundaryDrawing: '边界绘制',
|
||||
|
||||
mappingLayer: '映射图层',
|
||||
mappingLayerPlaceholder: '请选择要映射的发布图层',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user