| | |
| | | companyName: '', |
| | | companyLegal: '', |
| | | companyTel: '', |
| | | }, |
| | | }, |
| | | resetKey: Date.now(), |
| | | closeKey: Date.now() |
| | | }; |
| | |
| | | formData: data, |
| | | }); |
| | | this.setState({ loading: true }) |
| | | Fetch.socialCompany({...data}) |
| | | Fetch.socialCompany({ ...data }) |
| | | .then(res => { |
| | | for (var i = 0; i < res.length; i++) { |
| | | res[i]['index'] = i + 1; |
| | |
| | | getData = () => { |
| | | const { formdata } = this.state; |
| | | this.setState({ loading: true }) |
| | | Fetch.socialCompany({formdata}) |
| | | Fetch.socialCompany({ formdata }) |
| | | .then(res => { |
| | | for (var i = 0; i < res.length; i++) { |
| | | res[i]['index'] = i + 1; |
| | |
| | | |
| | | <div className="app-page"> |
| | | <HeadView history={this.props.history} /> |
| | | <div style={{ marginLeft: '90%', marginBottom: '20px', marginTop: '20px' }}> |
| | | <Button type="primary" size='large' onClick={() => this.showModal('new')}>新增</Button> |
| | | </div> |
| | | <div style={{ background: '#fff', margin: 20 }}> |
| | | <CommonSearchForm |
| | | {...this.props} |