|
@@ -7,6 +7,7 @@ import slideDown from "@common/images/slide-down.png";
|
|
|
import $ from 'jquery';
|
|
|
import date1 from '../img/date1.png';
|
|
|
import ScrollArea from 'react-scrollbar';
|
|
|
+import InspectName from '../InspectName';
|
|
|
|
|
|
class SlideSelect extends Component {
|
|
|
constructor(props) {
|
|
@@ -94,7 +95,7 @@ class SlideSelect extends Component {
|
|
|
})*/
|
|
|
}
|
|
|
render() {
|
|
|
- const {windowWidth,getInfomation,handleConfirm,changeActivePart,getItemList,date,item,idx,showDetails,showFill,changeShowFill,handlePush,dateTime,currentIdx,currentData,fillActive,handleShowDate,showToast} = this.props;
|
|
|
+ const {windowWidth,handleFillShow,setTipValue,setHighter,refreshScroller,getInfomation,handleConfirm,changeActivePart,getItemList,date,item,idx,showDetails,showFill,changeShowFill,handlePush,dateTime,currentIdx,currentData,fillActive,handleShowDate,showToast} = this.props;
|
|
|
const {show,activeInd,activeName} = this.state;
|
|
|
let numPlus = 0,numPlus1 = 0;
|
|
|
let staticTime = {}
|
|
@@ -122,7 +123,16 @@ class SlideSelect extends Component {
|
|
|
const stopScroll =(windowWidth<1300&&listLen>12)||(windowWidth>1299&&listLen>24);
|
|
|
return (
|
|
|
<li key={item.questionId} className={`${styles.slideLi} clearfix`}>
|
|
|
- {
|
|
|
+ <InspectName
|
|
|
+ item={item}
|
|
|
+ handleLabelSub={this.handleLabelSub}
|
|
|
+ idx={idx}
|
|
|
+ getInfomation={getInfomation}
|
|
|
+ refreshScroller={refreshScroller}
|
|
|
+ setHighter={setHighter}
|
|
|
+ setTipValue={setTipValue}
|
|
|
+ handleFillShow={handleFillShow}></InspectName>
|
|
|
+ {/* {
|
|
|
// 标签,血常规。。
|
|
|
item.show ?
|
|
|
<p className={styles.staticTagActive}>
|
|
@@ -130,6 +140,9 @@ class SlideSelect extends Component {
|
|
|
{item.name}
|
|
|
<span className={styles.imgInfo1} title='点击i图标可查看详细说明' onClick={()=>getInfomation({name:item.uniqueName || '', position: 1, type: 12})}></span>
|
|
|
</span>
|
|
|
+ {
|
|
|
+ item.inpValue?<input className={styles.iptValue} type="text"/>:<span className={styles.iptValueBtn}>点击备注</span>
|
|
|
+ }
|
|
|
</p>:
|
|
|
<p >
|
|
|
<i className={`${styles.tagSpan} ${styles.tagSpanS} ${setFontColorSize(2)}`} data-flg="current" onClick={(e)=>this.handleLabelSub(e,item.questionId,idx)}>
|
|
@@ -137,7 +150,7 @@ class SlideSelect extends Component {
|
|
|
<span className={styles.imgInfo} title='点击i图标可查看详细说明' onClick={()=>getInfomation({name:item.uniqueName || '', position: 1, type: 12})}></span>
|
|
|
</i>
|
|
|
</p>
|
|
|
- }
|
|
|
+ } */}
|
|
|
|
|
|
{
|
|
|
item.details && item.details.map((val)=>{
|