"use strict";function _typeof(a){return a&&"undefined"!=typeof Symbol&&a.constructor===Symbol?"symbol":typeof a}var _slicedToArray=function(){function a(a,b){var c=[],d=!0,e=!1,f=void 0;try{for(var g,h=a[Symbol.iterator]();!(d=(g=h.next()).done)&&(c.push(g.value),!b||c.length!==b);d=!0);}catch(a){e=!0,f=a}finally{try{!d&&h.return&&h.return()}finally{if(e)throw f}}return c}return function(b,c){if(Array.isArray(b))return b;if(Symbol.iterator in Object(b))return a(b,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_extends=Object.assign||function(a){for(var b=1;b5120||f.indexOf(c.type)<0)return void(b.nextElementSibling.innerHTML="上传的文件,大小或者类型不符合要求");b.nextElementSibling.innerHTML="",d.onloadend=function(a){h(a.target.result.split(",")[1])},d.readAsDataURL(c)}break;default:h(b.value)}},a},onSetState:function(a){var b=this;return function(c){return b.setState(a)}}},SelectYears=React.createClass({displayName:"SelectYears",render:function(){return React.createElement("select",_extends({},this.props,{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:86}}),React.createElement("option",{value:"1",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:87}},"1"),React.createElement("option",{value:"2",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:88}},"2"),React.createElement("option",{value:"3",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:89}},"3"),React.createElement("option",{value:"4",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:90}},"4"),React.createElement("option",{value:"5",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:91}},"5"),React.createElement("option",{value:"6",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:92}},"6"),React.createElement("option",{value:"7",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:93}},"7"),React.createElement("option",{value:"8",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:94}},"8"),React.createElement("option",{value:"9",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:95}},"9"),React.createElement("option",{value:"10",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:96}},"10"))}}),LaunchPhase=React.createClass({displayName:"LaunchPhase",render:function(){return React.createElement("select",_extends({},this.props,{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:105}}),React.createElement("option",{value:"sunrise",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:106}},"sunrise"),React.createElement("option",{value:"landrush",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:107}},"landrush"),React.createElement("option",{value:"claims",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:108}},"claims"),React.createElement("option",{value:"open",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:109}},"open"),React.createElement("option",{value:"custom",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:110}},"custom"))}}),SelectType=React.createClass({displayName:"SelectType",render:function(){return React.createElement("select",_extends({},this.props,{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:119}}),React.createElement("option",{value:"A",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:120}},"A"),React.createElement("option",{value:"AAAA",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:121}},"AAAA"),React.createElement("option",{value:"CNAME",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:122}},"CNAME"),React.createElement("option",{value:"DNAME",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:123}},"DNAME"),React.createElement("option",{value:"MX",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:124}},"MX"),React.createElement("option",{value:"NS",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:125}},"NS"),React.createElement("option",{value:"SPF",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:126}},"SPF"),React.createElement("option",{value:"TXT",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:127}},"TXT"),React.createElement("option",{value:"PTR",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:128}},"PTR"),React.createElement("option",{value:"URL",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:129}},"URL"))}}),SelectStatus=React.createClass({displayName:"SelectStatus",render:function(){return React.createElement("select",_extends({},this.props,{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:138}}),React.createElement("option",{value:"-1",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:139}}),React.createElement("option",{value:"0",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:140}},"未通过"),React.createElement("option",{value:"1",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:141}},"通过"))}}),SelectOrgIdType=React.createClass({displayName:"SelectOrgIdType",render:function(){return React.createElement("select",_extends({},this.props,{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:150}}),React.createElement("option",{value:"1",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:151}},"工商营业执照"),React.createElement("option",{value:"2",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:152}},"组织机构代码证"),React.createElement("option",{value:"4",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:153}},"统一社会信用代码证书"),React.createElement("option",{value:"8",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:154}},"部队代号"),React.createElement("option",{value:"9",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:155}},"军队单位对外有偿服务系可证"),React.createElement("option",{value:"10",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:156}},"事业单位法人证书"),React.createElement("option",{value:"11",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:157}},"外国企业常驻代表机构登记证"),React.createElement("option",{value:"14",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:158}},"社会团体法人登记证书"),React.createElement("option",{value:"15",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:159}},"宗教活动场所登记证"),React.createElement("option",{value:"16",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:160}},"民办非企业单位登记证书"),React.createElement("option",{value:"17",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:161}},"基金会法人登记证书"),React.createElement("option",{value:"18",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:162}},"律师事务所执业许可证"),React.createElement("option",{value:"19",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:163}},"外国在华文化中心登记证"),React.createElement("option",{value:"20",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:164}},"外国政府旅游部门常驻代表机构批准登记证"),React.createElement("option",{value:"21",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:165}},"司法鉴定许可证"),React.createElement("option",{value:"22",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:166}},"境外机构证件"),React.createElement("option",{value:"23",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:167}},"社会服务机构登记证书"),React.createElement("option",{value:"24",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:168}},"民办学校办学许可证"),React.createElement("option",{value:"25",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:169}},"医疗机构执业许可证"),React.createElement("option",{value:"26",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:170}},"公证机构执业证"),React.createElement("option",{value:"27",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:171}},"北京市外国驻华使馆人员子女学校办学许可证"),React.createElement("option",{value:"30",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:172}},"其他(只允许填统一社会信用代码)"))}}),DsData=React.createClass({displayName:"DsData",render:function(){return React.createElement("div",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:180}},"keyTag:",React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".keyTag",size:"5",maxLength:"5"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:182}})),"alg:",React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".alg",size:"3",maxLength:"3"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:189}})),"digestType:",React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".digestType",size:"3",maxLength:"3"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:196}})),React.createElement("br",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:202}}),"digest:",React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".digest",size:"45",maxLength:"256"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:204}})))}}),PostalInfo=React.createClass({displayName:"PostalInfo",render:function(){return React.createElement("table",{border:"0",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:218}},React.createElement("tbody",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:219}},React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:220}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:221}},"联系人姓名:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:222}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".name",size:"40",maxLength:"64",readOnly:this.props.readOnly}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:223}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:230}},"中英文均可,如中文填写不少于",React.createElement("strong",{className:"red",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:230}},"2"),"个汉字"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:233}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:234}},"所在组织:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:235}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".org",size:"40",maxLength:"64",readOnly:this.props.readOnly}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:236}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:243}},"中英文均可,如中文填写不少于",React.createElement("strong",{className:"red",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:243}},"2"),"个汉字"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:246}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:247}},"所在街道:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:248}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".street1",size:"40",maxLength:"64"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:249}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:255}},"中英文均可,需填写完整地址,不能只写某市、区之类,如中文填写,不得少于",React.createElement("strong",{className:"red",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:255}},"8"),"个汉字"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:258}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:259}}),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:260}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".street2",size:"40",maxLength:"64"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:261}})))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:269}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:270}}),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:271}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".street3",size:"40",maxLength:"64"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:272}})))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:280}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:281}},"所在城市:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:282}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".city",size:"40",maxLength:"64"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:283}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:289}},"中英文均可,如中文填写不少于",React.createElement("strong",{className:"red",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:289}},"2"),"个汉字"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:292}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:293}},"所在省份:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:294}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".sp",size:"40",maxLength:"64"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:295}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:301}},"中英文均可,如中文填写不少于",React.createElement("strong",{className:"red",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:301}},"2"),"个汉字"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:304}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:305}},"邮政编码:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:306}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".pc",size:"10",maxLength:"10"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:307}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:313}},"国内邮编均为",React.createElement("strong",{className:"red",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:313}},"6"),"位数字"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:316}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:317}},"国家代码:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:318}},React.createElement("input",_extends({},this.props.linkState({type:"text",name:this.props.name+".cc",readOnly:!0,size:"2",maxLength:"2"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:319}})),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:326}},"两个英文字符,中国为CN")))))}}),OpResult=React.createClass({displayName:"OpResult",render:function(){switch(_typeof(this.props.content)){case"object":return React.createElement("table",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:340}},React.createElement("tbody",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:341}},forJSON(this.props.content,function(a,b){return React.createElement("tr",{key:a,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:343}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:344}},a),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:345}},JSON.stringify(b)))})));default:return React.createElement("pre",{style:{display:this.props.content?"block":"none"},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:353}},this.props.content)}}}),List=React.createClass({displayName:"List",mixins:[FormMixin],shouldUpdate:!1,getInitialState:function(){return{rows:[],page:1,pages:0,name:"",contactId:"",email:"",emailOk:"-1",uniIdOk:"-1"}},getParam:function(){var a={};switch(this.props.obj){case"domain":TRIM(this.state.name)&&(a.name=TRIM(this.state.name)),a.days=this.state.days;break;case"contact":TRIM(this.state.contactId)&&(a.contactId=TRIM(this.state.contactId)),TRIM(this.state.email)&&(a.email=TRIM(this.state.email)),"-1"!=this.state.emailOk&&(a.emailOk=this.state.emailOk),"-1"!=this.state.uniIdOk&&(a.uniIdOk=this.state.uniIdOk)}return a},load:function(a){api.list(this.props.obj,a,this.getParam(),function(a,b){switch(a){case"1000":var c=this.getParam();for(var d in c)b[d]=c[d];this.shouldUpdate=!0,this.replaceState(b,function(){this.shouldUpdate=!1});break;default:logout()}}.bind(this))},shouldComponentUpdate:function(a,b){return!!this.shouldUpdate||(this.load(b.page||this.state.page),!1)},onPrev:function(){this.load(this.state.page-1)},onNext:function(){this.load(this.state.page+1)},onSkip:function(){this.load(this.refs.page.value.trim())},onAuth:function(a,b){return null===b?"认证中...":b?"通过":a},render:function(){var a,b=this;switch(this.props.obj){case"domain":a=React.createElement("ul",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:435}},React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:436}},React.createElement("label",{for:"name",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:436}},"域名:"),React.createElement("input",_extends({id:"name"},this.linkState({type:"text",name:"name"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:436}}))),React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:437}},React.createElement("label",{for:"days",className:"lbl-ck",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:437}},React.createElement("input",_extends({id:"days"},this.linkState({type:"checkbox",name:"days",value:"30"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:437}})),"30天内到期")),React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:438}},React.createElement("input",{type:"button",className:"onRequest",onClick:this.load.bind(this,1),value:"查 询",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:438}})));break;case"contact":a=React.createElement("ul",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:442}},React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:443}},React.createElement("label",{for:"contactId",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:443}},"ID:"),React.createElement("input",_extends({id:"contactId"},this.linkState({type:"text",name:"contactId"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:443}}))),React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:444}},React.createElement("label",{for:"email",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:444}},"邮箱:"),React.createElement("input",_extends({id:"email"},this.linkState({type:"text",name:"email"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:444}}))),React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:445}},React.createElement("label",{for:"emailOk",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:445}},"邮箱状态:"),React.createElement(SelectStatus,_extends({id:"emailOk"},this.linkState({name:"emailOk"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:445}}))),React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:446}},React.createElement("label",{for:"uniIdOk",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:446}},"联系人状态:"),React.createElement(SelectStatus,_extends({id:"uniIdOk"},this.linkState({name:"uniIdOk"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:446}}))),React.createElement("li",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:447}},React.createElement("input",{type:"button",className:"onRequest",onClick:this.load.bind(this,1),value:"查 询",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:447}})));break;default:a=""}return React.createElement("div",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:453}},this.props.children,React.createElement("div",{style:{display:a?"block":"none"},className:"search-box",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:455}},a),React.createElement("table",{className:"datatable",width:"100%",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:456}},React.createElement("tbody",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:457}},React.createElement("tr",{className:"th",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:458}},forJSON(this.props.head,function(a,b){return React.createElement("th",{key:a,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:459}},b)})),this.state.rows.map(function(a){return React.createElement("tr",{key:a.id,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:462}},forJSON(b.props.head,function(c){switch(c){case"op":return React.createElement("td",{key:c,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:467}},JOIN(forJSON({onUpdate:"修改",onCancel:"取消",onApprove:"批准",onReject:"拒绝",onRestore:"pendingRestore"===a.rgp?"提交报告":"申请赎回",onResolve:"解析"},function(c,d){return b.props[c]?React.createElement("a",{key:c,onClick:b.props[c].bind(b,a.id,a.rgp),__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:478}},d):void 0}),React.createElement("b",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:480}}," | ")));case"emailOk":return React.createElement("td",{key:c,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:486}},b.onAuth(React.createElement("a",{className:"link",onClick:b.props.onEmailAuth.bind(b,a.email),__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:487}},"未通过"),a[c]));case"uniIdOk":return React.createElement("td",{key:c,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:493}},b.onAuth(React.createElement("a",{className:"link",onClick:b.props.onContactAuth.bind(b,a.id,a.name,a.org),__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:494}},"未通过"),a[c]));default:return React.createElement("td",{key:c,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:499}},a[c])}}))}))),React.createElement("table",{className:"pagetable",width:"100%",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:507}},React.createElement("tbody",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:508}},React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:509}},React.createElement("td",{style:{display:this.state.pages>0?"block":"none"},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:510}},"页号:(",this.state.page,"/",this.state.pages,")",React.createElement("a",{style:{visibility:this.state.page>1?"visible":"hidden"},onClick:this.onPrev,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:512}},"上一页"),React.createElement("a",{style:{visibility:this.state.page=35?"19":"20",c=a.slice(0,6)+b+a.slice(6);return c},getParam:function(){var a={registrantType:{none:1,block:2}[this.state.registrantType],idType:this.state.idType,idCode:"none"===this.state.registrantType&&"1"===this.state.idType?this.handleId(this.state.id):this.state.idCode,idImg:this.state.idImg,userRegion:this.state.userRegion};return"block"===this.state.registrantType&&(a.orgType=this.state.orgType,a.orgIdType=this.state.orgIdType,a.orgIdCode=this.state.orgIdCode,a.orgIdImg=this.state.orgIdImg),a},handleSubmit:function(a){this.state.posting="block",this.forceUpdate(),api.uploadRegistrant(this.state.id,this.getParam(),function(a,b){switch(a){case"1000":this.props.onFinish();break;case"2501":logout();break;default:this.state.value=b,this.forceUpdate()}}.bind(this))},render:function(){return React.createElement("div",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2615}},React.createElement("div",{style:{display:this.state.status||this.state.description?"block":"none"},className:"status-content",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2616}},React.createElement("p",{style:{display:this.state.status?"block":"none"},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2617}},React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2617}},"状态:"),this.state.status),React.createElement("p",{style:{display:this.state.description?"block":"none"},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2618}},React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2618}},"原因:"),this.state.description)),React.createElement("table",{className:"formtable",border:"0",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2620}},React.createElement("tbody",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2621}},React.createElement("tr",{align:"center",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2622}},React.createElement("td",{colSpan:"2",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2623}},this.props.children)),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2625}},React.createElement("td",{colSpan:"2",height:"16",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2626}})),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2628}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2629}},"认证方式:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2630}},React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2631}},React.createElement("input",_extends({},this.linkState({name:"registrantType",type:"radio",value:"none"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2631}})),"个人认证"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2636}},React.createElement("input",_extends({},this.linkState({name:"registrantType",type:"radio",value:"block"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2636}})),"企业认证"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2643}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2644}},"注册人姓名:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2645}},this.state.name)),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2647}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2648}},"证件类型:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2649}},React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2650}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"1"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2650}})),"身份证"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2655}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"3"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2655}})),"护照"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2660}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"6"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2660}})),"港澳居民来往内地通行证"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2665}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"12"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2665}})),"台湾居民来往大陆通行证"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2670}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"13"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2670}})),"外国人永久居留身份证"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2675}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"28"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2675}})),"港澳居民居住证"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2680}},React.createElement("input",_extends({},this.linkState({name:"idType",type:"radio",value:"29"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2680}})),"台湾居民居住证"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2687}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2688}},"证件号码:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2689}},React.createElement("label",{style:{display:"none"===this.state.registrantType&&"1"===this.state.idType?"block":"none"},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2690}},this.handleId(this.state.id)),React.createElement("input",_extends({style:{display:"block"===this.state.registrantType||"1"!=this.state.idType?"block":"none"}},this.linkState({type:"text",name:"idCode",size:"32",maxLength:"18"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2691}})))),React.createElement("tr",{style:{display:this.state.registrantType},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2699}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2700}},"企业名称:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2701}},this.state.org)),React.createElement("tr",{style:{display:this.state.registrantType},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2703}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2704}},"企业类型:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2705}},React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2706}},React.createElement("input",_extends({},this.linkState({name:"orgType",type:"radio",value:"1"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2706}})),"个体"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2711}},React.createElement("input",_extends({},this.linkState({name:"orgType",type:"radio",value:"2"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2711}})),"工商"))),React.createElement("tr",{style:{display:this.state.registrantType},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2718}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2719}},"组织证明证件类型:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2720}},React.createElement(SelectOrgIdType,_extends({className:"sel"},this.linkState({name:"orgIdType"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2721}})),"  请选择合适的证件类型")),React.createElement("tr",{style:{display:this.state.registrantType},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2724}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2725}},"组织证明证件号码:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2726}},React.createElement("input",_extends({},this.linkState({type:"text",name:"orgIdCode",size:"32",maxLength:"32"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2727}})))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2735}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2736}},"用户类型:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2737}},React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2738}},React.createElement("input",_extends({},this.linkState({name:"userRegion",type:"radio",checked:"checked",value:"1"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2738}})),"国内用户"),React.createElement("label",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2744}},React.createElement("input",_extends({},this.linkState({name:"userRegion",type:"radio",value:"2"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2744}})),"国外用户"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2751}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2752}},"联系人证件图片:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2753}},React.createElement("input",_extends({},this.linkState({name:"idImg",type:"file",accept:"image/png,image/jpeg,image/bmp"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2754}})),React.createElement("em",{className:"red block",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2758}}),React.createElement("label",{className:"block",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2759}},"要求原始图片大小介于5k-5m之间,格式为jpg、bmp或png"))),React.createElement("tr",{style:{display:this.state.registrantType},__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2762}},React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2763}},"组织证件图片:"),React.createElement("td",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2764}},React.createElement("input",_extends({},this.linkState({name:"orgIdImg",type:"file",accept:"image/png,image/jpeg,image/bmp"}),{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2765}})),React.createElement("em",{className:"red block",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2769}}),React.createElement("label",{className:"block",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2770}},"要求原始图片大小介于5k-5m之间,格式为jpg、bmp或png"))),React.createElement("tr",{__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2773}},React.createElement("td",{colSpan:"2",height:"16",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2774}})),React.createElement("tr",{align:"center",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2776}},React.createElement("td",{colSpan:"2",__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2777}},React.createElement("input",{type:"button",value:"提交",onClick:this.handleSubmit,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2777}}))))),React.createElement(OpResult,{content:this.state.value,__source:{fileName:"../../../../../../../../root/node_modules/swallowjs/src/tags.jsx",lineNumber:2781}}))}}); "use strict";!function(a,b){if("function"==typeof define&&define.amd)define(["exports","http","querystring"],b);else if("undefined"!=typeof exports)b(exports,require("http"),require("querystring"));else{var c={exports:{}};b(c.exports,a.http,a.querystring),a.eppAPI=c.exports}}(this,function(a,b,c){function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(a,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c1?b-1:0),d=1;dh3"),f=0;fdiv"),f=0;fh3"),d=0;ddiv"),d=0;d