优化细节
This commit is contained in:
@@ -97,7 +97,7 @@ export default function StationManage() {
|
|||||||
getStationList(params).then(res => {
|
getStationList(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
setStationList(res.rows || []);
|
setStationList(res.rows || []);
|
||||||
|
|
||||||
setPagination({
|
setPagination({
|
||||||
...pagination,
|
...pagination,
|
||||||
total: res.total || res.rows?.length || 0
|
total: res.total || res.rows?.length || 0
|
||||||
@@ -294,7 +294,7 @@ export default function StationManage() {
|
|||||||
<Space wrap size="small">
|
<Space wrap size="small">
|
||||||
<Button icon={<EditOutlined />} onClick={() => handleEdit(record)}>{t('roles.edit')}</Button>
|
<Button icon={<EditOutlined />} onClick={() => handleEdit(record)}>{t('roles.edit')}</Button>
|
||||||
<Button icon={<BgColorsOutlined />} onClick={() => handleOpenArea(record)}>{t('systemSetting.settingsFixed2')}</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)}>
|
<Popconfirm title={t('common.confirmDelete')} onConfirm={() => handleDelete(record.id)}>
|
||||||
<Button danger>{t('roles.delete')}</Button>
|
<Button danger>{t('roles.delete')}</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
|
|||||||
@@ -3068,7 +3068,9 @@ const en = {
|
|||||||
|
|
||||||
s412: 'Auto Backup',
|
s412: 'Auto Backup',
|
||||||
|
|
||||||
s110: 'Boundary Drawing',
|
BoundaryDrawing: 'Boundary Drawing',
|
||||||
|
|
||||||
|
s110: 'Unbind person',
|
||||||
mappingLayer: 'Mapped Layer',
|
mappingLayer: 'Mapped Layer',
|
||||||
mappingLayerPlaceholder: 'Select a published layer to map',
|
mappingLayerPlaceholder: 'Select a published layer to map',
|
||||||
|
|
||||||
|
|||||||
@@ -3103,7 +3103,9 @@ const zh = {
|
|||||||
|
|
||||||
s412: '自动备份',
|
s412: '自动备份',
|
||||||
|
|
||||||
s110: '边界绘制',
|
s110: '人员',
|
||||||
|
BoundaryDrawing: '边界绘制',
|
||||||
|
|
||||||
mappingLayer: '映射图层',
|
mappingLayer: '映射图层',
|
||||||
mappingLayerPlaceholder: '请选择要映射的发布图层',
|
mappingLayerPlaceholder: '请选择要映射的发布图层',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user