| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679 | 
							- /* 
 
- 	@author:李霆
 
- 	@update:2018/05/29
 
- 	@descript:复制粘贴,拿起来就是干!!
 
- */
 
- import React from 'react';
 
- import {
 
- 	Radio,
 
- 	Icon,
 
- 	Button,
 
- 	AutoComplete,
 
- 	Cascader,
 
- 	layout,
 
- 	Input,
 
- 	Select,
 
- 	Tabs,
 
- 	Spin,
 
- 	Popconfirm,
 
- 	Popover,
 
- 	Table,
 
- 	Switch,
 
- 	message,
 
- 	DatePicker,
 
- 	Modal,
 
- 	Upload,
 
- 	Form,
 
- 	Row,
 
- 	Col,
 
- 	TimePicker
 
- } from 'antd';
 
- import ajax from 'jquery/src/ajax/xhr.js';
 
- import $ from 'jquery/src/ajax';
 
- import moment from 'moment';
 
- import './unit.less';
 
- import { citySelect, provinceList, areaSelect } from '@/NewDicProvinceList';
 
- import {
 
- 	socialAttribute,
 
- 	industry,
 
- 	newFollow,
 
- 	auditStatusL,
 
- 	lvl,
 
- 	currentMember,
 
- 	cityArr,
 
- 	statuslist,
 
- 	customerStatus,
 
- 	intentionalService,
 
- 	sex
 
- } from '@/dataDic.js';
 
- import {
 
- 	getCompanyIntention,
 
- 	splitUrl,
 
- 	getIndustry,
 
- 	getStatuslist,
 
- 	getAuditStatus,
 
- 	getContactType,
 
- 	getSocialAttribute,
 
- 	getfllowSituation,
 
- 	beforeUploadFile,
 
- 	getWhether,
 
- 	getcityArr,
 
- 	getcustomerStatue,
 
- 	getfllowSituationOn,
 
- 	getCertification,
 
- 	getcustomerTyp,
 
- 	getLvl,
 
- 	getCurrentMember,
 
- 	getprovince
 
- } from '@/tools.js';
 
- const FormItem = Form.Item;
 
- //图片组件
 
- const PicturesWall = React.createClass({
 
- 	getInitialState() {
 
- 		return {
 
- 			previewVisible: false,
 
- 			previewImage: '',
 
- 			fileList: []
 
- 		};
 
- 	},
 
- 	handleCancel() {
 
- 		this.setState({
 
- 			previewVisible: false
 
- 		});
 
- 	},
 
- 	handlePreview(file) {
 
- 		this.setState({
 
- 			previewImage: file.url || file.thumbUrl,
 
- 			previewVisible: true
 
- 		});
 
- 	},
 
- 	handleChange(info) {
 
- 		let fileList = info.fileList;
 
- 		this.setState({
 
- 			fileList
 
- 		});
 
- 		this.props.fileList(fileList);
 
- 	},
 
- 	componentWillReceiveProps(nextProps) {
 
- 		this.state.fileList = nextProps.pictureUrl;
 
- 	},
 
- 	render() {
 
- 		const { previewVisible, previewImage, fileList } = this.state;
 
- 		const uploadButton = (
 
- 			<div>
 
- 				<Icon type="plus" />
 
- 				<div className="ant-upload-text">点击上传</div>
 
- 			</div>
 
- 		);
 
- 		return (
 
- 			<div style={{ display: 'inline-block' }}>
 
- 				<Upload
 
- 					action={globalConfig.context + '/api/user/uploadPicture'}
 
- 					data={{ sign: 'user_picture' }}
 
- 					listType="picture-card"
 
- 					fileList={fileList}
 
- 					onPreview={this.handlePreview}
 
- 					onChange={this.handleChange}
 
- 				>
 
- 					{fileList.length >= 1 ? null : uploadButton}
 
- 				</Upload>
 
- 				<Modal maskClosable={false} visible={previewVisible} footer={null} onCancel={this.handleCancel}>
 
- 					<img alt="example" style={{ width: '100%' }} src={previewImage} />
 
- 				</Modal>
 
- 			</div>
 
- 		);
 
- 	}
 
- });
 
- const Unit = React.createClass({
 
- 	getInitialState() {
 
- 		return {
 
- 			loading: false,
 
- 			orgCodeUrl: [],
 
- 			companyLogoUrl: [],
 
- 			ProvinceCity:[]
 
- 		};
 
- 	},
 
- 	loadInformation(record) {
 
- 		this.setState({
 
- 			loading:true
 
- 		})
 
- 		$.ajax({
 
- 			method: 'get',
 
- 			dataType: 'json',
 
- 			url: globalConfig.context + '/api/user/getOrganizationDetail',
 
- 			success: function(data) {
 
- 				let thisData = data.data;
 
- 				if (!thisData) {
 
- 					if (data.error && data.error.length) {
 
- 						message.warning(data.error[0].message);
 
- 					}
 
- 					thisData = {};
 
- 				}
 
- 				// let ProvinceCityArr = [];
 
- 				// let ProvinceS = thisData.locationProvince; //getprovince
 
- 				// let citys = thisData.locationCity;
 
- 				// let Areas = thisData.locationArea;
 
- 				// ProvinceCityArr.push(ProvinceS, citys, Areas);
 
- 				this.setState({
 
- 					InformationId: thisData.id,
 
- 					InformationUid: thisData.uid,
 
- 					identifyName: thisData.identifyName,
 
- 					listed: thisData.listed,
 
- 					highTechZone: thisData.highTechZone,
 
- 					orgCodeUrl: thisData.orgCodeUrl
 
- 						? splitUrl(thisData.orgCodeUrl, ',', globalConfig.avatarHost + '/upload')
 
- 						: [],
 
- 					companyLogoUrl: thisData.companyLogoUrl
 
- 						? splitUrl(thisData.companyLogoUrl, ',', globalConfig.avatarHost + '/upload')
 
- 						: [],
 
- 					dataInformation: thisData,
 
- 					//ProvinceCity: ProvinceCityArr[0] != null ? ProvinceCityArr : undefined,
 
- 					industry: String(thisData.industry) == 'null' ? undefined : String(thisData.industry),
 
- 					societyTag: thisData.societyTag || undefined,
 
- 					introduction: thisData.introduction,
 
- 					postalAddress: thisData.postalAddress,
 
- 					fixedTel: thisData.fixedTel,
 
- 					registeredCapital: thisData.registeredCapital,
 
- 					enterpriseScale: thisData.enterpriseScale,
 
- 					legalPerson: thisData.legalPerson,
 
- 					legalPersonIdCard: thisData.legalPersonIdCard,
 
- 					legalPersonTel: thisData.legalPersonTel,
 
- 					legalPersonEmail: thisData.legalPersonEmail,
 
- 					businessScope: thisData.businessScope,
 
- 					orgCode: thisData.orgCode,
 
- 					type:thisData.type,
 
- 					authentication:thisData.authentication
 
- 				});
 
- 			}.bind(this)
 
- 		}).always(
 
- 			function() {
 
- 				this.setState({
 
- 					loading: false
 
- 				});
 
- 			}.bind(this)
 
- 		);
 
- 	},
 
- 	//图片
 
- 	getOrgCodeUrl(e) {
 
- 		this.setState({
 
- 			orgCodeUrl: e
 
- 		});
 
- 	},
 
- 	getCompanyLogoUrl(e) {
 
- 		this.setState({
 
- 			companyLogoUrl: e
 
- 		});
 
- 	},
 
- 	//基本信息提交
 
- 	newSubmit(e) {
 
- 		if(!this.state.identifyName){
 
- 			message.warning('请填写单位名称!');
 
- 			return;
 
- 		}
 
- 		if (!this.state.industry) {
 
- 			message.warning('请选择行业!');
 
- 			return false;
 
- 		}
 
- 		if (!this.state.societyTag) {
 
- 			message.warning('请选择社会性质!');
 
- 			return false;
 
- 		}
 
- 		// if (!this.state.ProvinceCity) {
 
- 		// 	message.warning('请选择省-市-区!');
 
- 		// 	return false;
 
- 		// }
 
- 		if (isNaN(this.state.registeredCapital)) {
 
- 			message.warning('注册资本只能输入数字!');
 
- 			return false;
 
- 		}
 
- 		if (isNaN(this.state.enterpriseScale)) {
 
- 			message.warning('单位规模只能输入数字!');
 
- 			return false;
 
- 		}
 
- 		this.setState({
 
- 			selectedRowKeys: []
 
- 		});
 
- 		let theorgCodeUrl = [];
 
- 		if (this.state.orgCodeUrl.length) {
 
- 			let picArr = [];
 
- 			this.state.orgCodeUrl.map(function(item) {
 
- 				if (item.response && item.response.data && item.response.data.length) {
 
- 					picArr.push(item.response.data);
 
- 				}
 
- 			});
 
- 			theorgCodeUrl = picArr.join(',');
 
- 		}
 
- 		let thecompanyLogoUrl = [];
 
- 		if (this.state.companyLogoUrl.length) {
 
- 			let picArr = [];
 
- 			this.state.companyLogoUrl.map(function(item) {
 
- 				if (item.response && item.response.data && item.response.data.length) {
 
- 					picArr.push(item.response.data);
 
- 				}
 
- 			});
 
- 			thecompanyLogoUrl = picArr.join(',');
 
- 		}
 
- 		this.setState({
 
- 			loading: true
 
- 		});
 
- 		$.ajax({
 
- 			method: 'post',
 
- 			dataType: 'json',
 
- 			url: globalConfig.context + '/api/user/updateOrganizationDetail',
 
- 			data: {
 
- 				id: this.state.InformationId,
 
- 				uid: this.state.InformationUid,
 
- 				societyTag: this.state.societyTag,
 
- 				identifyName: this.state.identifyName, //单位名称
 
- 				introduction: this.state.introduction,
 
- 				unitName: this.state.unitName,
 
- 				industry: this.state.industry,
 
- 				// locationProvince: this.state.ProvinceCity[0], //省-
 
- 				// locationCity: this.state.ProvinceCity[1], //市
 
- 				// locationArea: this.state.ProvinceCity[2], //区
 
- 				postalAddress: this.state.postalAddress,
 
- 				fixedTel: this.state.fixedTel,
 
- 				contactsFax: this.state.contactsFax,
 
- 				registeredCapital: this.state.registeredCapital ? this.state.registeredCapital : 0,
 
- 				enterpriseScale: this.state.enterpriseScale ? this.state.enterpriseScale : 0,
 
- 				legalPerson: this.state.legalPerson,
 
- 				legalPersonIdCard: this.state.legalPersonIdCard,
 
- 				legalPersonTel: this.state.legalPersonTel,
 
- 				legalPersonEmail: this.state.legalPersonEmail,
 
- 				highTechZone: this.state.highTechZone,
 
- 				listed: this.state.listed,
 
- 				contacts: this.state.contacts,
 
- 				orgCode: this.state.orgCode,
 
- 				businessScope: this.state.businessScope,
 
- 				introduction: this.state.introduction,
 
- 				companyLogoUrl: thecompanyLogoUrl != 0 ? thecompanyLogoUrl : '',
 
- 				orgCodeUrl: theorgCodeUrl != 0 ? theorgCodeUrl : '',
 
- 				auditStatus: this.state.auditStatus,
 
- 				authentication:this.state.authentication,
 
- 				type:this.state.type
 
- 			}
 
- 		}).done(
 
- 			function(data) {
 
- 				this.setState({
 
- 					loading: false
 
- 				});
 
- 				if (!data.error.length) {
 
- 					if(this.state.type!='1'){
 
- 						message.success('企业认证成功,1s后回到首页.')
 
- 						setTimeout(()=>{
 
- 							window.location.href = globalConfig.context + "/user/account/index.html";
 
- 						},1000)  
 
- 					}else{
 
- 						message.success('保存成功');
 
- 						this.loadInformation();
 
- 					}
 
- 				} else {
 
- 					message.warning(data.error[0].message);
 
- 				}
 
- 			}.bind(this)
 
- 		);
 
- 	},
 
- 	subFun(){
 
- 		if(this.state.type=='0'||this.state.type=='1'){
 
- 			this.newSubmit()
 
- 		}else{
 
- 			this.setState({
 
- 				visible:true
 
- 			})
 
- 		}
 
- 	},
 
- 	handleOk(){
 
- 		this.newSubmit();
 
- 		this.setState({
 
- 			visible:false
 
- 		})
 
- 	},
 
- 	handleCancel(){
 
- 		this.setState({
 
- 			visible:false
 
- 		})
 
- 	},
 
- 	componentWillMount() {
 
- 		this.loadInformation();
 
- 	},
 
- 	componentWillReceiveProps(nextProps) {
 
- 		
 
- 	},
 
- 	render() {
 
- 		return (
 
- 			<div className="unit-wrap">
 
- 				<Form layout="horizontal" onSubmit={this.newSubmit} id="demand-form" style={{width:'80%'}}>
 
- 					<Spin spinning={this.state.loading}>
 
- 						<Row style={{ marginBottom: 20 }}>
 
- 							<Col offset={2} span={4}>
 
- 								<h4 style={{fontSize:20}}>企业资料</h4>
 
- 							</Col>
 
- 						</Row>
 
- 						<div className="clearfix" style={{ paddingLeft: '60px' }}>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="企业名称"
 
- 							>
 
- 								<Input
 
- 								    style={{width:'90%'}}
 
- 									value={this.state.identifyName}
 
- 									onChange={(e) => {
 
- 										this.setState({ identifyName: e.target.value });
 
- 									}}
 
- 									placeholder="请输入企业名称"
 
- 								/>
 
- 								<span className="color-red"> * </span>
 
- 							</FormItem>
 
- 						</div>
 
- 						<div className="clearfix" style={{ paddingLeft: '60px' }}>
 
- 							<FormItem className="half-item" labelCol={{ span: 4 }} wrapperCol={{ span: 18 }} label="行业">
 
- 								<Select
 
- 									placeholder="选择行业"
 
- 									value={this.state.industry}
 
- 									style={{width:'90%'}}
 
- 									onChange={(e) => {
 
- 										this.setState({ industry: e });
 
- 									}}
 
- 								>
 
- 									{industry.map(function(item) {
 
- 										return <Select.Option key={item.value}>{item.key}</Select.Option>;
 
- 									})}
 
- 								</Select>
 
- 								<span className="color-red"> * </span>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="社会属性"
 
- 							>
 
- 								<Select
 
- 									placeholder="客户社会属性"
 
- 									value={this.state.societyTag}
 
- 									style={{width:'90%'}}
 
- 									onChange={(e) => {
 
- 										this.setState({ societyTag: e });
 
- 									}}
 
- 								>
 
- 									{socialAttribute.map(function(item) {
 
- 										return <Select.Option key={item.value}>{item.key}</Select.Option>;
 
- 									})}
 
- 								</Select>
 
- 								<span className="color-red"> * </span>
 
- 							</FormItem>
 
- 							{/* <FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="省-市-区"
 
- 							>
 
- 								<Cascader
 
- 									options={areaSelect()}
 
- 									value={this.state.ProvinceCity}
 
- 									placeholder="选择城市"
 
- 									style={{width:'90%'}}
 
- 									onChange={(e, pre) => {
 
- 										this.setState({ ProvinceCity: e });
 
- 									}}
 
- 								/>
 
- 								<span className="color-red"> * </span>
 
- 							</FormItem> */}
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="通信地址"
 
- 							>
 
- 								<Input
 
- 									placeholder="客户通信地址"
 
- 									value={this.state.postalAddress}
 
- 									onChange={(e) => {
 
- 										this.setState({ postalAddress: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="固定电话"
 
- 							>
 
- 								<Input
 
- 									placeholder="客户固定电话"
 
- 									value={this.state.fixedTel}
 
- 									onChange={(e) => {
 
- 										this.setState({ fixedTel: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="客户传真"
 
- 							>
 
- 								<Input
 
- 									placeholder="客户传真"
 
- 									value={this.state.fixedTel}
 
- 									onChange={(e) => {
 
- 										this.setState({ fixedTel: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="注册资本"
 
- 							>
 
- 								<Input
 
- 									placeholder="注册资本"
 
- 									value={this.state.registeredCapital}
 
- 									maxLength="6"
 
- 									onChange={(e) => {
 
- 										this.setState({ registeredCapital: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="企业规模"
 
- 							>
 
- 								<Input
 
- 									placeholder="企业规模"
 
- 									value={this.state.enterpriseScale}
 
- 									maxLength="1"
 
- 									onChange={(e) => {
 
- 										this.setState({ enterpriseScale: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="法人名称"
 
- 							>
 
- 								<Input
 
- 									placeholder="法人名称"
 
- 									value={this.state.legalPerson}
 
- 									onChange={(e) => {
 
- 										this.setState({ legalPerson: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="法人身份证号码"
 
- 							>
 
- 								<Input
 
- 									placeholder="法人身份证号码"
 
- 									value={this.state.legalPersonIdCard}
 
- 									onChange={(e) => {
 
- 										this.setState({ legalPersonIdCard: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="法人电话"
 
- 							>
 
- 								<Input
 
- 									placeholder="法人电话"
 
- 									value={this.state.legalPersonTel}
 
- 									onChange={(e) => {
 
- 										this.setState({ legalPersonTel: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="法人电子邮箱"
 
- 							>
 
- 								<Input
 
- 									placeholder="法人电子邮箱"
 
- 									value={this.state.legalPersonEmail}
 
- 									onChange={(e) => {
 
- 										this.setState({ legalPersonEmail: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem
 
- 								className="half-item"
 
- 								labelCol={{ span: 4 }}
 
- 								wrapperCol={{ span: 18 }}
 
- 								label="机构代码"
 
- 							>
 
- 								<Input
 
- 									placeholder="社会同意机构代码"
 
- 									value={this.state.orgCode}
 
- 									onChange={(e) => {
 
- 										this.setState({ orgCode: e.target.value });
 
- 									}}
 
- 								/>
 
- 							</FormItem>
 
- 							<FormItem className="half-item" labelCol={{ span: 4 }} wrapperCol={{ span: 18 }} label="高新">
 
- 								<Radio.Group
 
- 									value={this.state.highTechZone}
 
- 									onChange={(e) => {
 
- 										this.setState({ highTechZone: e.target.value });
 
- 									}}
 
- 								>
 
- 									<Radio value={0}>是</Radio>
 
- 									<Radio value={1}>否 </Radio>
 
- 								</Radio.Group>
 
- 							</FormItem>
 
- 							<FormItem className="half-item" labelCol={{ span: 4 }} wrapperCol={{ span: 18 }} label="上市">
 
- 								<Radio.Group
 
- 									value={this.state.listed}
 
- 									onChange={(e) => {
 
- 										this.setState({ listed: e.target.value });
 
- 									}}
 
- 								>
 
- 									<Radio value={0}>是</Radio>
 
- 									<Radio value={1}>否 </Radio>
 
- 								</Radio.Group>
 
- 							</FormItem>
 
- 							<div className="clearfix pictures">
 
- 								<FormItem
 
- 									className="half-item"
 
- 									labelCol={{ span: 4 }}
 
- 									wrapperCol={{ span: 18 }}
 
- 									style={{ marginTop: 15 }}
 
- 									label="机构证(PIC)"
 
- 								>
 
- 									<PicturesWall
 
- 										pictureSign="PIC"
 
- 										fileList={this.getOrgCodeUrl}
 
- 										pictureUrl={this.state.orgCodeUrl}
 
- 									/>
 
- 									<p>图片建议:图片要清晰。</p>
 
- 								</FormItem>
 
- 								<FormItem
 
- 									className="half-item"
 
- 									labelCol={{ span: 4 }}
 
- 									wrapperCol={{ span: 18 }}
 
- 									label="企业logo"
 
- 								>
 
- 									<PicturesWall
 
- 										pictureSign="logo"
 
- 										fileList={this.getCompanyLogoUrl}
 
- 										pictureUrl={this.state.companyLogoUrl}
 
- 									/>
 
- 									<p>图片建议:图片要清晰。</p>
 
- 								</FormItem>
 
- 							</div>
 
- 							<div className="clearfix">
 
- 								<FormItem
 
- 									className="half-item"
 
- 									labelCol={{ span: 4 }}
 
- 									wrapperCol={{ span: 18 }}
 
- 									label="业务范围"
 
- 								>
 
- 									<Input
 
- 										type="textarea"
 
- 										rows={4}
 
- 										value={this.state.businessScope}
 
- 										placeholder="请输入业务范围"
 
- 										onChange={(e) => {
 
- 											this.setState({ businessScope: e.target.value });
 
- 										}}
 
- 									/>
 
- 								</FormItem>
 
- 								<FormItem
 
- 									className="half-item"
 
- 									labelCol={{ span: 4 }}
 
- 									wrapperCol={{ span: 18 }}
 
- 									label="企业简介"
 
- 								>
 
- 									<Input
 
- 										type="textarea"
 
- 										rows={4}
 
- 										value={this.state.introduction}
 
- 										placeholder="请输入企业简介"
 
- 										onChange={(e) => {
 
- 											this.setState({ introduction: e.target.value });
 
- 										}}
 
- 									/>
 
- 								</FormItem>
 
- 							</div>
 
- 							<Row style={{ marginBottom: 20 ,marginTop:10}}>
 
- 								<Col offset={2} span={4}>
 
- 									<Button size="large" className="set-submit" type="primary" onClick={this.subFun} >
 
- 										保存
 
- 									</Button>
 
- 								</Col>
 
-                        		 </Row>
 
- 							
 
- 						</div>
 
- 					</Spin>
 
- 				</Form>
 
- 				<Modal
 
- 					visible={this.state.visible}
 
- 					onOk={this.handleOk}
 
- 					onCancel={this.handleCancel}
 
- 					>
 
- 						<p>是否申请企业用户认证?</p>
 
- 				</Modal>
 
- 			</div>
 
- 		);
 
- 	}
 
- });
 
- export default Unit;
 
 
  |