Commit acb45bed authored by tangwei's avatar tangwei

修改不合格为异常

parent 31eccad7
......@@ -20,6 +20,15 @@ class RiskContent extends Component {
render() {
const { markerData } = this.props;
// const { info = [] } = markerData || {};
let text=markerData.realTimeStatus;
if(text==='合格'){
text='正常';
}else if(text==='不合格'){
text='异常';
}
return (
<Row className="point-detail-table ">
<Row className="point-detail-table-row1">
......@@ -28,7 +37,7 @@ class RiskContent extends Component {
<Col className="colTitle">名称</Col>
<Col className="colValue">{markerData.name}</Col>
<Col className="colTitle">状态</Col>
<Col className="colValue">{markerData.realTimeStatus}</Col>
<Col className="colValue">{text}</Col>
</Row>
<Row className="point-detail-table-row2">
<Col className="colTitle">责任部门</Col>
......
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