工单告警完善
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
Col,
|
||||
App,
|
||||
Typography,
|
||||
Slider,
|
||||
} from 'antd';
|
||||
|
||||
const { Text } = Typography;
|
||||
@@ -767,6 +768,19 @@ export default function DeviceManagementPage() {
|
||||
<Form.Item label="运行速度" name="runSpeed" rules={[{ required: true, message: '请输入运行速度' }]}>
|
||||
<InputNumber placeholder="请输入运行速度" style={{ width: '100%' }} />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label="左轮增益系数" name="leftWheelGain" rules={[{ required: true, message: '请设置左轮增益系数' }]}>
|
||||
<div style={{ display: 'flex', gap: 12, alignItems: 'center' }}>
|
||||
<InputNumber min={0.1} max={1} step={0.01} style={{ width: 100 }} placeholder="0.1~1" />
|
||||
</div>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label="右轮增益系数" name="rightWheelGain" rules={[{ required: true, message: '请设置右轮增益系数' }]}>
|
||||
<div style={{ display: 'flex', gap: 12, alignItems: 'center' }}>
|
||||
{/*<Slider min={0} max={1} step={0.01} style={{ flex: 1 }} />*/}
|
||||
<InputNumber min={0.1} max={1} step={0.01} style={{ width: 100 }} placeholder="0.1~1" />
|
||||
</div>
|
||||
</Form.Item>
|
||||
<Form.Item>
|
||||
<Button type="primary" htmlType="submit">保存参数</Button>
|
||||
</Form.Item>
|
||||
@@ -921,7 +935,8 @@ export default function DeviceManagementPage() {
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
</div >
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user