import{B as t}from"./zarm.80120c4d.js";import{j as i,a as n}from"./react.b0bedc10.js";import{a as c,u as l}from"./index.a3f0fe79.js";var a="/m-inspection/assets/resultSucess.71c9be9e.png";function m(){const{state:e}=c(),o=l(),s=a,r=()=>{o(`/school/approve/detail/${e==null?void 0:e.role}`,{state:{id:e==null?void 0:e.id}})},u=()=>{o("/campus/photograph",{state:{role:e==null?void 0:e.role}})};return i("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:n("div",{style:{display:"flex",flexDirection:"column"},children:[i("img",{src:s,style:{width:56,height:56,margin:"auto"}}),i("p",{style:{fontSize:18,marginTop:16,marginBottom:16,textAlign:"center"},children:"\u60A8\u5DF2\u63D0\u4EA4\u6210\u529F"}),i("div",{style:{textAlign:"center",color:"#ccc"},children:(e==null?void 0:e.serial_no)&&n("span",{children:["\u9690\u60A3\u7F16\u53F7 ",e.serial_no]})}),n("div",{style:{width:220,display:"flex",justifyContent:"space-around",marginTop:44},children:[i(t,{shape:"round",onClick:u,children:"\u7EE7\u7EED\u63D0\u62A5"}),i(t,{shape:"round",ghost:!0,theme:"primary",onClick:r,children:"\u67E5\u770B\u63D0\u62A5"})]})]})})}export{m as default};
