|
@@ -82,7 +82,6 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
name: this.state.nameSearch,
|
|
|
province: !(this.state.addressSearch).length ? this.state.provinceSearch : this.state.addressSearch[0],
|
|
|
city: !(this.state.addressSearch).length ? '' : this.state.addressSearch[1],
|
|
|
- //area: this.state.addressSearch?this.state.addressSearch[2].value:'',
|
|
|
status: this.state.statusSearch,
|
|
|
industry: this.state.industrySearch,
|
|
|
businessAudit: this.state.serviceCertificationSearch,
|
|
@@ -91,6 +90,7 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
lvl: this.state.lvlSearch,
|
|
|
listed: this.state.listedSearch, //是否上市
|
|
|
highTechZone: this.state.highTechZoneSearch, //是否高新
|
|
|
+ consultant: this.state.consultant,
|
|
|
startDate: this.state.releaseDate[0],
|
|
|
endDate: this.state.releaseDate[1],
|
|
|
isMember: this.state.isMemberSearch,
|
|
@@ -129,6 +129,7 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
international: thisdata.international,
|
|
|
expert: thisdata.expert,
|
|
|
celebrity: thisdata.celebrity,
|
|
|
+ consultant: thisdata.consultant,
|
|
|
highTechZone: thisdata.highTechZone,
|
|
|
locationProvince: thisdata.province ? thisdata.province + '-' + thisdata.city || '' + '-' + thisdata.area : '--'
|
|
|
|
|
@@ -140,7 +141,8 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
|
|
|
this.setState({
|
|
|
dataSource: theArr,
|
|
|
- pagination: this.state.pagination
|
|
|
+ pagination: this.state.pagination,
|
|
|
+ selectedRowKeys:[]
|
|
|
});
|
|
|
}.bind(this),
|
|
|
}).always(function() {
|
|
@@ -549,6 +551,12 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
key: 'celebrity',
|
|
|
render: text => { return getWhether(text) }
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '是否咨询师',
|
|
|
+ dataIndex: 'consultant',
|
|
|
+ key: 'consultant',
|
|
|
+ render: text => { return getWhether(text) }
|
|
|
+ },
|
|
|
{
|
|
|
title: '是否会员',
|
|
|
dataIndex: 'isMember',
|
|
@@ -1105,6 +1113,7 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
sex: this.state.sex,
|
|
|
expert: this.state.expert,
|
|
|
celebrity: this.state.celebrity,
|
|
|
+ consultant: this.state.consultant,
|
|
|
international: this.state.international,
|
|
|
fixedTel: this.state.fixedTel,
|
|
|
qq: this.state.qq,
|
|
@@ -1194,6 +1203,7 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
introduction: thisData.introduction,
|
|
|
expert: thisData.expert,
|
|
|
celebrity: thisData.celebrity,
|
|
|
+ consultant: thisData.consultant,
|
|
|
international: thisData.international,
|
|
|
investment: thisData.investment,
|
|
|
professionalTitle: thisData.professionalTitle,
|
|
@@ -1468,7 +1478,8 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
});
|
|
|
},
|
|
|
//新增联系人保存函数
|
|
|
- submitcontactman() {
|
|
|
+ submitcontactman(e) {
|
|
|
+ e.preventDefault();
|
|
|
this.setState({
|
|
|
loading: true
|
|
|
})
|
|
@@ -1765,7 +1776,8 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
})
|
|
|
},
|
|
|
//tab2联系人保存
|
|
|
- contactSave() {
|
|
|
+ contactSave(e) {
|
|
|
+ e.preventDefault();
|
|
|
let err = '';
|
|
|
let contactArr = this.state.contactList;
|
|
|
contactArr.map(function(item) {
|
|
@@ -2449,6 +2461,17 @@ const IndividualCustomer = Form.create()(React.createClass({
|
|
|
<Radio value={1}>是</Radio>
|
|
|
</Radio.Group>
|
|
|
</FormItem>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="咨询师"
|
|
|
+ >
|
|
|
+ <Radio.Group value={this.state.consultant} onChange={(e) => {
|
|
|
+ this.setState({ consultant: e.target.value })
|
|
|
+ }}>
|
|
|
+ <Radio value={0}>否</Radio>
|
|
|
+ <Radio value={1}>是</Radio>
|
|
|
+ </Radio.Group>
|
|
|
+ </FormItem>
|
|
|
<FormItem className="half-item"
|
|
|
{...formItemLayout}
|
|
|
label="国际化"
|