个人中心加机器人生成配置界面

This commit is contained in:
mmc
2026-05-13 13:16:36 +08:00
parent 38ceb37926
commit 07e6488811
9 changed files with 458 additions and 311 deletions

View File

@@ -75,7 +75,7 @@ export default function AlarmCenterPage() {
deviceId: '',
alarmLevel: '',
handleStatus: '',
beginTime: '',
startTime: '',
endTime: '',
});
@@ -319,7 +319,7 @@ export default function AlarmCenterPage() {
if (arr) {
setQueryParams({
...queryParams,
beginTime: arr[0].format('YYYY-MM-DD HH:mm:ss'),
startTime: arr[0].format('YYYY-MM-DD HH:mm:ss'),
endTime: arr[1].format('YYYY-MM-DD HH:mm:ss')
});
}
@@ -329,7 +329,7 @@ export default function AlarmCenterPage() {
<Col>
<Space>
<Button style={{ borderRadius: 8 }} onClick={() => {
setQueryParams({ deviceId: '', alarmLevel: '', handleStatus: '', beginTime: '', endTime: '' });
setQueryParams({ deviceId: '', alarmLevel: '', handleStatus: '', startTime: '', endTime: '' });
fetchList();
}}>重置</Button>
<Button type="primary" style={{ borderRadius: 8, background: '#165DFF' }} onClick={fetchList}>