|
@@ -1,5 +1,5 @@
|
|
|
import React from 'react';
|
|
|
-import { SearchOption, InspectCommon, Calendar ,Notify,ConfirmModal} from '@commonComp';
|
|
|
+import { SearchOption, InspectCommon, Calendar ,Notify,ConfirmModal,Add} from '@commonComp';
|
|
|
import { deepClone } from '@utils/tools';
|
|
|
import styles from './index.less';
|
|
|
import date1 from './img/date1.png';
|
|
@@ -7,7 +7,7 @@ import date2 from './img/date2.png';
|
|
|
import close from './img/close.png';
|
|
|
import store from '@store';
|
|
|
import $ from 'jquery';
|
|
|
-
|
|
|
+import more from '@common/images/addItem1.png';
|
|
|
class Inspect extends React.Component {
|
|
|
constructor(props) {
|
|
|
super(props);
|
|
@@ -35,6 +35,7 @@ class Inspect extends React.Component {
|
|
|
this.showDetails = this.showDetails.bind(this)
|
|
|
this.delConfirm = this.delConfirm.bind(this)
|
|
|
this.handleCancel = this.handleCancel.bind(this)
|
|
|
+ this.handleSearchShow = this.handleSearchShow.bind(this)
|
|
|
}
|
|
|
delConfirm(){//弹窗确定
|
|
|
const{delPartItem,handleCloseExcel} = this.props;
|
|
@@ -104,6 +105,7 @@ class Inspect extends React.Component {
|
|
|
handleSearchShow(e) {
|
|
|
let tmpShow = this.state.show;
|
|
|
this.setState({ show: !tmpShow })
|
|
|
+ console.trace(789,this.state.show);
|
|
|
// e.stopPropagation();
|
|
|
}
|
|
|
handleFillShow(e,idx) {
|
|
@@ -374,6 +376,7 @@ class Inspect extends React.Component {
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div style={{position:"relative"}}>
|
|
|
+ <img src={more} style={{verticalAlign:'middle',marginRight:'2px'}}/>
|
|
|
<span id="searchWrap" className={`${styles.staticTag}`} onClick={(e) => this.handleSearchShow(e)}>添加化验项</span>
|
|
|
<SearchOption handleChangeValue={handleChangeValue} visible={this.state.show}>
|
|
|
{this.getSearchList(list)}
|