|
@@ -414,8 +414,7 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
let pro='';
|
|
|
let city='';
|
|
|
let dis='';
|
|
|
- console.log(this.state.ProvinceCity);
|
|
|
- if(this.state.ProvinceCity==undefined||this.state.ProvinceCity.length==0){
|
|
|
+ if(this.state.ProvinceCity==undefined||this.state.ProvinceCity.length==0){
|
|
|
message.warning('请选择项目有效范围');
|
|
|
return false;
|
|
|
}else{
|
|
@@ -451,8 +450,10 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
minLogo:theorgCodeUrl,
|
|
|
maxLogo:thecompanyLogoUrl,
|
|
|
introduce:this.state.editIntroduce,//项目介绍
|
|
|
+ projectUrl:this.state.editProjectUrl,//项目地址
|
|
|
valueEffect:this.state.editValueEffect,//项目价值及作用
|
|
|
clientSize:this.state.editClientSize,//项目基本条件
|
|
|
+ boutique:this.state.editBoutique,
|
|
|
}
|
|
|
}).done(function (data) {
|
|
|
this.setState({
|
|
@@ -538,8 +539,10 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
editCreateId:thisdata.createName,//创建人
|
|
|
editTime:thisdata.createTimeFormattedDate,//创建时间
|
|
|
editIntroduce:thisdata.introduce,//服务内容
|
|
|
+ editProjectUrl:thisdata.projectUrl,//项目地址
|
|
|
editValueEffect:thisdata.valueEffect,//价值及作用
|
|
|
editClientSize:thisdata.clientSize,//基本条件
|
|
|
+ editBoutique:thisdata.boutique,//是否精品
|
|
|
orgCodeUrl: thisdata.minLogo ? splitUrl(thisdata.minLogo, ',', globalConfig.avatarHost + '/upload') : [],
|
|
|
cditCompanyLogoUrl: thisdata.maxLogo ? splitUrl(thisdata.maxLogo, ',', globalConfig.avatarHost + '/upload') : [],
|
|
|
|
|
@@ -563,8 +566,10 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
editCreateId:thisdata.createName,//创建人
|
|
|
editTime:thisdata.createTimeFormattedDate,//创建时间
|
|
|
editIntroduce:thisdata.introduce,//服务内容
|
|
|
+ editProjectUrl:thisdata.projectUrl,//项目地址
|
|
|
editValueEffect:thisdata.valueEffect,//价值及作用
|
|
|
editClientSize:thisdata.clientSize,//基本条件
|
|
|
+ editBoutique:thisdata.boutique,//是否精品
|
|
|
orgCodeUrl: thisdata.minLogo ? splitUrl(thisdata.minLogo, ',', globalConfig.avatarHost + '/upload') : [],
|
|
|
companyLogoUrl: thisdata.maxLogo ? splitUrl(thisdata.maxLogo, ',', globalConfig.avatarHost + '/upload') : [],
|
|
|
editDataSource: theArr,
|
|
@@ -724,6 +729,7 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
data:{
|
|
|
bname:this.state.categoryName,//项目名称
|
|
|
cid:superText,//品类类ID
|
|
|
+ boutique:this.state.boutique?this.state.boutique:'0',
|
|
|
country:isCountry,//是否全国
|
|
|
province:pro,//省
|
|
|
city:city,//市
|
|
@@ -937,6 +943,7 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
this.state.categoryName='';//项目名称清零
|
|
|
this.state.ProvinceCity=undefined;
|
|
|
this.state.addCid=undefined;
|
|
|
+ this.state.boutique='';
|
|
|
},
|
|
|
//规格新增清零
|
|
|
formatReset() {
|
|
@@ -1087,6 +1094,20 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
<span className="mandatory" style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
+ <div className="clearfix">
|
|
|
+ <FormItem
|
|
|
+ labelCol={{ span: 7 }}
|
|
|
+ wrapperCol={{ span: 12 }}
|
|
|
+ label="是否精品"
|
|
|
+ >
|
|
|
+ <Radio.Group value={this.state.boutique} onChange={(e) => {
|
|
|
+ this.setState({ boutique: e.target.value })
|
|
|
+ }}>
|
|
|
+ <Radio value={1}>精品</Radio>
|
|
|
+ <Radio value={0}>非精品</Radio>
|
|
|
+ </Radio.Group>
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
<div className="clearfix">
|
|
|
<FormItem
|
|
|
labelCol={{ span: 7 }}
|
|
@@ -1383,7 +1404,19 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
onChange={(e,pre) => { this.setState({ ProvinceCity: e }) }} />
|
|
|
<span style={{color:'red',marginLeft:'5px'}}>*</span>
|
|
|
</FormItem>
|
|
|
- </div>
|
|
|
+ <FormItem className="half-item"
|
|
|
+ labelCol={{ span: 4 }}
|
|
|
+ wrapperCol={{ span: 12 }}
|
|
|
+ label="是否精品"
|
|
|
+ >
|
|
|
+ <Radio.Group value={this.state.editBoutique} onChange={(e) => {
|
|
|
+ this.setState({ editBoutique: e.target.value })
|
|
|
+ }}>
|
|
|
+ <Radio value={1}>精品</Radio>
|
|
|
+ <Radio value={0}>非精品</Radio>
|
|
|
+ </Radio.Group>
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
<div className="clearfix" style={{paddingLeft:'60px'}}>
|
|
|
<FormItem className="half-item"
|
|
|
labelCol={{ span: 4 }}
|
|
@@ -1464,6 +1497,15 @@ const BusinessProject=Form.create()(React.createClass({
|
|
|
<FormItem
|
|
|
labelCol={{ span: 4 }}
|
|
|
wrapperCol={{ span: 12 }}
|
|
|
+ label="项目地址" >
|
|
|
+ <Input type="textarea" rows={1} placeholder="业务项目服务内容" value={this.state.editProjectUrl}
|
|
|
+ onChange={(e) => { this.setState({ editProjectUrl: e.target.value }) }}/>
|
|
|
+ </FormItem>
|
|
|
+ </div>
|
|
|
+ <div className="clearfix">
|
|
|
+ <FormItem
|
|
|
+ labelCol={{ span: 4 }}
|
|
|
+ wrapperCol={{ span: 12 }}
|
|
|
label="业务项目服务内容" >
|
|
|
<Input type="textarea" rows={4} placeholder="业务项目服务内容" value={this.state.editIntroduce}
|
|
|
onChange={(e) => { this.setState({ editIntroduce: e.target.value }) }}/>
|