import React from 'react'; import $ from 'jquery/src/ajax'; import { Icon, Tabs, Table, Tooltip, Modal, Popover, message, Spin, Upload, Input, InputNumber, Select, DatePicker, Button, Radio, Form, Cascader, Tag, Checkbox, Row, Col } from 'antd'; import { getTechField } from '@/DicTechFieldList.js'; import {areaSelect } from '@/NewDicProvinceList'; import { IndustryObject, getIndustryCategory } from '@/DicIndustryList.js'; import { splitUrl, companySearch, getDemandType, getAchievementCategory } 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 = (