|
@@ -33,9 +33,10 @@ class AddAssistCheck extends React.Component {
|
|
|
}
|
|
|
|
|
|
delConfirm(){
|
|
|
- const {handleDelAssist} = this.props;
|
|
|
+ const {handleDelAssist,handlePush} = this.props;
|
|
|
const {id} = this.state;
|
|
|
- handleDelAssist&&handleDelAssist(id)
|
|
|
+ handleDelAssist&&handleDelAssist(id);
|
|
|
+ handlePush&&handlePush();
|
|
|
this.setState({
|
|
|
visible:false,
|
|
|
id:null
|
|
@@ -103,7 +104,7 @@ class AddAssistCheck extends React.Component {
|
|
|
</ul>
|
|
|
}
|
|
|
getAssistLabel(){
|
|
|
- const {assistLabel,handleChangeAssistValue,handleChangeDate,isRead} = this.props;
|
|
|
+ const {assistLabel,handleChangeAssistValue,handleChangeDate,isRead,handlePush} = this.props;
|
|
|
return <ul className={styles.labelWrap} id="datePick">
|
|
|
{
|
|
|
assistLabel.map((item,idx) => {
|
|
@@ -125,7 +126,7 @@ class AddAssistCheck extends React.Component {
|
|
|
onKeyUp={(e)=>{handleChangeAssistValue(e.target.value,idx,e)}}
|
|
|
placeholder="报告描述或意见"
|
|
|
></textarea> */}
|
|
|
- <Textarea value={item.value} isRead={isRead} handleChangeAssistValue={handleChangeAssistValue} idx={idx}></Textarea>
|
|
|
+ <Textarea value={item.value} handlePush={handlePush} isRead={isRead} handleChangeAssistValue={handleChangeAssistValue} idx={idx}></Textarea>
|
|
|
</p>
|
|
|
<div className={styles.pointerFinger}>
|
|
|
<p onClick={()=>this.handleShowDate(idx)}>报告日期:<span>{item.time || this.state.dateTime}</span></p>
|