import React, { Component } from 'react'; import style from "../index.less"; class MedicalAdvice extends Component { constructor(props) { super(props); this.state = { } } render() { const {advice} = this.props // console.log(advice,'==========='); const {labelListBig,labelListSmall,labelListBlood} = advice // console.log(advice, 'advice'); return ( 医嘱: { labelListBig && labelListBig.map((item,index)=>{ return ( ) }) } { labelListSmall && labelListSmall.map((item, index) => { return ( {/* */} ) }) } { labelListBlood && labelListBlood.map((item, index) => { return ( ) }) }
{item.name} 药品 {item.form} {item.value} {item.time}
{item.name}手术/操作 {item.value} {item.time}
{item.name} 输血 {item.value} {item.time}
); } } export default MedicalAdvice;