Commit e7bedee0 authored by EKSAD's avatar EKSAD

report item

parent e6b8cb2c
......@@ -414,6 +414,7 @@ export default class ReportItems extends Component {
<CreateReportItems
onClickClose={() => this.setState({ add: false })}
data={this.state.listData}
refresh={this.getData.bind(this)}
createReportItems={this.createReportItems.bind(this)}
/>
)}
......@@ -421,6 +422,7 @@ export default class ReportItems extends Component {
<EditReportItems
onClickClose={() => this.setState({ edit: false })}
data={this.state.listData[this.state.selectIndex]}
refresh={this.getData.bind(this)}
updateReportItems={this.updateReportItems.bind(this)}
/>
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment