|  | @@ -431,6 +431,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  			ContactsLists: [{
 |  |  			ContactsLists: [{
 | 
												
													
														
															|  |  					title: '姓名',
 |  |  					title: '姓名',
 | 
												
													
														
															|  |  					dataIndex: 'name',
 |  |  					dataIndex: 'name',
 | 
												
													
														
															|  | 
 |  | +					width:100,
 | 
												
													
														
															|  |  					key: 'name',
 |  |  					key: 'name',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.name} placeholder="姓名" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.name} placeholder="姓名" key={record.id}
 | 
												
											
												
													
														
															|  | @@ -440,6 +441,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  				}, {
 |  |  				}, {
 | 
												
													
														
															|  |  					title: '联系人部门',
 |  |  					title: '联系人部门',
 | 
												
													
														
															|  |  					dataIndex: 'depatrment',
 |  |  					dataIndex: 'depatrment',
 | 
												
													
														
															|  | 
 |  | +					width:100,
 | 
												
													
														
															|  |  					key: 'depatrment',
 |  |  					key: 'depatrment',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.depatrment} placeholder="联系人部门" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.depatrment} placeholder="联系人部门" key={record.id}
 | 
												
											
												
													
														
															|  | @@ -448,14 +450,24 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  				}, {
 |  |  				}, {
 | 
												
													
														
															|  |  					title: '联系人职务',
 |  |  					title: '联系人职务',
 | 
												
													
														
															|  |  					dataIndex: 'position',
 |  |  					dataIndex: 'position',
 | 
												
													
														
															|  | 
 |  | +					width:100,
 | 
												
													
														
															|  |  					key: 'position',
 |  |  					key: 'position',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.position} placeholder="联系人职务" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.position} placeholder="联系人职务" key={record.id}
 | 
												
													
														
															|  |  	                  onChange={(e) => { record.position = e.target.value; this.setState({ contactList: this.state.contactList }); }} style={{width:'120px'}}/> : <span>{text}</span>
 |  |  	                  onChange={(e) => { record.position = e.target.value; this.setState({ contactList: this.state.contactList }); }} style={{width:'120px'}}/> : <span>{text}</span>
 | 
												
													
														
															|  |  					}
 |  |  					}
 | 
												
													
														
															|  |  				}, {
 |  |  				}, {
 | 
												
													
														
															|  | 
 |  | +                    title: '主要联系人',
 | 
												
													
														
															|  | 
 |  | +                    dataIndex: 'major',
 | 
												
													
														
															|  | 
 |  | +                    width:100,
 | 
												
													
														
															|  | 
 |  | +                    key: 'major',
 | 
												
													
														
															|  | 
 |  | +                    render:(text) => {
 | 
												
													
														
															|  | 
 |  | +                    	return text?'是':"否"
 | 
												
													
														
															|  | 
 |  | +                    }
 | 
												
													
														
															|  | 
 |  | +                },{
 | 
												
													
														
															|  |  					title: '手机号码',
 |  |  					title: '手机号码',
 | 
												
													
														
															|  |  					dataIndex: 'mobile',
 |  |  					dataIndex: 'mobile',
 | 
												
													
														
															|  | 
 |  | +					width:100,
 | 
												
													
														
															|  |  					key: 'mobile',
 |  |  					key: 'mobile',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.mobile} placeholder="手机号码" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.mobile} placeholder="手机号码" key={record.id}
 | 
												
											
												
													
														
															|  | @@ -464,6 +476,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  				}, {
 |  |  				}, {
 | 
												
													
														
															|  |  					title: '微信',
 |  |  					title: '微信',
 | 
												
													
														
															|  |  					dataIndex: 'wechat',
 |  |  					dataIndex: 'wechat',
 | 
												
													
														
															|  | 
 |  | +					width:100,
 | 
												
													
														
															|  |  					key: 'wechat',
 |  |  					key: 'wechat',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.wechat} placeholder="微信" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.wechat} placeholder="微信" key={record.id}
 | 
												
											
												
													
														
															|  | @@ -472,6 +485,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  				}, {
 |  |  				}, {
 | 
												
													
														
															|  |  					title: '联系人QQ',
 |  |  					title: '联系人QQ',
 | 
												
													
														
															|  |  					dataIndex: 'qq',
 |  |  					dataIndex: 'qq',
 | 
												
													
														
															|  | 
 |  | +					width:100,
 | 
												
													
														
															|  |  					key: 'qq',
 |  |  					key: 'qq',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.qq} placeholder="联系人QQ" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.qq} placeholder="联系人QQ" key={record.id}
 | 
												
											
												
													
														
															|  | @@ -480,6 +494,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  				}, {
 |  |  				}, {
 | 
												
													
														
															|  |  					title: '电子邮箱',
 |  |  					title: '电子邮箱',
 | 
												
													
														
															|  |  					dataIndex: 'email',
 |  |  					dataIndex: 'email',
 | 
												
													
														
															|  | 
 |  | +					width:"100",
 | 
												
													
														
															|  |  					key: 'email',
 |  |  					key: 'email',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  |  						return adminData.isSuperAdmin ? <Input value={record.email} placeholder="电子邮箱" key={record.id}
 |  |  						return adminData.isSuperAdmin ? <Input value={record.email} placeholder="电子邮箱" key={record.id}
 | 
												
											
												
													
														
															|  | @@ -491,12 +506,13 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  					dataIndex: 'dels',
 |  |  					dataIndex: 'dels',
 | 
												
													
														
															|  |  					key: 'dels',
 |  |  					key: 'dels',
 | 
												
													
														
															|  |  					render: (text, record, index) => {
 |  |  					render: (text, record, index) => {
 | 
												
													
														
															|  | -						return adminData.isSuperAdmin ? <div>
 |  | 
 | 
												
													
														
															|  | -                            <Popconfirm title="是否删除?" onConfirm={(e)=>{this.confirmDelet(record)}} okText="删除" cancelText="不删除">
 |  | 
 | 
												
													
														
															|  | -							    <Button style={{marginRight:'10px',color:'#ffffff',background:'#f00',border:'none'}}>删除</Button>
 |  | 
 | 
												
													
														
															|  | -							</Popconfirm>
 |  | 
 | 
												
													
														
															|  | -							{record.name?<Button style={{marginRight:'10px',color:'#ffffff',background:'green',border:'none'}} onClick={(e)=>{e.stopPropagation(),this.mainContact(record)}}>设为主要联系人</Button>:''}
 |  | 
 | 
												
													
														
															|  | -                        </div> : <span>无权限</span>
 |  | 
 | 
												
													
														
															|  | 
 |  | +						return <div>{adminData.isSuperAdmin ? 
 | 
												
													
														
															|  | 
 |  | +		                            <Popconfirm title="是否删除?" onConfirm={(e)=>{this.confirmDelet(record)}} okText="删除" cancelText="不删除">
 | 
												
													
														
															|  | 
 |  | +									    <Button style={{marginRight:'10px',color:'#ffffff',background:'#f00',border:'none'}}>删除</Button>
 | 
												
													
														
															|  | 
 |  | +									</Popconfirm>
 | 
												
													
														
															|  | 
 |  | +									:''}
 | 
												
													
														
															|  | 
 |  | +								{record.name?<Button style={{marginRight:'10px',color:'#ffffff',background:'green',border:'none'}} onClick={(e)=>{e.stopPropagation(),this.mainContact(record)}}>设为主要联系人</Button>:''}
 | 
												
													
														
															|  | 
 |  | +                            </div>
 | 
												
													
														
															|  |  					}
 |  |  					}
 | 
												
													
														
															|  |  				}
 |  |  				}
 | 
												
													
														
															|  |  			],
 |  |  			],
 | 
												
											
												
													
														
															|  | @@ -665,6 +681,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |  							wechat: thisdata.wechat,
 |  |  							wechat: thisdata.wechat,
 | 
												
													
														
															|  |  							depatrment: thisdata.depatrment,
 |  |  							depatrment: thisdata.depatrment,
 | 
												
													
														
															|  |  							position: thisdata.position,
 |  |  							position: thisdata.position,
 | 
												
													
														
															|  | 
 |  | +							major:thisdata.major
 | 
												
													
														
															|  |  						});
 |  |  						});
 | 
												
													
														
															|  |  					};
 |  |  					};
 | 
												
													
														
															|  |  
 |  |  
 | 
												
											
												
													
														
															|  | @@ -2100,7 +2117,7 @@ const QueryCustomer = Form.create()(React.createClass({
 | 
												
													
														
															|  |                  <Modal	
 |  |                  <Modal	
 | 
												
													
														
															|  |  				      className="customeDetails"				      
 |  |  				      className="customeDetails"				      
 | 
												
													
														
															|  |  			          title="个人客户详情"
 |  |  			          title="个人客户详情"
 | 
												
													
														
															|  | -			          width='1200px'
 |  | 
 | 
												
													
														
															|  | 
 |  | +			          width='1300px'
 | 
												
													
														
															|  |  			          visible={this.state.modal5Visible}
 |  |  			          visible={this.state.modal5Visible}
 | 
												
													
														
															|  |  			          onOk={this.detailsModal}
 |  |  			          onOk={this.detailsModal}
 | 
												
													
														
															|  |  			          onCancel={this.detailsModal}
 |  |  			          onCancel={this.detailsModal}
 |