|
@@ -6,6 +6,7 @@ import slideUp from "@common/images/slide-up.png";
|
|
|
import slideDown from "@common/images/slide-down.png";
|
|
|
import date1 from '../img/date1.png';
|
|
|
import close from '../img/close.png';
|
|
|
+
|
|
|
class SlideSelect extends Component {
|
|
|
constructor(props) {
|
|
|
super(props);
|
|
@@ -34,7 +35,7 @@ class SlideSelect extends Component {
|
|
|
})
|
|
|
}
|
|
|
render() {
|
|
|
- const {handleConfirm,changeActivePart,handleDelClick,getItemList,date,item,idx,handleFillShow,showDetails,handleLabelSub,showFill,changeShowFill,handlePush,dateTime,currentIdx,currentData,fillActive,handleShowDate,handleChangeDate} = this.props;
|
|
|
+ const {getInfomation,handleConfirm,changeActivePart,handleDelClick,getItemList,date,item,idx,handleFillShow,showDetails,handleLabelSub,showFill,changeShowFill,handlePush,dateTime,currentIdx,currentData,fillActive,handleShowDate,handleChangeDate} = this.props;
|
|
|
const {show} = this.state;
|
|
|
let numPlus = 0,numPlus1 = 0;
|
|
|
return (
|
|
@@ -43,28 +44,39 @@ class SlideSelect extends Component {
|
|
|
// 标签,血常规。。
|
|
|
item.show ?
|
|
|
<p className={styles.staticTagActive}>
|
|
|
- <span data-flg="current" style={{color:"#000"}} onClick={(e) => { handleLabelSub(e, item.questionId,idx); handleFillShow(e,idx) }}>{item.name}</span>
|
|
|
+ <span className={styles.tagSpan} data-flg="current" style={{color:"#000"}} onClick={(e) => { handleLabelSub(e, item.questionId,idx); handleFillShow(e,idx) }}>
|
|
|
+ {item.name}
|
|
|
+ <span className={styles.imgInfo} onClick={()=>getInfomation(item.questionId,item.name)}></span>
|
|
|
+ </span>
|
|
|
</p>:
|
|
|
- <p>
|
|
|
- <i data-flg="current" onClick={(e) => { handleLabelSub(e,item.questionId,idx); handleFillShow(e,idx) }}>{item.name}</i>
|
|
|
+ <p >
|
|
|
+ <i className={styles.tagSpan} data-flg="current" onClick={(e) => { handleLabelSub(e,item.questionId,idx); handleFillShow(e,idx) }}>
|
|
|
+ {item.name}
|
|
|
+ <span className={styles.imgInfo} onClick={()=>getInfomation(item.questionId,item.name)}></span>
|
|
|
+ </i>
|
|
|
</p>
|
|
|
}
|
|
|
|
|
|
{
|
|
|
item.details && item.details.map((val)=>{
|
|
|
if(val.value && val.value != ''){
|
|
|
- numPlus = ++numPlus
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ numPlus = ++numPlus
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
{
|
|
|
- item.show ?
|
|
|
+ item.show ?
|
|
|
<table className={styles.table}>
|
|
|
{
|
|
|
show?(item.details.map((val)=>{
|
|
|
if(val.value && val.value != ''){
|
|
|
return <tr>
|
|
|
- <td style={{width:'30%'}}>{val.name}</td>
|
|
|
+ <td style={{width:'30%'}}>
|
|
|
+ <span className={styles.tagSpan}>
|
|
|
+ {val.name}
|
|
|
+ <span className={styles.imgInfo} onClick={()=>getInfomation(val.id)}></span>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
{showDetails(val)}
|
|
|
<td style={{width:'25%'}}>
|
|
|
{normalVal(val.minValue,val.maxValue)}
|
|
@@ -77,7 +89,12 @@ class SlideSelect extends Component {
|
|
|
++numPlus1;
|
|
|
if(numPlus1 < 5){
|
|
|
return <tr>
|
|
|
- <td style={{width:'30%'}}>{val.name}</td>
|
|
|
+ <td style={{width:'30%'}}>
|
|
|
+ <span className={styles.tagSpan}>
|
|
|
+ {val.name}
|
|
|
+ <span className={styles.imgInfo} onClick={()=>getInfomation(val.id)}></span>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
{showDetails(val)}
|
|
|
<td style={{width:'25%'}}>
|
|
|
{normalVal(val.minValue,val.maxValue)}
|