|
@@ -269,6 +269,7 @@ const UserModal = React.createClass({
|
|
|
this.setState({
|
|
|
id: data.data.id,
|
|
|
mobile: data.data.mobile,
|
|
|
+ contactMobile: data.data.contactMobile,
|
|
|
name: data.data.name,
|
|
|
position: data.data.position,
|
|
|
email: data.data.email,
|
|
@@ -330,6 +331,7 @@ const UserModal = React.createClass({
|
|
|
data: {
|
|
|
id: this.state.id,
|
|
|
mobile: this.state.mobile,
|
|
|
+ contactMobile: this.state.contactMobile,
|
|
|
name: this.state.name,
|
|
|
email: this.state.email,
|
|
|
province: this.state.province,
|
|
@@ -375,6 +377,10 @@ const UserModal = React.createClass({
|
|
|
<Input value={this.state.mobile} onChange={(e) => { this.state.mobile = e.target.value; this.setState({ mobile: this.state.mobile }); }} />
|
|
|
</li>
|
|
|
<li>
|
|
|
+ <span className='modal-text'>联系方式</span>
|
|
|
+ <Input value={this.state.contactMobile} onChange={(e) => { this.state.contactMobile = e.target.value; this.setState({ contactMobile: this.state.contactMobile }); }} />
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
<span className='modal-text'>省份</span>
|
|
|
<div style={{ display: "inline-block", width: '78%' }}>
|
|
|
{this.state.locations.map((item, i) => {
|