中英文切换根据已有的功能 已经基本完善
This commit is contained in:
@@ -264,7 +264,7 @@ export default function StationManage() {
|
||||
<Button icon={<BgColorsOutlined />} onClick={() => handleOpenArea(record)}>{t('systemSetting.settingsFixed2')}</Button>
|
||||
<Button onClick={() => handleOpenMap(record)}>{t('systemSetting.s110')}</Button>
|
||||
<Popconfirm title={t('common.confirmDelete')} onConfirm={() => handleDelete(record.id)}>
|
||||
<Button danger>roles.delete</Button>
|
||||
<Button danger>{t('roles.delete')}</Button>
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
)
|
||||
@@ -319,7 +319,7 @@ export default function StationManage() {
|
||||
|
||||
{/* 场站弹窗 */}
|
||||
<Modal
|
||||
title={editRecord ? '编辑场站' : '新增场站'}
|
||||
title={editRecord ? t('systemSetting.editSite') : t('systemSetting.addSite')}
|
||||
open={modalVisible}
|
||||
width={680}
|
||||
onCancel={() => setModalVisible(false)}
|
||||
@@ -497,9 +497,9 @@ export default function StationManage() {
|
||||
footer={null}
|
||||
>
|
||||
<div style={{ height: 400, background: '#f5f5f5', borderRadius: 8, display: 'flex', alignItems: 'center', justifyContent: 'center', flexDirection: 'column' }}>{t('systemSetting.area')}<Space style={{ marginTop: 20 }}>
|
||||
<Button type="primary">{t('systemSetting.s8')}</Button>
|
||||
<Button>{t('systemSetting.fixed2Save')}</Button>
|
||||
</Space>
|
||||
<Button type="primary">{t('systemSetting.s8')}</Button>
|
||||
<Button>{t('systemSetting.fixed2Save')}</Button>
|
||||
</Space>
|
||||
</div>
|
||||
</Modal>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user