|
|
@ -340,7 +340,7 @@ const Calc = (props) => { |
|
|
|
case 'burr': |
|
|
|
return ( |
|
|
|
<Col span={4}> |
|
|
|
<Form.Input field='bv1' placeholder="毛刺阈值:数字" label="Burr阈值" rules={[{ |
|
|
|
<Form.Input field='bv1' placeholder="毛刺阈值:数字" label="毛刺阈值" rules={[{ |
|
|
|
required: true, message: "请输入数字", validator: checkNumber |
|
|
|
}]} trigger='blur'> |
|
|
|
</Form.Input> |
|
|
@ -351,7 +351,7 @@ const Calc = (props) => { |
|
|
|
<Col span={18}> |
|
|
|
<Row gutter={10}> |
|
|
|
<Col span={4} > |
|
|
|
<Form.Input field='bv2' placeholder="毛刺阈值:数字" label="中断阈值" rules={[{ |
|
|
|
<Form.Input field='bv2' placeholder="毛刺阈值:数字" label="毛刺阈值" rules={[{ |
|
|
|
required: true, message: "请输入正整数", validator: checkInterger |
|
|
|
}]} trigger='blur' /> |
|
|
|
</Col> |
|
|
@ -458,7 +458,7 @@ const Calc = (props) => { |
|
|
|
{renderParamsConfig()} |
|
|
|
<Col span={6}> |
|
|
|
{/* <Button style={{ marginRight: 10, marginLeft: 10 }} type="tertiary">数据对比</Button> */} |
|
|
|
<Button theme='borderless' type='secondary' style={{ marginRight: 10,marginLeft: 10 }} onClick={handleSave}>保存配置</Button> |
|
|
|
<Button theme='solid' type='primary' style={{ marginRight: 10,marginLeft: 10 }} onClick={handleSave}>保存配置</Button> |
|
|
|
</Col> |
|
|
|
</Row> |
|
|
|
</Form> |
|
|
|