{"code":"(window[\"webpackJsonp\"]=window[\"webpackJsonp\"]||[]).push([[20],{\"+mqb\":function(e,a,t){\"use strict\";t.r(a);var l,c,r,n=t(\"q1tI\"),s=t.n(n),i=t(\"/MKj\"),p=t(\"9ibs\"),o=t(\"ZFw/\"),m=t.n(o),d=(t(\"YW/v\"),t(\"YRzR\")),h=t.n(d),v=e=>{return s.a.createElement(\"div\",{onClick:e.onClick,className:\"\".concat(h.a.select,\" \").concat(e.value?null:h.a.placeholder)},e.extra)},u=(l=Object(i[\"c\"])(e=>{var a=e.ckuApply;return{ckuApply:a}}),l((r=class extends n[\"Component\"]{constructor(e){super(e),this.componentWillMount=(()=>{}),this.componentDidMount=(()=>{var e=this.props.location.query.birthCode;e&&this.props.dispatch({type:\"ckuApply/checkBirthCode\",payload:{birthCode:e}})}),this.componentWillUnmount=(()=>{this.props.dispatch({type:\"ckuApply/clean\"})}),this.onChangeText=(e=>a=>{this.props.dispatch({type:\"ckuApply/updateState\",payload:{[e]:a.target.value}})}),this.onChangePicker=(e=>a=>{\"provinceName\"===e&&this.props.dispatch({type:\"ckuApply/org\",payload:{provinceName:a[0]}}),this.props.dispatch({type:\"ckuApply/updateState\",payload:{[e]:a[0]}})}),this.onChangeFlag=(e=>{this.props.dispatch({type:\"ckuApply/updateState\",payload:{[e]:\"0\"===this.props.ckuApply[e]?\"1\":\"0\"}})}),this.changeFlag=(()=>{var e=this.props.ckuApply.ecertFlag;this.props.dispatch({type:\"ckuApply/updateState\",payload:{ecertFlag:\"0\"===e?\"1\":\"0\"}})}),this.state={}}render(){var e=this.props.ckuApply,a=e.id,t=e.birthCerRegCode,l=e.dogEnName,c=e.callName,r=e.dogBreedName,n=e.dogColorMarkCn,i=e.dogGender,o=e.dogBirthday,d=e.breeder,u=e.memberName,E=e.ecertFlag,_=e.showDna,N=e.dnaSaveWay,y=e.isDnaParentsCompare,k=e.provinceName,g=e.hospitalCode,x=e.province,b=e.orgList;return s.a.createElement(m.a,{title:\"\\u8840\\u7edf\\u8bc1\\u4e66\\u7533\\u8bf7\"},s.a.createElement(\"div\",null,a?s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.box},s.a.createElement(\"div\",{className:h.a.title},\"\\u7533\\u8bf7\\u72ac\\u53ea\"),s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u767b\\u8bb0\\u5361\\u7f16\\u53f7\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:t||\"\",readOnly:!0})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u72ac\\u540d\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:l||\"\",readOnly:!0})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u547c\\u540d\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u8bf7\\u8f93\\u5165\",value:c||\"\",onChange:this.onChangeText(\"callName\")})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u54c1\\u79cd\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:r||\"\",readOnly:!0})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u6bdb\\u8272\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:n||\"\",readOnly:!0})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u6027\\u522b\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:i||\"\",readOnly:!0})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u51fa\\u751f\\u65e5\\u671f\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:o||\"\",readOnly:!0})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u7e41\\u6b96\\u4eba\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:d||\"\",readOnly:!0}))),s.a.createElement(\"div\",{className:h.a.title},\"\\u72ac\\u4e3b\\u4fe1\\u606f\"),s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u72ac\\u4e3b\\u4eba\"),s.a.createElement(\"input\",{type:\"text\",placeholder:\"\\u65e0\",value:u||\"\",readOnly:!0}))),_?s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.title},\"DNA\\u7559\\u5b58\\u65b9\\u5f0f\"),s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"DNA\\u4f4d\\u70b9\\u5206\\u6790\"),s.a.createElement(\"div\",{className:\"\".concat(h.a.checkbox,\" \").concat(\"1\"===N?h.a.checkbox_a:null)})),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u53cc\\u4eb2\\u6bd4\\u5bf9\"),s.a.createElement(\"div\",{onClick:()=>{this.onChangeFlag(\"isDnaParentsCompare\")},className:\"\".concat(h.a.checkbox,\" \").concat(\"1\"===y?h.a.checkbox_a:null)}))),s.a.createElement(\"div\",{className:h.a.title},\"\\u9009\\u62e9\\u5408\\u4f5c\\u673a\\u6784\"),s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u5730\\u533a\"),s.a.createElement(p[\"i\"],{title:\"\\u9009\\u62e9\\u5730\\u533a\",extra:\"\\u8bf7\\u9009\\u62e9\\u5730\\u533a\",cols:1,data:x,value:k?[k]:null,onChange:this.onChangePicker(\"provinceName\")},s.a.createElement(v,{value:k}))),s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u5408\\u4f5c\\u673a\\u6784\"),s.a.createElement(p[\"i\"],{title:\"\\u9009\\u62e9\\u5408\\u4f5c\\u673a\\u6784\",extra:k?\"\\u8bf7\\u9009\\u62e9\\u5408\\u4f5c\\u673a\\u6784\\u540d\\u79f0\":\"\\u8bf7\\u5148\\u9009\\u62e9\\u5730\\u533a\",cols:1,data:b,value:g?[g]:null,onChange:this.onChangePicker(\"hospitalCode\"),disabled:!k},s.a.createElement(v,{value:g}))))):null,s.a.createElement(\"div\",{className:h.a.title},\"\\u7eb8\\u8d28\\u8bc1\\u4e66\\u7533\\u8bf7\"),s.a.createElement(\"div\",null,s.a.createElement(\"div\",{className:h.a.tr},s.a.createElement(\"div\",{className:h.a.tr_t},\"\\u7eb8\\u8d28\\u7248\\u8840\\u7edf\\u8bc1\\u4e66\"),s.a.createElement(\"div\",{onClick:this.changeFlag,className:\"\".concat(h.a.checkbox,\" \").concat(\"0\"===E?h.a.checkbox_a:null)})))),s.a.createElement(\"div\",{className:h.a.btn,onClick:()=>{this.props.dispatch({type:\"ckuApply/save\"})}},\"\\u786e\\u8ba4\\u7533\\u8bf7\")):null))}},c=r))||c);a[\"default\"]=u},YRzR:function(e,a,t){e.exports={top:\"top___2v0ry\",top_i:\"top_i___1Li4s\",box:\"box___3bHNH\",title:\"title___1h5pS\",tr:\"tr___3Tu75\",tr_t:\"tr_t___3NFhP\",select:\"select___18GN2\",placeholder:\"placeholder___2Wocg\",checkbox:\"checkbox___1g47d\",checkbox_a:\"checkbox_a___1KRFv\",btn:\"btn___3hXzU\"}}}]);","extractedComments":[]}