12 |
- "use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[932],{3932:function(e,t,n){n.d(t,{QC:function(){return m},T_:function(){return f},Ws:function(){return u},oz:function(){return p}});n(3767),n(8585),n(8696),n(7658);var o=n(9611),a=n.n(o),c=n(1401),i=n.n(c),r=n(4613),d=n(6154),s=n(750),l=n.n(s);function u(e){let t="./file/2023年二级学院特色创客空间建设项目申报书模板 (2).docx";const n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(t){const o=n.response,c=new FileReader;c.readAsArrayBuffer(o),c.onload=function(t){const n=c.result,o=new Uint8Array(n),r=new(i())(o),d=(new(a())).loadZip(r);let s={applicationDate:e["applicationDate"],ing:"待建设"==e["stateName"]?"√":"□",ed:"已建设"==e["stateName"]?"√":"□",projectName:e["projectName"],college:e["collegeName"],begin_at:e["begin_at"],plannedEnd_at:e["plannedEnd_at"],pro_leader:e["pro_leader"],lead_leader:e["lead_leader"],people:e["teacher"].length+e["student"].length,teacherNum:e["teacher"].length,studentNum:e["student"].length,teacher:e["teacher"],student:e["student"],brief:e["brief"],Construction:e["Construction"],ProjectBasis:e["ProjectBasis"],development:e["development"],studio:e["studio"],studentTeam:e["studentTeam"],studentActivities:e["studentActivities"],Transforming:e["Transforming"],condition:e["condition"],fund:[e["fund"]]};d.setData(s),d.render();const l=d.getZip().generate({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"});let u=document.createElement("a");u.download="附件3:2023年二级学院特色创客空间建设项目申报书模板(2).docx",u.style.display="none";let p=new Blob([l]);u.href=URL.createObjectURL(p),document.body.appendChild(u),u.click(),document.body.removeChild(u)}},n.send()}function p(e){l().getBinaryContent("./file/2023年学生创客项目申报书模板.docx",((t,n)=>{if(t)return console.log(t);let o=new(i())(n),c=(new(a())).loadZip(o);c.setData({nowTime:(0,r.YZ)(1),projectName:e.projectName,ing:"ed917c55-f51d-11ed-a3f6-509a4c5b67cf"==e.radio?"√":"□",ed:"f3068e26-f51d-11ed-a3f6-509a4c5b67cf"==e.radio?"√":"□",mone:e.checkList.includes("1")?"√":"□",mtwo:e.checkList.includes("2")?"√":"□",mthree:e.checkList.includes("3")?"√":"□",mfour:e.checkList.includes("4")?"√":"□",sone:e.schoolRadio.includes("1")?"√":"□",stwo:e.schoolRadio.includes("2")?"√":"□",sthree:e.schoolRadio.includes("3")?"√":"□",sfour:e.schoolRadio.includes("4")?"√":"□",stu:e.applyParsonRadio.includes("1")?"√":"□",leg:e.applyParsonRadio.includes("2")?"√":"□",appPeason:e.applyParsonName,school:e.dp,tel:e.tel,begin_at:e.btime,plannedEnd_at:e.etime,allnum:e.studentS.length+e.teacherS.length,snum:e.studentS.length,tnum:e.teacherS.length,student:e.studentS,teacher:e.teacherS,brief:e.brief,back:e.introduce.back,innovate:e.introduce.innovate,path:e.introduce.path,scene:e.introduce.scene,worth:e.introduce.worth,team:e.introduce.team,cost:e.introduce.cost,expectResults:e.introduce.expectResults,expectResultsTeacher:e.introduce.expectResultsTeacher,expectConversion:e.introduce.expectConversion,plan:e.introduce.plan,total:e.total,facility:e.fund.facility,materials:e.fund.materials,process:e.fund.process,assist:e.fund.assist,authenticate:e.fund.authenticate,match:e.fund.match,activity:e.fund.activity,affair:e.fund.affair}),c.render();let s=c.getZip().generate({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});(0,d.saveAs)(s,"2023年学生创客项目申报书.docx")}))}function m(e){let t="./file/附件 2:创客专项资金项目申请表创客活动模板.docx";const n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="blob",n.onload=function(t){const o=n.response,c=new FileReader;c.readAsArrayBuffer(o),c.onload=function(t){const n=c.result,o=new Uint8Array(n),d=new(i())(o),s=(new(a())).loadZip(d);e["chapters"]=JSON.parse(e["chapters"]),e["begin_at"]=(0,r.nK)(e["begin_at"]),e["course_teacher"]=JSON.parse(e["course_teacher"]);let l={activityName:e["title"],money:e["money"],pro_leader:e["pro_leader"],class:e["className"],phone:e["phone"],activityTime:e["begin_at"],studentNum:e["students"],teacher:e["course_teacher"],plan:e["chapters"][0].replace(/<[^>]+>/g,""),Expectations:e["chapters"][1].replace(/<[^>]+>/g,""),EventAudience:e["chapters"][2].replace(/<[^>]+>/g,""),fund:e["chapters"][3].replace(/<[^>]+>/g,"")};s.setData(l),s.render();const u=s.getZip().generate({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"});let p=document.createElement("a");p.download="附件 2:创客专项资金项目申请表(创客活动).docx",p.style.display="none";let m=new Blob([u]);p.href=URL.createObjectURL(m),document.body.appendChild(p),p.click(),document.body.removeChild(p)}},n.send()}function f(e,t){let n="./file/附件 2:创客专项资金项目申请表(创客活动、个人创客)模板.docx";const o=new XMLHttpRequest;o.open("GET",n,!0),o.responseType="blob",o.onload=function(n){const c=o.response,r=new FileReader;r.readAsArrayBuffer(c),r.onload=function(n){const o=r.result,c=new Uint8Array(o),d=new(i())(c),s=(new(a())).loadZip(d);let l={...e,total:t};l["MP1"]=l["expenditureMothPlan"][0],l["MP2"]=l["expenditureMothPlan"][1],l["MP3"]=l["expenditureMothPlan"][2],l["MP4"]=l["expenditureMothPlan"][3],l["MP5"]=l["expenditureMothPlan"][4],l["MP6"]=l["expenditureMothPlan"][5],l["MP7"]=l["expenditureMothPlan"][6],l["MP8"]=l["expenditureMothPlan"][7],l["MP9"]=l["expenditureMothPlan"][8],l["MP10"]=l["expenditureMothPlan"][9],l["MP11"]=l["expenditureMothPlan"][10],l["MP12"]=l["expenditureMothPlan"][11],l["beTime"]=l["activityTime"][0].split(" ")[0],l["edTime"]=l["activityTime"][1].split(" ")[0],l["device"]=l["fund"]["device"],l["Material"]=l["fund"]["Material"],l["processing"]=l["fund"]["processing"],l["Collaboration"]=l["fund"]["Collaboration"],l["APPRAISAL"]=l["fund"]["APPRAISAL"],l["entery"]=l["fund"]["entery"],l["activities"]=l["fund"]["activities"],l["Transaction"]=l["fund"]["Transaction"],l["type"]=Boolean(l["type"]),s.setData(l),s.render();const u=s.getZip().generate({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"});let p=document.createElement("a");p.download=`附件 2:创客专项资金项目申请表(${l["type"]?"个人创客":"创客活动"}).docx`,p.style.display="none";let m=new Blob([u]);p.href=URL.createObjectURL(m),document.body.appendChild(p),p.click(),document.body.removeChild(p)}},o.send()}}}]);
- //# sourceMappingURL=932.c83a8f0d.js.map
|