1"use strict";(self.webpackChunksolar_react=self.webpackChunksolar_react||[]).push([[292],{39968:function(e,t,n){n.d(t,{CP:function(){return h},Ik:function(){return a},TJ:function(){return x},UI:function(){return f},Yv:function(){return l},cT:function(){return Z},eE:function(){return o},gL:function(){return j},pp:function(){return c},qp:function(){return m},r6:function(){return p},ru:function(){return v},si:function(){return g},tR:function(){return u},vo:function(){return d}});var r=n(13233),i=n(74776),s=n.n(i),l=function(e){return(0,r.j0)("/sys/faq/listFAQ",s().stringify(e))},a=function(e){return(0,r.j0)("/sys/information/listInformation",s().stringify(e))},c=function(e){return(0,r.j0)("/sys/consult/listConsultPersonal",s().stringify(e))},o=function(e){return(0,r.j0)("/sys/consult/sendConsult",s().stringify(e))},u=function(e){return(0,r.j0)("/sys/consult/deleteConsult",s().stringify(e))},d=function(e){return(0,r.j0)("/sys/discuss/listDiscuss",s().stringify(e))},m=function(e){return(0,r.j0)("/sys/feedback/listFeedback",s().stringify(e))},f=function(e){return(0,r.A_)("/sys/post/listPostByType",e)},x=function(e){return(0,r.j0)("/sys/post/sendPost",s().stringify(e))},p=function(e){return(0,r.j0)("/sys/post/deletePost",s().stringify(e))},h=function(e){return(0,r.j0)("/sys/post/updatePost",s().stringify(e))},g=function(e){return(0,r.j0)("/sys/post/findPost",s().stringify(e))},v=function(e){return(0,r.j0)("/sys/post/listPostByMain",s().stringify(e))},j=function(e){return(0,r.j0)("/sys/post/listPostSelf",s().stringify(e))},Z=function(e){return(0,r.iK)("/file/uploadFile",e)}},86962:function(e,t,n){n.d(t,{Az:function(){return g},Gx:function(){return f},J2:function(){return o},VR:function(){return m},hM:function(){return d},o:function(){return x},u:function(){return u},v0:function(){return p}});var r=n(13233),i=n(17493),s=n(31881),l=n.n(s),a=n(74776),c=n.n(a);function o(e){return(0,r.A_)("/material/".concat(e))}function u(e){return(0,r.A_)("/material/admin/".concat(e))}function d(e){return(0,r.Q8)("/material/admin",e)}function m(e){return(0,r.GH)("/material/admin",e)}function f(e){return(0,r.Jl)("/material/".concat(e))}function x(e,t){return(0,r.GH)("/material/admin/".concat(e,"/active?active=").concat(t))}function p(e){return(0,r.A_)("/material/admin/list",e)}function h(e,t){var n="https://solardesign.cn/calc";"undefined"!==typeof window&&void 0!==window.hostaddr&&(n="http://"+window.hostaddr+":9040");var r=function(e){var t={};return Object.keys(e).forEach((function(n){void 0!==e[n]&&null!==e[n]&&""!==e[n]&&(t[n]=e[n])})),t}(t),s=c().stringify(r);return l()({method:"POST",url:"".concat(n).concat(e),data:s,headers:{"Content-Type":"application/x-www-form-urlencoded",tick:(0,i.bA)(),uid:(0,i.Kr)()}})}function g(e){return h("/material/list",e)}},83292:function(e,t,n){n.r(t);var r=n(93433),i=n(4942),s=n(74165),l=n(1413),a=n(15861),c=n(29439),o=n(47313),u=n(70685),d=n(73323),m=n(83999),f=n(15881),x=n(55291),p=n(22741),h=n(68197),g=n(59624),v=n(6289),j=n(74294),Z=n(28080),y=n(14925),b=n(59491),I=n(45705),C=n(46155),A=n(22231),w=n(82224),E=n(82138),B=n(60020),T=n(52917),F=n(58467),P=n(39968),S=n(86962),G=(n(71730),n(46417)),R=(u.Z.TextArea,d.Z.Title),k=d.Z.Text,q=(m.Z.Step,[{value:"absorber",label:"\u5438\u5149\u5c42\u6750\u6599",children:[{value:"organic",label:"\u6709\u673a\u6750\u6599"},{value:"tetrahedral",label:"\u56db\u9762\u4f53\u6750\u6599"},{value:"perovskite",label:"\u9499\u949b\u77ff\u6750\u6599",children:[{value:"lead_perovskite",label:"\u542b\u94c5\u9499\u949b\u77ff"},{value:"lead_free_perovskite",label:"\u4e0d\u542b\u94c5\u9499\u949b\u77ff"}]}]},{value:"electron_transport",label:"\u7535\u5b50\u4f20\u8f93\u5c42\u6750\u6599"},{value:"hole_transport",label:"\u7a7a\u7a74\u4f20\u8f93\u5c42\u6750\u6599"},{value:"electrode",label:"\u7535\u6781\u6750\u6599",children:[{value:"positive",label:"\u6b63\u6781"},{value:"negative",label:"\u8d1f\u6781"}]}]),M=[{value:"GGA-PBE",label:"GGA-PBE"},{value:"GGA-PW91",label:"GGA-PW91"},{value:"LDA",label:"LDA"},{value:"HSE06",label:"HSE06"},{value:"PBE0",label:"PBE0"}];if("undefined"!==typeof window){var z=document.createElement("style");z.innerHTML="\n .param-sections-grid {\n display: grid;\n grid-template-columns: repeat(4, minmax(300px, 1fr));\n gap: 16px;\n }\n @media (max-width: 1500px) {\n .param-sections-grid {\n grid-template-columns: repeat(2, minmax(300px, 1fr));\n }\n }\n @media (max-width: 700px) {\n .param-sections-grid {\n grid-template-columns: 1fr;\n }\n }\n .param-section-item { min-width: 0; }\n ",document.head.appendChild(z)}t.default=function(){var e=f.Z.useForm(),t=(0,c.Z)(e,1)[0],n=(0,o.useState)(0),d=(0,c.Z)(n,2),m=(d[0],d[1],(0,o.useState)(!1)),z=(0,c.Z)(m,2),D=z[0],L=z[1],U=(0,o.useState)(!1),W=(0,c.Z)(U,2),_=W[0],N=W[1],H=(0,o.useState)({crystalTxt:null,refractiveFile:null,bandImage:null,dosImage:null,absImage:null,referenceRefractiveFile:null}),V=(0,c.Z)(H,2),K=V[0],J=V[1],O=(0,o.useState)({bandGap:"",dielectricConstant:"",electronEffectiveMass:"",holeEffectiveMass:"",electronAffinity:""}),Q=(0,c.Z)(O,2),Y=Q[0],$=Q[1],X=(0,o.useState)([]),ee=(0,c.Z)(X,2),te=ee[0],ne=ee[1],re=(0,F.s0)(),ie=function(){var e=(0,a.Z)((0,s.Z)().mark((function e(n){var r,i,a,c,o,u,d,m,f,p,h,g,v,j,Z,y,b,I;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.validateFields();case 3:e.next=10;break;case 5:return e.prev=5,e.t0=e.catch(0),x.ZP.error("\u8bf7\u68c0\u67e5\u8868\u5355\u586b\u5199\u662f\u5426\u6b63\u786e"),L(!1),e.abrupt("return");case 10:if(L(!0),e.prev=11,K.crystalTxt&&"done"===K.crystalTxt.status){e.next=16;break}return x.ZP.error("\u8bf7\u4e0a\u4f20\u6676\u4f53\u7ed3\u6784CIF\u6587\u4ef6"),L(!1),e.abrupt("return");case 16:return g=(0,l.Z)((0,l.Z)({},n),{},{crystalTxtUrl:null===(r=K.crystalTxt)||void 0===r?void 0:r.url,refractiveFileUrl:null===(i=K.refractiveFile)||void 0===i?void 0:i.url,bandImageUrl:null===(a=K.bandImage)||void 0===a?void 0:a.url,dosImageUrl:null===(c=K.dosImage)||void 0===c?void 0:c.url,absImageUrl:null===(o=K.absImage)||void 0===o?void 0:o.url}),v={},g.name&&(v.name=g.name),g.fullname&&(v.fullname=g.fullname),g.element&&(v.element=g.element),j={absorber:1,electron_transport:2,hole_transport:3,electrode:4},g.category&&(Array.isArray(g.category)?(Z=g.category,v.cata=j[Z[0]]||null,v.key=Z[Z.length-1]):"string"===typeof g.category&&(v.key=g.category)),void 0!==g.structA&&null!==g.structA&&(v.structA=g.structA),void 0!==g.structAlpha&&null!==g.structAlpha&&
1(v.structAlpha=g.structAlpha),void 0!==g.structB&&null!==g.structB&&(v.structB=g.structB),void 0!==g.structBeta&&null!==g.structBeta&&(v.structBeta=g.structBeta),void 0!==g.structC&&null!==g.structC&&(v.structC=g.structC),void 0!==g.structGamma&&null!==g.structGamma&&(v.structGamma=g.structGamma),void 0!==g.structVolume&&null!==g.structVolume&&(v.structVolume=g.structVolume),g.functional&&(v.functional=g.functional),g.energyCriterion&&(v.energyCriterion=g.energyCriterion),g.kDensity&&(v.kDensity=g.kDensity),g.forceCriterion&&(v.forceCriterion=g.forceCriterion),g.chemicalFormula&&(v.chemicalFormula=g.chemicalFormula),void 0!==g.eEffectiveMass&&null!==g.eEffectiveMass&&(v.eEffectiveMass=g.eEffectiveMass),void 0!==g.atomicNumber&&null!==g.atomicNumber&&(v.atomicNumber=g.atomicNumber),void 0!==g.hEffectiveMass&&null!==g.hEffectiveMass&&(v.hEffectiveMass=g.hEffectiveMass),void 0!==g.bandGap&&null!==g.bandGap&&(v.bandGap=g.bandGap),void 0!==g.electronAffinity&&null!==g.electronAffinity&&(v.electronAffinity=g.electronAffinity),void 0!==g.dielectricConstant&&null!==g.dielectricConstant&&(v.dielectricConstant=g.dielectricConstant),null!==(u=K.crystalTxt)&&void 0!==u&&u.url&&(v.struct3d=K.crystalTxt.url),null!==(d=K.refractiveFile)&&void 0!==d&&d.url&&(v.refractiveIndex=K.refractiveFile.url),null!==(m=K.bandImage)&&void 0!==m&&m.url&&(v.bandDiagram=K.bandImage.url),null!==(f=K.dosImage)&&void 0!==f&&f.url&&(v.statesDensity=K.dosImage.url),null!==(p=K.absImage)&&void 0!==p&&p.url&&(v.absorptivity=K.absImage.url),Y.bandGap&&(v.refBandGap=Y.bandGap),Y.dielectricConstant&&(v.refDielectricConstant=Y.dielectricConstant),Y.electronEffectiveMass&&(v.refEEffectiveMass=Y.electronEffectiveMass),Y.holeEffectiveMass&&(v.refHEffectiveMass=Y.holeEffectiveMass),Y.electronAffinity&&(v.refElectronAffinity=Y.electronAffinity),null!==(h=K.referenceRefractiveFile)&&void 0!==h&&h.url&&(v.refRefractiveIndex=K.referenceRefractiveFile.url),te.length>0&&(y=te.filter((function(e){return e.title.trim()||e.url.trim()})).map((function(e){return"".concat(e.title.trim(),"|||").concat(e.url.trim())})).join("\n"),v.refs=y),e.next=55,(0,S.hM)(v);case 55:!(b=e.sent).data||"200"!==b.data.code&&"1000"!==b.data.code?x.ZP.error((null===(I=b.data)||void 0===I?void 0:I.msg)||"\u6dfb\u52a0\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5"):(x.ZP.success("\u6750\u6599\u6dfb\u52a0\u6210\u529f\uff01"),re("/plat/manage/material")),e.next=62;break;case 59:e.prev=59,e.t1=e.catch(11),x.ZP.error("\u6dfb\u52a0\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5");case 62:return e.prev=62,L(!1),e.finish(62);case 65:case"end":return e.stop()}}),e,null,[[0,5],[11,59,62,65]])})));return function(t){return e.apply(this,arguments)}}(),se=function(e,t){J((function(n){return(0,l.Z)((0,l.Z)({},n),{},(0,i.Z)({},e,{name:t.name,uid:t.uid,status:"uploading"}))})),N(!0),x.ZP.loading("".concat(t.name," \u6b63\u5728\u4e0a\u4f20..."),0),(0,P.cT)({file:t,type:"material"}).then((function(n){n.data&&"1000"===n.data.code?(J((function(r){return(0,l.Z)((0,l.Z)({},r),{},(0,i.Z)({},e,{name:t.name,url:n.data.msg,uid:t.uid,status:"done"}))})),x.ZP.destroy(),x.ZP.success("".concat(t.name," \u4e0a\u4f20\u6210\u529f"))):(J((function(t){return(0,l.Z)((0,l.Z)({},t),{},(0,i.Z)({},e,null))})),x.ZP.destroy(),x.ZP.error("\u4e0a\u4f20\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5"))})).catch((function(t){J((function(t){return(0,l.Z)((0,l.Z)({},t),{},(0,i.Z)({},e,null))})),x.ZP.destroy(),x.ZP.error("\u4e0a\u4f20\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5")})).finally((function(){N(!1)}))},le=function(e){J((function(t){return(0,l.Z)((0,l.Z)({},t),{},(0,i.Z)({},e,null))}))},ae=function(e){var t=K[e];return t?"done"===t.status?"\u2713 \u5df2\u4e0a\u4f20":"uploading"===t.status?"\u23f3 \u4e0a\u4f20\u4e2d...":"":""},ce=function(e){var t=K[e];if(!t)return[];var n=t.url?"/res/".concat(t.url):"";return[(0,l.Z)({uid:t.uid,name:t.name,status:t.status,url:n},n&&n.match(/\.(jpg|jpeg|png|gif|bmp|webp)$/i)&&{thumbUrl:n})]},oe=function(){var e={id:Date.now(),title:"",url:""};ne([].concat((0,r.Z)(te),[e]))},ue=function(e,t,n){ne(te.map((function(r){return r.id===e?(0,l.Z)((0,l.Z)({},r),{},(0,i.Z)({},t,n)):r})))},de={marginBottom:16,borderRadius:10,boxShadow:"0 1px 4px rgba(0,0,0,0.04)",border:"1px solid #e0e0e0",overflow:"hidden"},me={background:"linear-gradient(90deg, #158f8f 0%, #1e6fa7 100%)",color:"#fff",fontWeight:600,fontSize:16,padding:"12px 0 10px 10px",borderRadius:"10px 10px 0 0",borderBottom:"none",marginBottom:0,lineHeight:1.2};return(0,G.jsxs)("div",{className:"material-add-container",children:[(0,G.jsxs)("div",{className:"page-header",children:[(0,G.jsxs)(I.Z,{children:[(0,G.jsx)(b.Z,{icon:(0,G.jsx)(T.Z,{}),onClick:function(){re("/plat/manage/material")},type:"text",children:"\u8fd4\u56de"}),(0,G.jsx)(R,{level:2,style:{margin:0},children:"\u6dfb\u52a0\u65b0\u6750\u6599"})]}),(0,G.jsx)(k,{type:"secondary",children:"\u8bf7\u586b\u5199\u6750\u6599\u4fe1\u606f\u5e76\u4e0a\u4f20\u76f8\u5173\u6587\u4ef6"})]}),(0,G.jsx)(Z.Z,{style:{borderRadius:"8px"},children:(0,G.jsxs)(f.Z,{form:t,layout:"vertical",onFinish:ie,validateTrigger:["onChange","onBlur"],scrollToFirstError:!0,
1children:[(0,G.jsx)("div",{className:"param-sections-grid",children:[1,2,3,4].map((function(e){var t,n;return 1===e?(t="1. \u6750\u6599\u57fa\u672c\u4fe1\u606f",n=(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(f.Z.Item,{name:"name",label:"\u6750\u6599\u7b80\u79f0",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u6750\u6599\u7b80\u79f0",validator:function(e,t){return t&&""!==t.trim()?Promise.resolve():Promise.reject(new Error("\u8bf7\u8f93\u5165\u6750\u6599\u7b80\u79f0"))}}],children:(0,G.jsx)(u.Z,{placeholder:"\u8bf7\u8f93\u5165\u6750\u6599\u7b80\u79f0"})}),(0,G.jsx)(f.Z.Item,{name:"fullname",label:"\u6750\u6599\u5168\u79f0",rules:[{required:!1,message:"\u8bf7\u8f93\u5165\u6750\u6599\u5168\u79f0"}],children:(0,G.jsx)(u.Z,{placeholder:"\u8bf7\u8f93\u5165\u6750\u6599\u5168\u79f0"})}),(0,G.jsx)(f.Z.Item,{name:"element",label:"\u5143\u7d20",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5143\u7d20",validator:function(e,t){return t&&""!==t.trim()?Promise.resolve():Promise.reject(new Error("\u8bf7\u8f93\u5165\u5143\u7d20"))}}],children:(0,G.jsx)(u.Z,{placeholder:"\u5982\uff1aSn, O"})}),(0,G.jsx)(f.Z.Item,{name:"category",label:"\u6750\u6599\u5206\u7c7b",rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u6750\u6599\u5206\u7c7b",validator:function(e,t){return t&&0!==t.length?Promise.resolve():Promise.reject(new Error("\u8bf7\u9009\u62e9\u6750\u6599\u5206\u7c7b"))}}],children:(0,G.jsx)(p.Z,{options:q,placeholder:"\u8bf7\u9009\u62e9\u6750\u6599\u5206\u7c7b",expandTrigger:"hover",showSearch:!0})})]})):2===e?(t="2. \u6676\u683c\u53c2\u6570",n=(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"structA",label:"a (\xc5)",rules:[{required:!0,message:"\u8bf7\u8f93\u5165a"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:3})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"structAlpha",label:"\u03b1 (\xb0)",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u03b1"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})]}),(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"structB",label:"b (\xc5)",rules:[{required:!0,message:"\u8bf7\u8f93\u5165b"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:3})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"structBeta",label:"\u03b2 (\xb0)",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u03b2"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})]}),(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"structC",label:"c (\xc5)",rules:[{required:!0,message:"\u8bf7\u8f93\u5165c"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:3})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"structGamma",label:"\u03b3 (\xb0)",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u03b3"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})]}),(0,G.jsx)(h.Z,{gutter:[16,0],children:(0,G.jsx)(g.Z,{span:24,children:(0,G.jsx)(f.Z.Item,{name:"structVolume",label:"volume (\xc5\xb3)",children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:3})})})})]})):3===e?(t="3. \u7b2c\u4e00\u6027\u539f\u7406\u53c2\u6570",n=(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"functional",label:"\u6cdb\u51fd\u7c7b\u578b",rules:[{required:!0,message:"\u8bf7\u9009\u62e9\u6cdb\u51fd\u7c7b\u578b"}],children:(0,G.jsx)(j.Z,{options:M,placeholder:"\u8bf7\u9009\u62e9"})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"energyCriterion",label:"\u80fd\u91cf\u6536\u655b\u5224\u636e",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u80fd\u91cf\u6536\u655b\u5224\u636e"}],children:(0,G.jsx)(u.Z,{})})})]}),(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"kDensity",label:"K\u70b9\u5bc6\u5ea6",rules:[{required:!0,message:"\u8bf7\u8f93\u5165K\u70b9\u5bc6\u5ea6"}],children:(0,G.jsx)(u.Z,{})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"forceCriterion",label:"\u529b\u7684\u6536\u655b\u5224\u636e",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u529b\u7684\u6536\u655b\u5224\u636e"}],children:(0,G.jsx)(u.Z,{})})})]})]})):4===e&&(t="4. \u8ba1\u7b97\u6a21\u62df\u7269\u6027\u53c2\u6570",n=(0,G.jsxs)(G.Fragment,{children:[(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"chemicalFormula",label:"\u5316\u5b66\u5f0f",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5316\u5b66\u5f0f"}],children:(0,G.jsx)(u.Z,{})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"eEffectiveMass",label:"\u7535\u5b50\u6709\u6548\u8d28\u91cf",children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})]}),(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"atomicNumber",label:"\u539f\u5b50\u6570",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u539f\u5b50\u6570"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"}})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"hEffectiveMass",label:"\u7a7a\u7a74\u6709\u6548\u8d28\u91cf",children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})]}),(0,G.jsxs)(h.Z,{gutter:[16,0],children:[(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"bandGap",label:"\u5e26\u9699",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5e26\u9699"}],children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})}),(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"electronAffinity",label:"\u7535\u5b50\u4eb2\u5408\u80fd",children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})]}),(0,G.jsx)(h.Z,{gutter:[16,0],children:(0,G.jsx)(g.Z,{span:12,children:(0,G.jsx)(f.Z.Item,{name:"dielectricConstant",label:"\u4ecb\u7535\u5e38\u6570",children:(0,G.jsx)(v.Z,{style:{width:"100%"},precision:2})})})})]})),(0,G.jsx)("div",{className:"param-section-item",style:{minWidth:300,boxSizing:"border-box",display:"flex",flexDirection:"column"},children:(0,G.jsxs)(Z.Z,{style:de,bodyStyle:{padding:"0 0 16px 0",paddingTop:0},bordered:!1,children:[(0,G.jsx)("div",{style:me,children:t}),(0,G.jsx)("div",{style:{padding:8},children:n})]})},e)}))}),(0,G.jsxs)(Z.Z,{style:de,bodyStyle:{padding:"0 0px 8px 0px",paddingTop:0},bordered:!1,children:[(0,G.jsx)("div",{style:me,children:"5. \u6676\u4f53\u7ed3\u6784\u3001\u6027\u80fd\u56fe\u7247\u4e0a\u4f20"}),(0,G.jsxs)(h.Z,{gutter:[8,0],style:{padding:"10px"},children:[(0,G.jsx)(g.Z,{span:4,children:(0,G.jsx)(f.Z.Item,{name:"struct3d",label:(0,G.jsxs)("span",{children:["\u6676\u4f53\u7ed3\u6784 (cif)",ae("crystalTxt")&&(0,G.jsx)("span",{style:{color:"#52c41a",marginLeft:8,fontSize:"12px"},children:ae("crystalTxt")})]}),rules:[{required:!0,message:"\u8bf7\u4e0a\u4f20\u6676\u4f53\u7ed3\u6784CIF\u6587\u4ef6"}],children:(0,G.jsx)(y.Z,{name:"struct3d",accept:".cif,.txt",beforeUpload:function(){return!0},maxCount:1,fileList:ce("crystalTxt"),onRemove:function(){return le("crystalTxt")},customRequest:function(e){var t=e.file;return se("crystalTxt",t)},maxSize:void 0,onChange:function(e){e.file.status},children:(0,G.jsx)(b.Z,{icon:(0,G.jsx)(A.Z,{}),loading:_,children:"\u4e0a\u4f20cif\u6587\u4ef6"})})})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsx)(f.Z.Item,{name:"refractiveIndex",label:(0,G.jsxs)("span",{children:["\u6298\u5c04\u7387\u6587\u4ef6 (txt)",ae("refractiveFile")&&(0,G.jsx)("span",{style:{color:"#52c41a",marginLeft:8,fontSize:"12px"},children:ae("refractiveFile")})]}),children:(0,G.jsx)(y.Z,{name:"refractiveIndex",accept:".txt",beforeUpload:function(){return!0},maxCount:1,fileList:ce("refractiveFile"),onRemove:function(){return le("refractiveFile")},customRequest:function(e){var t=e.file;return se("refractiveFile",t)},maxSize:void 0,children:(0,G.jsx)(b.Z,{icon:(0,G.jsx)(A.Z,{}),loading:_,children:"\u4e0a\u4f20\u6298\u5c04\u7387\u6587\u4ef6"})})})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsx)(f.Z.Item,{name:"bandDiagram",label:(0,G.jsxs)("span",{children:["\u80fd\u5e26\u56fe",ae("bandImage")&&(0,G.jsx)("span",{style:{color:"#52c41a",marginLeft:8,fontSize:"12px"},children:ae("bandImage")})]}),rules:[],children:(0,G.jsx)(y.Z,{name:"bandDiagram",accept:"image/*",beforeUpload:function(){return!0},maxCount:1,listType:"picture-card",fileList:ce("bandImage"),onRemove:function(){return le("bandImage")},customRequest:function(e){var t=e.file;return se("bandImage",t)},maxSize:void 0,children:(0,G.jsxs)("div",{children:[(0,G.jsx)(w.Z,{}),(0,G.jsx)("div",{style:{marginTop:8},children:"\u4e0a\u4f20\u80fd\u5e26\u56fe"})]})})})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsx)(f.Z.Item,{name:"statesDensity",label:(0,G.jsxs)("span",{children:["\u6001\u5bc6\u5ea6\u56fe",ae("dosImage")&&(0,G.jsx)("span",{style:{color:"#52c41a",marginLeft:8,fontSize:"12px"},children:ae("dosImage")})]}),rules:[],children:(0,G.jsx)(y.Z,{name:"statesDensity",accept:"image/*",beforeUpload:function(){return!0},maxCount:1,listType:"picture-card",fileList:ce("dosImage"),onRemove:function(){return le("dosImage")},customRequest:function(e){var t=e.file;return se("dosImage",t)},maxSize:void 0,children:(0,G.jsxs)("div",{children:[(0,G.jsx)(w.Z,{}),(0,G.jsx)("div",{style:{marginTop:8},children:"\u4e0a\u4f20\u6001\u5bc6\u5ea6\u56fe"})]})})})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsx)(f.Z.Item,{name:"absorptivity",label:(0,G.jsxs)("span",{children:["\u5438\u6536\u8c31",ae("absImage")&&(0,G.jsx)("span",{style:{color:"#52c41a",marginLeft:8,fontSize:"12px"},children:ae("absImage")})]}),rules:[],children:(0,G.jsx)(y.Z,{name:"absorptivity",accept:"image/*",beforeUpload:function(){return!0},maxCount:1,listType:"picture-card",fileList:ce("absImage"),onRemove:function(){return le("absImage")},customRequest:function(e){var t=e.file;return se("absImage",t)},maxSize:void 0,children:(0,G.jsxs)("div",{children:[(0,G.jsx)(w.Z,{}),(0,G.jsx)("div",{style:{marginTop:8},children:"\u4e0a\u4f20\u5438\u6536\u8c31"})]})})})})]})]}),(0,G.jsxs)(Z.Z,{style:de,bodyStyle:{padding:"0 0px 8px 0px",paddingTop:0},bordered:!1,children:[(0,G.jsx)("div",{style:me,children:"6. \u53c2\u8003\u7269\u6027\u53c2\u6570"}),(0,G.jsxs)("div",{style:{padding:"10px"},children:[(0,G.jsx)("div",{style:{marginBottom:"20px"},children:(0,G.jsxs)(h.Z,{gutter:[8,0],children:[(0,G.jsx)(g.Z,{span:4,children:(0,G.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,G.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",textAlign:"left"},children:"\u5e26\u9699\u53c2\u8003\u503c:"}),(0,G.jsx)(u.Z,{value:Y.bandGap,onChange:function(e){return $((0,l.Z)((0,l.Z)({},Y),{},{bandGap:e.target.value}))},placeholder:"\u8bf7\u8f93\u5165\u5e26\u9699\u53c2\u8003\u503c",size:"small"})]})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,G.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",textAlign:"left"},children:"\u4ecb\u7535\u5e38\u6570\u53c2\u8003\u503c:"}),(0,G.jsx)(u.Z,{value:Y.dielectricConstant,onChange:function(e){return $((0,l.Z)((0,l.Z)({},Y),{},{dielectricConstant:e.target.value}))},placeholder:"\u8bf7\u8f93\u5165\u4ecb\u7535\u5e38\u6570\u53c2\u8003\u503c",size:"small"})]})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,G.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",textAlign:"left"},children:"\u7535\u5b50\u6709\u6548\u8d28\u91cf\u53c2\u8003\u503c:"}),(0,G.jsx)(u.Z,{value:Y.electronEffectiveMass,onChange:function(e){return $((0,l.Z)((0,l.Z)({},Y),{},{electronEffectiveMass:e.target.value}))},placeholder:"\u8bf7\u8f93\u5165\u7535\u5b50\u6709\u6548\u8d28\u91cf\u53c2\u8003\u503c",size:"small"})]})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,G.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",textAlign:"left"},children:"\u7a7a\u7a74\u6709\u6548\u8d28\u91cf\u53c2\u8003\u503c:"}),(0,G.jsx)(u.Z,{value:Y.holeEffectiveMass,onChange:function(e){return $((0,l.Z)((0,l.Z)({},Y),{},{holeEffectiveMass:e.target.value}))},placeholder:"\u8bf7\u8f93\u5165\u7a7a\u7a74\u6709\u6548\u8d28\u91cf\u53c2\u8003\u503c",size:"small"})]})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,G.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",textAlign:"left"},children:"\u7535\u5b50\u4eb2\u548c\u80fd\u53c2\u8003\u503c:"}),(0,G.jsx)(u.Z,{value:Y.electronAffinity,onChange:function(e){return $((0,l.Z)((0,l.Z)({},Y),{},{electronAffinity:e.target.value}))},placeholder:"\u8bf7\u8f93\u5165\u7535\u5b50\u4eb2\u548c\u80fd\u53c2\u8003\u503c",size:"small"})]})}),(0,G.jsx)(g.Z,{span:4,children:(0,G.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,G.jsx)("div",{style:{fontWeight:"bold",marginBottom:"5px",textAlign:"left"},children:"\u6298\u5c04\u7387\u53c2\u8003\u503c:"}),(0,G.jsx)(y.Z,{name:"refRrefractiveIndex",accept:".txt",beforeUpload:function(){return!0},maxCount:1,fileList:ce("referenceRefractiveFile"),onRemove:function(){return le("referenceRefractiveFile")},customRequest:function(e){var t=e.file;return se("referenceRefractiveFile",t)},maxSize:void 0,children:(0,G.jsx)(b.Z,{icon:(0,G.jsx)(A.Z,{}),loading:_,size:"small",style:{width:"100%"},children:ae("referenceRefractiveFile")?"\u5df2\u4e0a\u4f20":"\u4e0a\u4f20\u6587\u4ef6"})})]})})]})}),(0,G.jsxs)("div",{children:[(0,G.jsxs)("div",{style:{fontWeight:"bold",color:"#1d3994",marginBottom:"10px",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,G.jsx)("span",{children:"\u53c2\u8003\u6765\u6e90:"}),(0,G.jsx)(b.Z,{type:"primary",size:"small",icon:(0,G.jsx)(E.Z,{}),onClick:oe,children:"\u6dfb\u52a0\u53c2\u8003\u6765\u6e90"})]}),te.map((function(e,t){return(0,G.jsxs)("div",{style:{marginBottom:"8px",padding:"8px",display:"flex",alignItems:"center",gap:"10px"},children:[(0,G.jsxs)("span",{style:{fontWeight:"bold",color:"#1d3994",minWidth:"30px",fontSize:"14px"},children:["[",t+1,"]"]}),(0,G.jsx)(u.Z,{placeholder:"\u53c2\u8003\u6765\u6e90\u6807\u9898",value:e.title,onChange:function(t){return ue(e.id,"title",t.target.value)},style:{flex:1},size:"small"}),(0,G.jsx)(u.Z,{placeholder:"\u53c2\u8003\u6765\u6e90URL",value:e.url,onChange:function(t){return ue(e.id,"url",t.target.value)},style:{flex:1},size:"small"}),(0,G.jsx)(b.Z,{type:"text",danger:!0,size:"small",icon:(0,G.jsx)(B.Z,{}),onClick:function(){return t=e.id,void ne(te.filter((function(e){return e.id!==t})));var t},style:{minWidth:"auto"}})]},e.id)}))]})]})]}),(0,G.jsx)(C.Z,{}),(0,G.jsx)("div",{style:{textAlign:"center"},children:(0,G.jsx)(b.Z,{type:"primary",htmlType:"submit",loading:D,icon:(0,G.jsx)(E.Z,{}),children:"\u63d0\u4ea4\u6750\u6599"})})]})})]})}},71730:function(){}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.