Commit 8e7d458f authored by tangwei's avatar tangwei

修改bug

parent f3a801ae
......@@ -856,8 +856,8 @@ class RiskModel extends Component {
<div className='risk-level-img'>
<span className='risk-level-img-span'> 风险层级图</span>
<div className='risk-level-img-button'>
<Button icon={<BizIcon icon="xiazai" />} transparent onClick={e => this.onClick(e,'1')} />
<Button icon={<BizIcon icon="daoru" />} transparent onClick={e => this.onClick(e,'2')} />
{/* <Button icon={<BizIcon icon="xiazai" />} transparent onClick={e => this.onClick(e,'1')} />
<Button icon={<BizIcon icon="daoru" />} transparent onClick={e => this.onClick(e,'2')} /> */}
</div>
</div>
<div className='risk-model-level'>
......
......@@ -24,7 +24,7 @@ class RiskFactorModel extends Component {
riskFactorData: [],
userData: [],
rules: {
riskFactorsId: [{ required: true, message: '危险因素不能为空' }]
riskFactorIds: [{ required: true, message: '危险因素不能为空' }]
}
};
}
......@@ -118,7 +118,7 @@ class RiskFactorModel extends Component {
<div>
<span className="fmea-item-span">危险有害因素:</span>
<Divider />
<FormItem label={<span>危险因素</span>} className="fmea-item-risk-factor" field="riskFactorsId" {...formItemLayout}>
<FormItem label={<span>危险因素</span>} className="fmea-item-risk-factor" field="riskFactorIds" {...formItemLayout}>
{/* <div className="risk-factor-select" style={{ height: '200px' }} > */}
<div className="risk-factor-select" >
<MultiSelect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment