|
@@ -32,8 +32,9 @@ const Teamcustomer = React.createClass({
|
|
contactTel:this.state.contactTelt,//联系人手机
|
|
contactTel:this.state.contactTelt,//联系人手机
|
|
companyIntention:this.state.companyIntentiont,//意向服务
|
|
companyIntention:this.state.companyIntentiont,//意向服务
|
|
followSituation:this.state.followSituationt,//最新跟进进度
|
|
followSituation:this.state.followSituationt,//最新跟进进度
|
|
- //releaseDateStartDate: this.state.releaseDate[0],
|
|
|
|
- //releaseDateEndDate: this.state.releaseDate[1],
|
|
|
|
|
|
+ startDate: this.state.releaseDate[0],
|
|
|
|
+ endDate: this.state.releaseDate[1],
|
|
|
|
+ adminName: this.state.adminNamet, //名称1
|
|
},
|
|
},
|
|
success: function (data) {
|
|
success: function (data) {
|
|
let theArr = [];
|
|
let theArr = [];
|
|
@@ -179,7 +180,7 @@ const Teamcustomer = React.createClass({
|
|
<Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
|
|
<Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
|
|
)
|
|
)
|
|
});
|
|
});
|
|
- let auditArr = [];
|
|
|
|
|
|
+ let auditArr = [];
|
|
cityArr.map(function (item) {
|
|
cityArr.map(function (item) {
|
|
auditArr.push(
|
|
auditArr.push(
|
|
<Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
|
|
<Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
|
|
@@ -188,7 +189,7 @@ const Teamcustomer = React.createClass({
|
|
this.state.customerStatuarr = theArr;
|
|
this.state.customerStatuarr = theArr;
|
|
this.state.intentionalOption = intentionalArr;
|
|
this.state.intentionalOption = intentionalArr;
|
|
this.state.newOption = newArr;
|
|
this.state.newOption = newArr;
|
|
- this.state.auditStatusOption = auditArr;
|
|
|
|
|
|
+ this.state.auditStatusOption = auditArr;
|
|
|
|
|
|
if (window.location.search) {
|
|
if (window.location.search) {
|
|
let theObj = getSearchUrl(window.location.search);
|
|
let theObj = getSearchUrl(window.location.search);
|
|
@@ -212,7 +213,8 @@ const Teamcustomer = React.createClass({
|
|
},
|
|
},
|
|
reset() {
|
|
reset() {
|
|
this.state.customerTypet=undefined;
|
|
this.state.customerTypet=undefined;
|
|
- this.state.companyNamet='';
|
|
|
|
|
|
+ this.state.companyNamet='';
|
|
|
|
+ this.state.adminNamet='';
|
|
this.state.id = undefined;
|
|
this.state.id = undefined;
|
|
this.state.shareTypet = undefined;
|
|
this.state.shareTypet = undefined;
|
|
this.state.companyIntentiont = undefined;
|
|
this.state.companyIntentiont = undefined;
|
|
@@ -220,9 +222,8 @@ const Teamcustomer = React.createClass({
|
|
this.state.locationProvincet = undefined;
|
|
this.state.locationProvincet = undefined;
|
|
this.state.customerStatust = undefined;
|
|
this.state.customerStatust = undefined;
|
|
this.state.contactNamet = undefined;
|
|
this.state.contactNamet = undefined;
|
|
- this.state.contactTelt = undefined;
|
|
|
|
- this.state.contactNamet = undefined;
|
|
|
|
- this.state.releaseDatet = [];
|
|
|
|
|
|
+ this.state.contactTelt = undefined;
|
|
|
|
+ this.state.releaseDate = [];
|
|
this.loadData();
|
|
this.loadData();
|
|
},
|
|
},
|
|
searchSwitch() {
|
|
searchSwitch() {
|
|
@@ -264,8 +265,16 @@ const Teamcustomer = React.createClass({
|
|
value={this.state.locationProvincet}
|
|
value={this.state.locationProvincet}
|
|
onChange={(e) => { this.setState({ locationProvincet: e }) }}>
|
|
onChange={(e) => { this.setState({ locationProvincet: e }) }}>
|
|
{this.state.auditStatusOption}
|
|
{this.state.auditStatusOption}
|
|
- </Select>
|
|
|
|
- <Button type="primary" onClick={this.search}>搜索</Button>
|
|
|
|
|
|
+ </Select>
|
|
|
|
+ <Input placeholder="跟单人"
|
|
|
|
+ value={this.state.adminNamet}
|
|
|
|
+ onChange={(e) => { this.setState({ adminNamet: e.target.value }); }} />
|
|
|
|
+ <span>发布时间 : </span>
|
|
|
|
+ <RangePicker
|
|
|
|
+ value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
|
|
|
|
+ this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}
|
|
|
|
+ onChange={(data, dataString) => { this.setState({ releaseDate: dataString }); }} />
|
|
|
|
+ <Button type="primary" onClick={this.search} style={{marginLeft:'30px'}}>搜索</Button>
|
|
<Button onClick={this.reset}>重置</Button>
|
|
<Button onClick={this.reset}>重置</Button>
|
|
</div>
|
|
</div>
|
|
<div className="patent-table">
|
|
<div className="patent-table">
|