|  | @@ -12,64 +12,6 @@ const TabPane = Tabs.TabPane;
 | 
	
		
			
				|  |  |  import {socialAttribute,newFollow,lvl, customerStatus,intentionalService} from '../../../dataDic.js';
 | 
	
		
			
				|  |  |  import {getcustomerStatue,getprovince,getCompanyIntention,getfllowSituation,getContactType } from '../../../tools.js';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -const dataSource = [{  
 | 
	
		
			
				|  |  | -    name: 'AntDesign',
 | 
	
		
			
				|  |  | -    id: '10000',
 | 
	
		
			
				|  |  | -  }, {
 | 
	
		
			
				|  |  | -    name: 'AntDesign UI',
 | 
	
		
			
				|  |  | -    id: '10600',
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | -}, {
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  | -    name: 'AntDesign UI 有多好',
 | 
	
		
			
				|  |  | -    id: '60100',
 | 
	
		
			
				|  |  | -  }, {
 | 
	
		
			
				|  |  | -    name: 'AntDesign 是啥',
 | 
	
		
			
				|  |  | -    id: '30010',
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  | -}, {
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  | -    name: 'AntDesign 是一个设计语言',
 | 
	
		
			
				|  |  | -    id: '100000',
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  | -}];
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -const data = [{
 | 
	
		
			
				|  |  | -id: '1',
 | 
	
		
			
				|  |  | -name: '长沙科技1',
 | 
	
		
			
				|  |  | -contacts: '午安行',
 | 
	
		
			
				|  |  | -contactMobile: '321312311',
 | 
	
		
			
				|  |  | -expert:'0',
 | 
	
		
			
				|  |  | -serviceCertification:'0',
 | 
	
		
			
				|  |  | -userCertification:'0',
 | 
	
		
			
				|  |  | -locationProvince:'广州',
 | 
	
		
			
				|  |  | -}, {
 | 
	
		
			
				|  |  | -id: '2',
 | 
	
		
			
				|  |  | -name: '上海科技',
 | 
	
		
			
				|  |  | -contacts: '老王',
 | 
	
		
			
				|  |  | -contactMobile: '231321311',
 | 
	
		
			
				|  |  | -expert:'1',
 | 
	
		
			
				|  |  | -serviceCertification:'1',
 | 
	
		
			
				|  |  | -userCertification:'0',
 | 
	
		
			
				|  |  | -locationProvince:'湖南-湘潭',
 | 
	
		
			
				|  |  | -Province:'1',
 | 
	
		
			
				|  |  | -city:'38',
 | 
	
		
			
				|  |  | -eare:'500',
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -}, {
 | 
	
		
			
				|  |  | -id: '3',
 | 
	
		
			
				|  |  | -name: '广州科技',
 | 
	
		
			
				|  |  | -contacts: '老李',
 | 
	
		
			
				|  |  | -contactMobile: '1123213123',
 | 
	
		
			
				|  |  | -expert:'1',
 | 
	
		
			
				|  |  | -serviceCertification:'0',
 | 
	
		
			
				|  |  | -userCertification:'1',
 | 
	
		
			
				|  |  | -locationProvince:'北京',
 | 
	
		
			
				|  |  | -Province:'6',
 | 
	
		
			
				|  |  | -city:'24',
 | 
	
		
			
				|  |  | -eare:'12',
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -];
 | 
	
		
			
				|  |  |  //图片组件
 | 
	
		
			
				|  |  |  const PicturesWall = React.createClass({
 | 
	
		
			
				|  |  |      getInitialState() {
 | 
	
	
		
			
				|  | @@ -256,7 +198,7 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                      dataIndex: 'adminName',
 | 
	
		
			
				|  |  |                      key: 'adminName',
 | 
	
		
			
				|  |  |                  }, {
 | 
	
		
			
				|  |  | -                    title: '业务意向进度',
 | 
	
		
			
				|  |  | +                    title: '意向进度',
 | 
	
		
			
				|  |  |                      dataIndex: 'followSituation',
 | 
	
		
			
				|  |  |                      key: 'followSituation', 
 | 
	
		
			
				|  |  |                      render:text=>{return getfllowSituation(text)}
 | 
	
	
		
			
				|  | @@ -313,7 +255,7 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                      key: 'adminName',                    
 | 
	
		
			
				|  |  |                  }, 
 | 
	
		
			
				|  |  |                  {
 | 
	
		
			
				|  |  | -                    title: '业务意向进度',
 | 
	
		
			
				|  |  | +                    title: '意向进度',
 | 
	
		
			
				|  |  |                      dataIndex: 'followSituation',
 | 
	
		
			
				|  |  |                      key:'followSituation',  
 | 
	
		
			
				|  |  |                      render: text => { return getfllowSituation(text) }
 | 
	
	
		
			
				|  | @@ -480,15 +422,14 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |                    loading: true
 | 
	
		
			
				|  |  |              	}); 	
 | 
	
		
			
				|  |  |                  $.ajax({
 | 
	
		
			
				|  |  | -                    method: "get",
 | 
	
		
			
				|  |  | +                    method: "post",
 | 
	
		
			
				|  |  |                      dataType: "json",
 | 
	
		
			
				|  |  |                      url:globalConfig.context + '/api/admin/customer/updateBusiness',
 | 
	
		
			
				|  |  |                      data: {         	
 | 
	
		
			
				|  |  |                      	businessId:this.state.rowId, 
 | 
	
		
			
				|  |  |                      	followSituation:this.state.followSituation, 
 | 
	
		
			
				|  |  |                      	customerStatus:this.state.customerStatus, 
 | 
	
		
			
				|  |  | -                    	result:this.state.result, 
 | 
	
		
			
				|  |  | -                    	
 | 
	
		
			
				|  |  | +                    	remarks:this.state.remarks, 	
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }).done(function (data) { 
 | 
	
		
			
				|  |  |                  	 this.setState({
 | 
	
	
		
			
				|  | @@ -1186,7 +1127,7 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			    			   	<div className="clearfix">
 | 
	
		
			
				|  |  |  			    			   		{businessIds!=''?<div><FormItem className="half-item"
 | 
	
		
			
				|  |  |  						                            {...formItemLayout}
 | 
	
		
			
				|  |  | -						                             label="业务意向名称"
 | 
	
		
			
				|  |  | +						                             label="意向名称"
 | 
	
		
			
				|  |  |  						                             >
 | 
	
		
			
				|  |  |  					    			    <span>{getCompanyIntention(this.state.businessGlossoryId)}</span>
 | 
	
		
			
				|  |  |  					    			</FormItem>
 | 
	
	
		
			
				|  | @@ -1209,7 +1150,7 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			    			    	</FormItem></div>
 | 
	
		
			
				|  |  |  										:<div><FormItem className="half-item"
 | 
	
		
			
				|  |  |  			                           {...formItemLayout}
 | 
	
		
			
				|  |  | -			                           label="业务意向名称"
 | 
	
		
			
				|  |  | +			                           label="意向名称"
 | 
	
		
			
				|  |  |  		                               > 
 | 
	
		
			
				|  |  |  			                          <Select placeholder="服务意向名称" value={this.state.businessGlossoryId} onChange={(e) => {
 | 
	
		
			
				|  |  |  											this.setState({businessGlossoryId:e})}} style={{width:'150px'}}>
 | 
	
	
		
			
				|  | @@ -1263,12 +1204,12 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			    			    	</FormItem>
 | 
	
		
			
				|  |  |  			    			   		<FormItem className="half-item" 
 | 
	
		
			
				|  |  |  			                           {...formItemLayout}
 | 
	
		
			
				|  |  | -			                           label="业务意向进度"
 | 
	
		
			
				|  |  | +			                           label="意向进度"
 | 
	
		
			
				|  |  |  		                               > 
 | 
	
		
			
				|  |  | -									             <Select  placeholder="业务意向进度" value={this.state.followSituation}
 | 
	
		
			
				|  |  | +									             <Select  placeholder="意向进度" value={this.state.followSituation}
 | 
	
		
			
				|  |  |  	                           				 onChange={(e) => { this.setState({ followSituation: e }) }}>
 | 
	
		
			
				|  |  |  		                                    {
 | 
	
		
			
				|  |  | -		                                        intentionalService.map(function (item) {
 | 
	
		
			
				|  |  | +		                                        newFollow.map(function (item) {
 | 
	
		
			
				|  |  |  		                                            return <Select.Option key={item.value} >{item.key}</Select.Option>
 | 
	
		
			
				|  |  |  		                                        })
 | 
	
		
			
				|  |  |  		                                    }
 | 
	
	
		
			
				|  | @@ -1276,9 +1217,9 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  		                   		    </FormItem>
 | 
	
		
			
				|  |  |  					    			<FormItem className="half-item" 
 | 
	
		
			
				|  |  |  			                           {...formItemLayout}
 | 
	
		
			
				|  |  | -			                           label="业务客户状态"
 | 
	
		
			
				|  |  | +			                           label="客户状态"
 | 
	
		
			
				|  |  |  	                                   > 
 | 
	
		
			
				|  |  | -									    <Select placeholder="业务客户状态" value={this.state.customerStatus}
 | 
	
		
			
				|  |  | +									    <Select placeholder="客户状态" value={this.state.customerStatus}
 | 
	
		
			
				|  |  |  	                       				 	onChange={(e) => { this.setState({ customerStatus: e }) }}>
 | 
	
		
			
				|  |  |  	                                        {
 | 
	
		
			
				|  |  |  	                                        customerStatus.map(function (item) {
 | 
	
	
		
			
				|  | @@ -1291,8 +1232,8 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			                   		    <FormItem
 | 
	
		
			
				|  |  |  					                        labelCol={{ span: 4 }}
 | 
	
		
			
				|  |  |  					                        wrapperCol={{ span: 16 }}
 | 
	
		
			
				|  |  | -					                        label="业务意向说明" >					                        
 | 
	
		
			
				|  |  | -					                        <Input type="textarea" rows={4} placeholder="业务意向说明" value={this.state.remarks}
 | 
	
		
			
				|  |  | +					                        label="意向说明" >					                        
 | 
	
		
			
				|  |  | +					                        <Input type="textarea" rows={4} placeholder="意向说明" value={this.state.remarks}
 | 
	
		
			
				|  |  |  	                           				 	onChange={(e) => { this.setState({ remarks: e.target.value }) }}/>					                           
 | 
	
		
			
				|  |  |  					                    </FormItem>
 | 
	
		
			
				|  |  |  					                </div>    
 | 
	
	
		
			
				|  | @@ -1374,7 +1315,7 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			               	<div className="clearfix">
 | 
	
		
			
				|  |  |  		                    	<FormItem className="half-item"
 | 
	
		
			
				|  |  |  				                   {...formItemLayout}
 | 
	
		
			
				|  |  | -				                    label="业务意向名称"
 | 
	
		
			
				|  |  | +				                    label="意向名称"
 | 
	
		
			
				|  |  |  			                        >
 | 
	
		
			
				|  |  |  			                        <span>{getCompanyIntention(theInformation.businessGlossoryId)}</span>
 | 
	
		
			
				|  |  |  			                    </FormItem>
 | 
	
	
		
			
				|  | @@ -1398,9 +1339,9 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			                    </FormItem>
 | 
	
		
			
				|  |  |  								<FormItem className="half-item" 
 | 
	
		
			
				|  |  |  		                           {...formItemLayout}
 | 
	
		
			
				|  |  | -		                           label="业务意向进度"
 | 
	
		
			
				|  |  | +		                           label="意向进度"
 | 
	
		
			
				|  |  |  	                               > 
 | 
	
		
			
				|  |  | -								               <Select  placeholder="业务意向进度" value={this.state.followSituation}
 | 
	
		
			
				|  |  | +								               <Select  placeholder="意向进度" value={this.state.followSituation}
 | 
	
		
			
				|  |  |                             				 onChange={(e) => { this.setState({ followSituation: e }) }}>
 | 
	
		
			
				|  |  |  	                                    {
 | 
	
		
			
				|  |  |  	                                        newFollow.map(function (item) {
 | 
	
	
		
			
				|  | @@ -1411,12 +1352,12 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  	                   		    </FormItem>
 | 
	
		
			
				|  |  |  				    			   		    <FormItem className="half-item" 
 | 
	
		
			
				|  |  |  			                           {...formItemLayout}
 | 
	
		
			
				|  |  | -			                           label="业务客户状态"
 | 
	
		
			
				|  |  | +			                           label="客户状态"
 | 
	
		
			
				|  |  |  		                               > 
 | 
	
		
			
				|  |  | -									 <Select placeholder="业务客户状态" value={this.state.customerStatus}
 | 
	
		
			
				|  |  | +									 <Select placeholder="客户状态" value={this.state.customerStatus}
 | 
	
		
			
				|  |  |                             			onChange={(e) => { this.setState({ customerStatus: e }) }}>
 | 
	
		
			
				|  |  |  	                                {
 | 
	
		
			
				|  |  | -	                                   intentionalService.map(function (item) {
 | 
	
		
			
				|  |  | +	                                   customerStatus.map(function (item) {
 | 
	
		
			
				|  |  |  	                                        return <Select.Option key={item.value} >{item.key}</Select.Option>
 | 
	
		
			
				|  |  |  	                                    })
 | 
	
		
			
				|  |  |  	                                }
 | 
	
	
		
			
				|  | @@ -1426,8 +1367,8 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			                   		    <FormItem
 | 
	
		
			
				|  |  |  					                        labelCol={{ span: 4 }}
 | 
	
		
			
				|  |  |  					                        wrapperCol={{ span: 16 }}
 | 
	
		
			
				|  |  | -					                        label="业务意向说明" >					                        
 | 
	
		
			
				|  |  | -					                        <Input type="textarea" rows={4} placeholder="业务意向说明" value={this.state.remarks}
 | 
	
		
			
				|  |  | +					                        label="意向说明" >					                        
 | 
	
		
			
				|  |  | +					                        <Input type="textarea" rows={4} placeholder="意向说明" value={this.state.remarks}
 | 
	
		
			
				|  |  |  	                           				 	onChange={(e) => { this.setState({ remarks: e.target.value }) }}/>					                           
 | 
	
		
			
				|  |  |  					                    </FormItem>
 | 
	
		
			
				|  |  |  				                  	</div>
 | 
	
	
		
			
				|  | @@ -1554,7 +1495,7 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			    			   	<div className="clearfix">
 | 
	
		
			
				|  |  |  			    			   		<FormItem className="half-item"
 | 
	
		
			
				|  |  |  						                            {...formItemLayout}
 | 
	
		
			
				|  |  | -						                             label="业务意向名称"
 | 
	
		
			
				|  |  | +						                             label="意向名称"
 | 
	
		
			
				|  |  |  						                             >
 | 
	
		
			
				|  |  |  					    			    <span>{getCompanyIntention(this.state.businessGlossoryId)}</span>
 | 
	
		
			
				|  |  |  					    			</FormItem>
 | 
	
	
		
			
				|  | @@ -1583,12 +1524,12 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			    			    	</FormItem>
 | 
	
		
			
				|  |  |  			    			   		<FormItem className="half-item" 
 | 
	
		
			
				|  |  |  			                           {...formItemLayout}
 | 
	
		
			
				|  |  | -			                           label="业务意向进度"
 | 
	
		
			
				|  |  | +			                           label="意向进度"
 | 
	
		
			
				|  |  |  		                               > 
 | 
	
		
			
				|  |  | -									             <Select  placeholder="业务意向进度" value={this.state.followSituation}
 | 
	
		
			
				|  |  | +									             <Select  placeholder="意向进度" value={this.state.followSituation}
 | 
	
		
			
				|  |  |  	                           				 onChange={(e) => { this.setState({ followSituation: e }) }}>
 | 
	
		
			
				|  |  |  		                                    {
 | 
	
		
			
				|  |  | -		                                        intentionalService.map(function (item) {
 | 
	
		
			
				|  |  | +		                                        newFollow.map(function (item) {
 | 
	
		
			
				|  |  |  		                                            return <Select.Option key={item.value} >{item.key}</Select.Option>
 | 
	
		
			
				|  |  |  		                                        })
 | 
	
		
			
				|  |  |  		                                    }
 | 
	
	
		
			
				|  | @@ -1596,9 +1537,9 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  		                   		    </FormItem>
 | 
	
		
			
				|  |  |  					    			<FormItem className="half-item" 
 | 
	
		
			
				|  |  |  			                           {...formItemLayout}
 | 
	
		
			
				|  |  | -			                           label="业务客户状态"
 | 
	
		
			
				|  |  | +			                           label="客户状态"
 | 
	
		
			
				|  |  |  	                                   > 
 | 
	
		
			
				|  |  | -									    <Select placeholder="业务客户状态" value={this.state.customerStatus}
 | 
	
		
			
				|  |  | +									    <Select placeholder="客户状态" value={this.state.customerStatus}
 | 
	
		
			
				|  |  |  	                       				 	onChange={(e) => { this.setState({ customerStatus: e }) }}>
 | 
	
		
			
				|  |  |  	                                        {
 | 
	
		
			
				|  |  |  	                                        customerStatus.map(function (item) {
 | 
	
	
		
			
				|  | @@ -1611,8 +1552,8 @@ const MyBusiness = Form.create()(React.createClass({
 | 
	
		
			
				|  |  |  			                   		    <FormItem
 | 
	
		
			
				|  |  |  					                        labelCol={{ span: 4 }}
 | 
	
		
			
				|  |  |  					                        wrapperCol={{ span: 16 }}
 | 
	
		
			
				|  |  | -					                        label="业务意向说明" >					                        
 | 
	
		
			
				|  |  | -					                        <Input type="textarea" rows={4} placeholder="业务意向说明" value={this.state.remarks}
 | 
	
		
			
				|  |  | +					                        label="意向说明" >					                        
 | 
	
		
			
				|  |  | +					                        <Input type="textarea" rows={4} placeholder="意向说明" value={this.state.remarks}
 | 
	
		
			
				|  |  |  	                           				 	onChange={(e) => { this.setState({ remarks: e.target.value }) }}/>					                           
 | 
	
		
			
				|  |  |  					                    </FormItem>
 | 
	
		
			
				|  |  |  					                </div>    
 |