| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066 | 
							- import React from 'react';
 
- import { Radio, Icon, Button, AutoComplete,Cascader,Input, Select, Spin, Popconfirm, Table, Switch, message, DatePicker, Upload, Form ,Modal,Tabs} from 'antd';
 
- import ajax from 'jquery/src/ajax/xhr.js';
 
- import $ from 'jquery/src/ajax';
 
- import moment from 'moment';
 
- import TechAchievementDesc from '@/manageCenter/achievement/crmAchievement.jsx';
 
- import { citySelect, provinceList ,areaSelect} from '@/NewDicProvinceList';
 
- import { socialAttribute, industry, auditStatusL, lvl, currentMember ,slcRedit,dataGrade,cityArr,patentTypeList} from '@/dataDic.js';
 
- import {
 
-   getSocialAttribute,
 
-   beforeUploadFile,
 
-   splitUrl,
 
-   getSlcRedit,
 
-   getDataGrade,
 
-   getAchievementCategory,
 
-   getTechAuditStatus,
 
-   getboutique,
 
-   getPatentType,
 
-   getcityArr,
 
-   getPatentTypeva,
 
-   ShowModal
 
- } from "@/tools.js";
 
- import './customer.less';
 
- import ShowModalDiv from "@/showModal.jsx";
 
- import ImgList from "../../../../common/imgList";
 
- const Option = AutoComplete.Option;
 
- //图片组件
 
- const PicturesWall = React.createClass({
 
-     getInitialState() {
 
-         return {
 
-             previewVisible: false,
 
-             previewImage: '',
 
-             fileList: this.props.pictureUrl,
 
-         }
 
-     },
 
-     getDefaultProps(){
 
-     	return{
 
-     		changeClick:this.modifyChange
 
-     	}
 
-     },
 
-     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"}}>
 
- 				<ImgList
 
- 					domId={this.props.domId}
 
- 					uploadConfig={{
 
- 						action:globalConfig.context + "/api/admin/patentNew/uploadFile",
 
- 						data:{ 'sign': '' },
 
- 						multiple:true,
 
- 						listType:"picture-card",
 
- 						beforeUpload:(infor)=>{beforeUploadFile(infor)}
 
- 					}}
 
- 					onChange={(infor)=>{
 
- 						this.handleChange(infor)
 
- 					}}
 
- 					fileList={fileList}
 
- 				/>
 
-             </div>
 
-         );
 
-     }
 
- });
 
- const PatentPayment = Form.create()(React.createClass({
 
- 	departmentList() {
 
- 		this.setState({
 
- 			loading: true
 
- 		});
 
- 		$.ajax({
 
- 			method: "get",
 
- 			dataType: "json",
 
- 			crossDomain: false,
 
- 			url: globalConfig.context + "/api/admin/organization/selectSuperId",
 
- 			data: {},
 
- 			success: function(data) {
 
- 	            let thedata = data.data;
 
- 				let theArr=[];
 
- 				if(!thedata) {
 
- 					if(data.error && data.error.length) {
 
- 						message.warning(data.error[0].message);
 
- 					};
 
- 				}else{
 
- 					thedata.map(function(item,index){
 
- 						theArr.push({
 
- 							key:index,
 
- 							name:item.name,
 
- 							id:item.id,
 
- 						})
 
- 					})
 
- 				}
 
- 				this.setState({
 
- 					departmentArr:theArr,
 
- 				})
 
- 			}.bind(this),
 
- 			}).always(function() {
 
- 				this.setState({
 
- 					loading: false
 
- 				});
 
- 			}.bind(this));
 
- 	},
 
- 	
 
- 	loadData(pageNo){
 
- 		this.setState({
 
- 			loading: true
 
- 		}),
 
- 		$.ajax({
 
- 			method: "get",
 
- 			dataType: "json",
 
- 			crossDomain: false,
 
- 			url: globalConfig.context + '/api/admin/patentNew/selectPatentNew',
 
- 			data: {
 
- 				pageNo: pageNo || 1,
 
- 				pageSize: this.state.pagination.pageSize,
 
- 				status:this.state.statusSearch,
 
- 				name:this.state.nameSearch,
 
- 				aname:this.state.anameSearch,
 
- 				patentNo:this.state.patentNoSearch,
 
- 				departmentId:this.state.departmentSearch,
 
- 				startDate:this.state.timesArr[0],
 
- 				endDate:this.state.timesArr[1],
 
- 				type:this.state.typeSearch,
 
- 			},
 
- 			success:function (data) {
 
- 				ShowModal(this);
 
- 				let theArr = [];
 
- 				if(!data.data) {
 
- 					if(data.error && data.error.length) {
 
- 						message.warning(data.error[0].message);
 
- 					};
 
- 				} else {
 
- 					for(let i = 0; i < data.data.list.length; i++) {
 
- 						let thisdata = data.data.list[i];
 
- 						theArr.push({
 
- 							id:thisdata.id,
 
- 							province:thisdata.province,
 
- 							status:thisdata.status,
 
- 							patentNo:thisdata.patentNo,
 
- 							name:thisdata.name,
 
- 							type:thisdata.type,
 
- 							applyDates:thisdata.applyDates,
 
- 							authorizationDates:thisdata.authorizationDates,
 
- 							patentAmount:thisdata.patentAmount,
 
- 							applicant:thisdata.applicant,
 
- 							contactMobile:thisdata.contactMobile,
 
- 							email:thisdata.email,
 
- 							certificateUrl:thisdata.certificateUrl,
 
- 							aname:thisdata.aname,
 
- 							depName:thisdata.depName,
 
- 						});
 
- 					};
 
- 					this.state.pagination.current = data.data.pageNo;
 
- 					this.state.pagination.total = data.data.totalCount;
 
- 				};
 
- 				if(!data.data.list.length) {
 
- 					this.state.pagination.current = 0
 
- 					this.state.pagination.total = 0
 
- 				}
 
- 				this.setState({
 
- 					pageNo: pageNo,
 
- 					dataSource: theArr,
 
- 					pagination: this.state.pagination,
 
- 				});
 
- 			}.bind(this)
 
- 		}).always(function() {
 
- 			this.setState({
 
- 				loading: false
 
- 			});
 
- 		}.bind(this));
 
- 	},
 
- 	getInitialState(){
 
- 		return {
 
- 			loading:false,
 
- 			visible:false,
 
- 			orgCodeUrl:[],
 
- 			fileList:[],
 
- 			departmentArr:[],
 
- 			timesArr:[],
 
- 			pagination: {
 
- 				defaultCurrent: 1,
 
- 				defaultPageSize: 10,
 
- 				showQuickJumper: true,
 
- 				pageSize: 10,
 
- 				onChange: function(page) {
 
- 					this.loadData(page);
 
- 				}.bind(this),
 
- 				showTotal: function(total) {
 
- 					return '共' + total + '条数据';
 
- 				}
 
- 			},
 
- 			dataSource:[],
 
- 			columns:[{
 
- 				title: '专利号',
 
- 				dataIndex: 'patentNo',
 
- 				key: 'patentNo'
 
- 			},{
 
- 				title: '专利名称',
 
- 				dataIndex: 'name',
 
- 				key: 'name'
 
- 			},{
 
- 				title: '专利类型',
 
- 				dataIndex: 'type',
 
- 				key: 'type',
 
- 				render:text=>{
 
- 					return getPatentType(text)
 
- 				}
 
- 			},{
 
- 				title: '申请日期',
 
- 				dataIndex: 'applyDates',
 
- 				key: 'applyDates'
 
- 			},{
 
- 				title: '授权日期',
 
- 				dataIndex: 'authorizationDates',
 
- 				key: 'authorizationDates'
 
- 			},{
 
- 				title: '费用',
 
- 				dataIndex: 'patentAmount',
 
- 				key: 'patentAmount'
 
- 			},{
 
- 				title: '授权公司',
 
- 				dataIndex: 'applicant',
 
- 				key: 'applicant'
 
- 			},{
 
- 				title: '录入人',
 
- 				dataIndex: 'aname',
 
- 				key: 'aname'
 
- 			},{
 
- 				title: '录入公司',
 
- 				dataIndex: 'depName',
 
- 				key: 'depName'
 
- 			},{
 
- 				title: '联系电话',
 
- 				dataIndex: 'contactMobile',
 
- 				key: 'contactMobile'
 
- 			},{
 
- 				title: '电子邮箱',
 
- 				dataIndex: 'email',
 
- 				key: 'email'
 
- 			},{
 
- 				title: '状态',
 
- 				dataIndex: 'status',
 
- 				key: 'status',
 
- 				render:text=>{
 
- 					if (text === 1) {
 
- 						return '已提醒'
 
- 					}else{
 
- 						return '待提醒'
 
- 					}
 
- 				}
 
- 			}]
 
- 		}
 
- 	},
 
- 	componentWillMount(){
 
- 		this.loadData()
 
- 		this.departmentList()
 
- 		let data=localStorage.getItem('newData');
 
- 		if(data!='{}'&&data){
 
- 			var newData = JSON.parse(data);
 
- 			this.tableRowClick(newData);
 
- 		};
 
- 	},
 
- 	new(){
 
- 		this.reset();
 
- 		this.setState({
 
- 			visible:true
 
- 		})
 
- 	},
 
- 	visitCancel(){
 
- 		this.state.fileList = [];
 
- 		this.setState({
 
- 			visible:false
 
- 		})
 
- 	},
 
- 	onSure(){
 
- 		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(",");
 
- 		};
 
- 		console.log(typeof theorgCodeUrl)
 
- 		if (!this.state.patentNo) {
 
- 			message.warning('专利号不能为空')
 
- 			return
 
- 		}
 
- 		if (!this.state.patentName) {
 
- 			message.warning('专利名称不能为空')
 
- 			return
 
- 		}
 
- 		if(this.state.patentType === ''){
 
- 		    message.warning('专利类型不能为空');
 
- 		    return 
 
- 		}
 
- 		if(this.state.email === ''){
 
- 		    message.warning('电子邮箱不能为空');
 
- 		    return 
 
- 		}
 
- 		$.ajax({
 
- 			method: "POST",
 
- 			dataType: "json",
 
- 			crossDomain: false,
 
- 			url: globalConfig.context +'/api/admin/patentNew/addPatentNew' ,
 
- 			data: {
 
- 				patentNo:this.state.patentNo,
 
- 				name:this.state.patentName,
 
- 				type:this.state.patentType,
 
- 				applyDates:this.state.appDate,
 
- 				authorizationDates:this.state.authDate,
 
- 				applicant:this.state.proposer,
 
- 				province:this.state.province,
 
- 				contactMobile:this.state.contactPhone,
 
- 				email:this.state.email,
 
- 				certificateUrl:theorgCodeUrl.length?theorgCodeUrl:'',
 
- 			}
 
- 		}).done(function(data) {
 
- 			this.setState({
 
- 				loading: false
 
- 			});
 
- 			if(!data.error.length) {
 
- 				message.success('保存成功!');
 
- 				this.onCal()
 
- 				this.loadData()
 
- 			} else {
 
- 				message.warning(data.error[0].message);
 
- 			}
 
- 		}.bind(this));
 
- 	},
 
- 	tableRowClick(record,index){
 
- 		this.state.RowData = record
 
- 		this.setState({
 
- 			avisible:true,
 
- 			patentNo:record.patentNo,
 
- 			patentName:record.name,
 
- 			province:record.province,
 
- 			status:record.status,
 
- 			patentType:record.type,
 
- 			appDate:record.applyDates,
 
- 			authDate:record.authorizationDates,
 
- 			proposer:record.applicant,
 
- 			contactPhone:record.contactMobile,
 
- 			email:record.email,
 
- 			certificateUrl:record.certificateUrl,
 
- 			orgCodeUrl: record.certificateUrl ? splitUrl(record.certificateUrl, ',', globalConfig.avatarHost + '/upload') : [],
 
- 		})
 
- 		localStorage.setItem('newData','{}');
 
- 	},
 
- 	xiugai(record){
 
- 		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(",");
 
- 		};
 
- 		console.log(typeof this.state.patentType)
 
- 		if (!this.state.patentNo) {
 
- 			message.warning('专利号不能为空')
 
- 			return
 
- 		}
 
- 		if (!this.state.patentName) {
 
- 			message.warning('专利名称不能为空')
 
- 			return
 
- 		}
 
- 		if(this.state.patentType === ''){
 
- 		    message.warning('专利类型不能为空');
 
- 		    return 
 
- 		}
 
- 		$.ajax({
 
- 			method: "POST",
 
- 			dataType: "json",
 
- 			crossDomain: false,
 
- 			url: globalConfig.context +'/api/admin/patentNew/updatePatentNew' ,
 
- 			data: {
 
- 				id:record.id,
 
- 				patentNo:this.state.patentNo,
 
- 				name:this.state.patentName,
 
- 				type:this.state.patentType,
 
- 				applyDates:this.state.appDate,
 
- 				authorizationDates:this.state.authDate,
 
- 				applicant:this.state.proposer,
 
- 				province:this.state.province,
 
- 				contactMobile:this.state.contactPhone,
 
- 				email:this.state.email,
 
- 				status:this.state.status,
 
- 				certificateUrl:theorgCodeUrl.length?theorgCodeUrl:'',
 
- 			},
 
- 			success: function (data) {
 
- 			}.bind(this),
 
- 		}).done(function(data) {
 
- 			this.setState({
 
- 				loading: false
 
- 			});
 
- 			if(!data.error.length) {
 
- 				message.success('修改成功!');
 
- 				this.avisitCancel()
 
- 				this.loadData(this.state.pageNo)
 
- 			} else {
 
- 				message.warning(data.error[0].message);
 
- 			}
 
- 		}.bind(this));
 
- 	},
 
- 	
 
- 	baocunxiugai(){
 
- 		this.xiugai(this.state.RowData)
 
- 	},
 
- 	
 
- 	avisitCancel(){
 
- 		this.setState({
 
- 			avisible:false
 
- 		})
 
- 	},
 
- 	reset(){
 
- 		this.setState({
 
- 			patentNo:'',
 
- 			patentName:'',
 
- 			patentType:undefined,
 
- 			appDate:undefined,
 
- 			authDate:undefined,
 
- 			orgCodeUrl:'',
 
- 			proposer:'',
 
- 			province:undefined,
 
- 			contactPhone:'',
 
- 			email:''
 
- 		})
 
- 	},
 
- 	
 
- 	searchReset(){
 
- 		this.setState({
 
- 			statusSearch:undefined,
 
- 			nameSearch:undefined,
 
- 			anameSearch:undefined,
 
- 			patentNoSearch:undefined,
 
- 			departmentSearch:undefined,
 
- 			typeSearch:undefined,
 
- 			timesArr:[],
 
- 		},()=>{
 
- 			this.loadData()
 
- 		})
 
- 	},
 
- 	
 
- 	search(){
 
- 		this.loadData()
 
- 	},
 
- 	
 
- 	onCal(){
 
- 		this.setState({
 
- 			visible:false
 
- 		})
 
- 	},
 
- 	getOrgCodeUrl(e) {
 
- 	    this.setState({ orgCodeUrl: e });
 
- 	},
 
- 	
 
- 	render(){
 
- 		const theData = this.state.RowData || {};
 
- 		const FormItem = Form.Item;
 
- 		const formItemLayout = {
 
- 			labelCol: { span: 8 },
 
- 			wrapperCol: { span: 14 },
 
- 		};
 
- 		const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
 
- 			
 
- 		return (
 
-       <div className="user-content">
 
-         <ShowModalDiv ShowModal={this.state.showModal} />
 
-         <div className="content-title">
 
-           <span style={{ fontSize: "16px" }}>客户专利提醒</span>
 
-           <div className="user-search">
 
-             <Select
 
-               value={this.state.typeSearch}
 
-               placeholder="请选择专利类型"
 
-               onChange={e => {
 
-                 this.setState({
 
-                   typeSearch: e
 
-                 });
 
-               }}
 
-               style={{ width: "140px" }}
 
-             >
 
-               <Option value={1}>实用新型</Option>
 
-               <Option value={2}>外观设计</Option>
 
-               <Option value={3}>发明</Option>
 
-             </Select>
 
-             <Input
 
-               value={this.state.nameSearch}
 
-               placeholder="请输入授权公司"
 
-               onChange={e => {
 
-                 this.setState({
 
-                   nameSearch: e.target.value
 
-                 });
 
-               }}
 
-             />
 
-             <Select
 
-               value={this.state.departmentSearch}
 
-               placeholder="请选择录入公司"
 
-               onChange={e => {
 
-                 this.setState({
 
-                   departmentSearch: e
 
-                 });
 
-               }}
 
-               style={{ width: "140px" }}
 
-             >
 
-               {this.state.departmentArr.map(e => {
 
-                 return <Option value={e.id}>{e.name}</Option>;
 
-               })}
 
-             </Select>
 
-             <Input
 
-               value={this.state.anameSearch}
 
-               placeholder="请输入录入人"
 
-               onChange={e => {
 
-                 this.setState({
 
-                   anameSearch: e.target.value
 
-                 });
 
-               }}
 
-             />
 
-             <Select
 
-               value={this.state.statusSearch}
 
-               placeholder="请选择状态"
 
-               onChange={e => {
 
-                 this.setState({
 
-                   statusSearch: e
 
-                 });
 
-               }}
 
-               style={{ width: "140px" }}
 
-             >
 
-               <Option value={0}>正常</Option>
 
-               <Option value={1}>提醒中</Option>
 
-             </Select>
 
-             <Input
 
-               value={this.state.patentNoSearch}
 
-               placeholder="请输入专利号"
 
-               onChange={e => {
 
-                 this.setState({
 
-                   patentNoSearch: e.target.value
 
-                 });
 
-               }}
 
-             />
 
-             <Button
 
-               type="primary"
 
-               onClick={this.search}
 
-               style={{ marginLeft: "10px" }}
 
-             >
 
-               搜索
 
-             </Button>
 
-             <Button
 
-               type="primary"
 
-               onClick={this.searchReset}
 
-               style={{ marginLeft: "10px" }}
 
-             >
 
-               重置
 
-             </Button>
 
-             <span>
 
-               更多搜索
 
-               <Switch
 
-                 onChange={mark => {
 
-                   this.setState({ mark: mark });
 
-                 }}
 
-               />
 
-             </span>
 
-             <Button
 
-               type="primary"
 
-               onClick={this.new}
 
-               style={{ marginRight: "10px", float: "right" }}
 
-             >
 
-               新建
 
-             </Button>
 
-             {/*<Button onClick={this.reset}>导出</Button>*/}
 
-           </div>
 
-           {this.state.mark ? (
 
-             <div className="user-search" style={{ paddingTop: "10px" }}>
 
-               <span style={{ fontSize: "14px" }}>请选择申请时间:</span>
 
-               <RangePicker
 
-                 value={[
 
-                   this.state.timesArr[0]
 
-                     ? moment(this.state.timesArr[0])
 
-                     : null,
 
-                   this.state.timesArr[1] ? moment(this.state.timesArr[1]) : null
 
-                 ]}
 
-                 onChange={(e, f) => {
 
-                   this.setState({
 
-                     timesArr: f
 
-                   });
 
-                 }}
 
-                 style={{ marginTop: "0", marginLeft: "10px" }}
 
-               />
 
-             </div>
 
-           ) : (
 
-             ""
 
-           )}
 
-           <div className="patent-table">
 
-             <Spin spinning={this.state.loading}>
 
-               <Table
 
-                 columns={this.state.columns}
 
-                 dataSource={this.state.dataSource}
 
-                 pagination={this.state.pagination}
 
-                 onRowClick={this.tableRowClick}
 
-                 size="small"
 
-                 bordered
 
-               />
 
-             </Spin>
 
-           </div>
 
-           <Modal
 
-             maskClosable={false}
 
-             visible={this.state.avisible}
 
-             onCancel={this.avisitCancel}
 
-             width="800px"
 
-             title="修改详情"
 
-             footer=""
 
-             className="admin-desc-content"
 
-           >
 
-             <div className="clearfix">
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>专利号
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入专利号"
 
-                     value={this.state.patentNo}
 
-                     onChange={e => {
 
-                       this.setState({ patentNo: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>专利名称
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入专利名称"
 
-                     value={this.state.patentName}
 
-                     onChange={e => {
 
-                       this.setState({ patentName: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="专利类型"
 
-               >
 
-                 {
 
-                   <Select
 
-                     placeholder="请选择专利类型"
 
-                     style={{ width: "240px" }}
 
-                     value={getPatentType(this.state.patentType)}
 
-                     onChange={e => {
 
-                       this.setState({ patentType: e });
 
-                     }}
 
-                   >
 
-                     {patentTypeList.map(function(item) {
 
-                       return (
 
-                         <Select.Option key={item.value}>
 
-                           {item.key}
 
-                         </Select.Option>
 
-                       );
 
-                     })}
 
-                   </Select>
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="申请日期"
 
-               >
 
-                 <DatePicker
 
-                   style={{ marginTop: "2px", width: "240px", height: "32px" }}
 
-                   showTime
 
-                   format="YYYY-MM-DD"
 
-                   onOk={e => {}}
 
-                   value={this.state.appDate ? moment(this.state.appDate) : null}
 
-                   onChange={(data, dataString) => {
 
-                     this.setState({ appDate: dataString });
 
-                   }}
 
-                 />
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="授权日期"
 
-               >
 
-                 <DatePicker
 
-                   style={{ marginTop: "2px", width: "240px", height: "32px" }}
 
-                   showTime
 
-                   format="YYYY-MM-DD"
 
-                   onOk={e => {}}
 
-                   value={
 
-                     this.state.authDate ? moment(this.state.authDate) : null
 
-                   }
 
-                   onChange={(data, dataString) => {
 
-                     this.setState({ authDate: dataString });
 
-                   }}
 
-                 />
 
-               </FormItem>
 
-               <FormItem className="half-item" {...formItemLayout} label="费用">
 
-                 <span>{theData.patentAmount}</span>
 
-               </FormItem>
 
-               <div className="clearfix">
 
-                 <FormItem
 
-                   labelCol={{ span: 4 }}
 
-                   wrapperCol={{ span: 18 }}
 
-                   label="合同扫描件"
 
-                 >
 
-                   <PicturesWall
 
- 					domId={'patentPayment1'}
 
-                     fileList={this.getOrgCodeUrl}
 
-                     pictureUrl={this.state.orgCodeUrl}
 
-                   />
 
-                   <p>图片建议:要清晰。</p>
 
-                 </FormItem>
 
-               </div>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="申请人"
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入申请人/公司"
 
-                     value={this.state.proposer}
 
-                     onChange={e => {
 
-                       this.setState({ proposer: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem className="half-item" {...formItemLayout} label="省份">
 
-                 <Select
 
-                   placeholder="请选择省份"
 
-                   style={{ width: "240px" }}
 
-                   value={getcityArr(this.state.province)}
 
-                   onChange={e => {
 
-                     this.setState({ province: e });
 
-                   }}
 
-                 >
 
-                   {cityArr.map(function(item) {
 
-                     return (
 
-                       <Select.Option key={item.value}>{item.key}</Select.Option>
 
-                     );
 
-                   })}
 
-                 </Select>
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="联系电话"
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入联系手机"
 
-                     value={this.state.contactPhone}
 
-                     onChange={e => {
 
-                       this.setState({ contactPhone: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>电子邮箱
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入电子邮箱"
 
-                     value={this.state.email}
 
-                     onChange={e => {
 
-                       this.setState({ email: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={"状态"}
 
-               >
 
-                 <span>{this.state.status ? "已提醒" : "待提醒"}</span>
 
-               </FormItem>
 
-             </div>
 
-             <div style={{ overflow: "hidden" }}>
 
-               <Button style={{ float: "right" }} onClick={this.avisitCancel}>
 
-                 取消
 
-               </Button>
 
-               <Button
 
-                 type="primary"
 
-                 style={{ float: "right", marginRight: "10px" }}
 
-                 onClick={this.baocunxiugai}
 
-               >
 
-                 保存
 
-               </Button>
 
-             </div>
 
-           </Modal>
 
-           <Modal
 
-             maskClosable={false}
 
-             visible={this.state.visible}
 
-             onOk={this.visitOk}
 
-             onCancel={this.visitCancel}
 
-             width="1000px"
 
-             title="专利资料"
 
-             footer=""
 
-             className="admin-desc-content"
 
-           >
 
-             <div className="clearfix">
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>专利号
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入专利号"
 
-                     value={this.state.patentNo}
 
-                     onChange={e => {
 
-                       this.setState({ patentNo: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>专利名称
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入专利名称"
 
-                     value={this.state.patentName}
 
-                     onChange={e => {
 
-                       this.setState({ patentName: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="申请日期"
 
-               >
 
-                 <DatePicker
 
-                   style={{ marginTop: "2px", width: "240px", height: "32px" }}
 
-                   showTime
 
-                   format="YYYY-MM-DD"
 
-                   onOk={e => {}}
 
-                   value={this.state.appDate ? moment(this.state.appDate) : null}
 
-                   onChange={(data, dataString) => {
 
-                     this.setState({ appDate: dataString });
 
-                   }}
 
-                 />
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>专利类型
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Select
 
-                     placeholder="请选择专利类型"
 
-                     style={{ width: "240px" }}
 
-                     value={this.state.patentType}
 
-                     onChange={e => {
 
-                       this.setState({ patentType: e });
 
-                     }}
 
-                   >
 
-                     {patentTypeList.map(function(item) {
 
-                       return (
 
-                         <Select.Option key={item.value}>
 
-                           {item.key}
 
-                         </Select.Option>
 
-                       );
 
-                     })}
 
-                   </Select>
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="授权日期"
 
-               >
 
-                 <DatePicker
 
-                   style={{ marginTop: "2px", width: "240px", height: "32px" }}
 
-                   showTime
 
-                   format="YYYY-MM-DD"
 
-                   onOk={e => {}}
 
-                   value={
 
-                     this.state.authDate ? moment(this.state.authDate) : null
 
-                   }
 
-                   onChange={(data, dataString) => {
 
-                     this.setState({ authDate: dataString });
 
-                   }}
 
-                 />
 
-               </FormItem>
 
-               <div className="clearfix">
 
-                 <FormItem
 
-                   labelCol={{ span: 4 }}
 
-                   wrapperCol={{ span: 18 }}
 
-                   label="合同扫描件"
 
-                 >
 
-                   <PicturesWall
 
- 					domId={'patentPayment2'}
 
-                     fileList={this.getOrgCodeUrl}
 
-                     pictureUrl={this.state.orgCodeUrl}
 
-                   />
 
-                   <p>图片建议:要清晰。</p>
 
-                 </FormItem>
 
-               </div>
 
-               <div>
 
-                 <span style={{ marginLeft: "50px", fontSize: "20px" }}>
 
-                   申请人资料
 
-                 </span>
 
-               </div>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="申请人/公司"
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入申请人/公司"
 
-                     value={this.state.proposer}
 
-                     onChange={e => {
 
-                       this.setState({ proposer: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem className="half-item" {...formItemLayout} label="省份">
 
-                 <Select
 
-                   placeholder="请选择省份"
 
-                   style={{ width: "240px" }}
 
-                   value={this.state.province}
 
-                   onChange={e => {
 
-                     this.setState({ province: e });
 
-                   }}
 
-                 >
 
-                   {cityArr.map(function(item) {
 
-                     return (
 
-                       <Select.Option key={item.value}>{item.key}</Select.Option>
 
-                     );
 
-                   })}
 
-                 </Select>
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label="联系手机"
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入联系手机"
 
-                     value={this.state.contactPhone}
 
-                     onChange={e => {
 
-                       this.setState({ contactPhone: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-               <FormItem
 
-                 className="half-item"
 
-                 {...formItemLayout}
 
-                 label={
 
-                   <span>
 
-                     <strong style={{ color: "#f00" }}>*</strong>电子邮箱
 
-                   </span>
 
-                 }
 
-               >
 
-                 {
 
-                   <Input
 
-                     placeholder="请输入电子邮箱"
 
-                     value={this.state.email}
 
-                     onChange={e => {
 
-                       this.setState({ email: e.target.value });
 
-                     }}
 
-                     style={{ width: "240px" }}
 
-                   />
 
-                 }
 
-               </FormItem>
 
-             </div>
 
-             <div style={{ overflow: "hidden" }}>
 
-               <Button style={{ float: "right" }} onClick={this.onCal}>
 
-                 取消
 
-               </Button>
 
-               <Button
 
-                 type="primary"
 
-                 style={{ float: "right", marginRight: "10px" }}
 
-                 onClick={this.onSure}
 
-               >
 
-                 保存
 
-               </Button>
 
-             </div>
 
-           </Modal>
 
-         </div>
 
-       </div>
 
-     );
 
- 	}
 
- }))
 
- export default PatentPayment;
 
 
  |