|
@@ -37,7 +37,7 @@ class Inspect extends React.Component {
|
|
|
this.handleSearchShow = this.handleSearchShow.bind(this)
|
|
|
}
|
|
|
delConfirm(){//弹窗确定
|
|
|
- const{delPartItem,handleCloseExcel} = this.props;
|
|
|
+ const{delPartItem,handleCloseExcel,handlePush} = this.props;
|
|
|
const{type,id} = this.state;
|
|
|
if(type==1){
|
|
|
delPartItem(id)
|
|
@@ -50,6 +50,7 @@ class Inspect extends React.Component {
|
|
|
id:null,
|
|
|
})
|
|
|
Notify.success("删除成功");
|
|
|
+ handlePush&&handlePush(); //右侧推送
|
|
|
}
|
|
|
handleDelClick(type,idx){
|
|
|
this.setState({
|
|
@@ -260,7 +261,7 @@ class Inspect extends React.Component {
|
|
|
}
|
|
|
}
|
|
|
render() {
|
|
|
- const { handleChangeValue, list, labelList,delPartItem, handleLabelSub, handleClear, handleConfirm, fillActive,getExcelDataList,handleCloseExcel } = this.props;
|
|
|
+ const { handleChangeValue, list, labelList,delPartItem, handleLabelSub, handleClear, handleConfirm, fillActive,getExcelDataList,handleCloseExcel,handlePush } = this.props;
|
|
|
const {toastText,visible} = this.state;
|
|
|
return (
|
|
|
<div className={styles.wrapper}>
|
|
@@ -351,6 +352,7 @@ class Inspect extends React.Component {
|
|
|
handleConfirm(e,idx,this.state.dateTime,this.state.currentData);
|
|
|
}
|
|
|
this.setState({showFill:false})
|
|
|
+ handlePush&&handlePush(); //右侧推送
|
|
|
}}
|
|
|
>
|
|
|
<div className={styles.searchResultT}>
|