Commit 092a1d26 authored by taabe's avatar taabe

风险模型-fmea评价bug修改

parent 08129ab7
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
"amos-designer": "^1.0.2", "amos-designer": "^1.0.2",
"amos-framework": "^1.2.2", "amos-framework": "^1.2.2",
"amos-iot-3dgraph": "^1.0.0", "amos-iot-3dgraph": "^1.0.0",
"amos-iot-webstudio": "^1.0.4", "amos-iot-webstudio": "1.0.4",
"eslint-config-ray": "^1.0.26", "eslint-config-ray": "^1.0.26",
"mockjs": "^1.0.1-beta3", "mockjs": "^1.0.1-beta3",
"ray-build": "^2.0.2", "ray-build": "^2.0.2",
......
...@@ -129,6 +129,7 @@ class EvaluationModel extends Component { ...@@ -129,6 +129,7 @@ class EvaluationModel extends Component {
} }
}); });
form.rpni = rpni; form.rpni = rpni;
form.riskLevelId = target[0] && target[0].id;
return target[0] && target[0].name; return target[0] && target[0].name;
} }
...@@ -239,7 +240,7 @@ class EvaluationModel extends Component { ...@@ -239,7 +240,7 @@ class EvaluationModel extends Component {
{item.coefficient}-{item.describe} {item.coefficient}-{item.describe}
</Option> </Option>
)} )}
value={form.evaluationDid} value={parseInt(form.evaluationDid)}
onChange={(e, item) => this.onSelectChange('evaluationDid', e, item)} onChange={(e, item) => this.onSelectChange('evaluationDid', e, item)}
/> />
</FormItem> </FormItem>
......
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