457.eaf20e10.js 45 KB

12
  1. "use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[457],{79645:function(t,e,a){a.d(e,{Z:function(){return d}});var r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"markerFundWord"}},[e("div",{attrs:{id:"title"}},[e("div",{staticClass:"school"},[t._v("深圳技师学院")]),e("div",{staticClass:"wordTitle"},[t._v("创客专项资金及项目申请表(个人创客)")]),e("div",{staticClass:"date"},[t._v("申请日期:"+t._s(t.wordData.applicationDate))])]),e("table",{staticClass:"table",attrs:{border:"1",cellspacing:"0",cellpadding:"0"}},[e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("项目名称")]),e("td",{attrs:{colspan:"13"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入项目名称"},model:{value:t.wordData["projectName"],callback:function(e){t.$set(t.wordData,"projectName",e)},expression:"wordData['projectName']"}})],1)]),e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("项目负责人")]),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入负责人"},model:{value:t.wordData["pro_leader"],callback:function(e){t.$set(t.wordData,"pro_leader",e)},expression:"wordData['pro_leader']"}})],1),e("td",{attrs:{colspan:"2"}},[t._v("所在部门")]),e("td",{attrs:{colspan:"3"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择所在学院"},model:{value:t.wordData["college"],callback:function(e){t.$set(t.wordData,"college",e)},expression:"wordData['college']"}},t._l(t.DepartmentData,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),e("td",{attrs:{colspan:"2"}},[t._v("联系电话")]),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入联系电话"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}})],1)]),e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("项目起始时间")]),e("td",{attrs:{colspan:"5"}},[e("el-date-picker",{attrs:{type:"date",placeholder:"请选择项目计划完成时间","prefix-icon":"none","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:t.wordData.endTime,callback:function(e){t.$set(t.wordData,"endTime",e)},expression:"wordData.endTime"}})],1),e("td",{attrs:{colspan:"3"}},[t._v("计划完成时间")]),e("td",{attrs:{colspan:"5"}},[e("el-date-picker",{attrs:{type:"date",placeholder:"请选择活动时间","prefix-icon":"none","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:t.wordData.endTime,callback:function(e){t.$set(t.wordData,"endTime",e)},expression:"wordData.endTime"}})],1)]),e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("项目组人数")]),e("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(t.wordData["member"].length)}}),e("td",{attrs:{colspan:"2"}},[t._v("参与学生人数")]),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入学生人数"},model:{value:t.wordData["student"],callback:function(e){t.$set(t.wordData,"student",e)},expression:"wordData['student']"}})],1),e("td",{attrs:{colspan:"2"}},[t._v("预算总经费")]),e("td",{attrs:{colspan:"3"}},[t._v(t._s(t.wordData["fund"]["total"])+"元")])]),e("tr",[e("td",{attrs:{colspan:"2",rowspan:t.wordData["member"].length+1}},[e("p",[t._v("项")]),e("p",[t._v("目")]),e("p",[t._v("组")]),e("p",[t._v("成")]),e("p",[t._v("员")])]),e("td",{attrs:{colspan:"2"}},[t._v("姓名")]),e("td",{attrs:{colspan:"3"}},[t._v("工作单位/部门")]),e("td",{attrs:{colspan:"10"}},[t._v("项目分工")])]),t._l(t.wordData.member,(function(a,r){return e("tr",{key:r,staticStyle:{position:"relative"}},[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入姓名"},model:{value:a["name"],callback:function(e){t.$set(a,"name",e)},expression:"item['name']"}})],1),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入工作单位/部门"},model:{value:a["collage"],callback:function(e){t.$set(a,"collage",e)},expression:"item['collage']"}})],1),e("td",{attrs:{colspan:"10"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入项目分工"},model:{value:a["work"],callback:function(e){t.$set(a,"work",e)},expression:"item['work']"}})],1),e("div",{staticClass:"operate"},[t.wordData["member"].length-1==r?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.addPerson}},[t._v("+")]):t._e(),e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.DelPerson(r)}}},[t._v("-")])],1)])})),e("tr",{staticClass:"textLeft"},[t._m(0),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("p",[t._v("一、项目简介")]),e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:6,resize:"none"},model:{value:t.wordData["brief"],callback:function(e){t.$set(t.wordData,"brief",e)},expression:"wordData['brief']"}})],1)]),e("tr",{staticClass:"textLeft"},[e("td",{staticStyle:{"text-align":"left","border-left":"none"},attrs:{colspan:"15"}},[e("p",[t._v("二、创新点")]),e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:6,resize:"none"},model:{value:t.wordData["innovate"],callback:function(e){t.$set(t.wordData,"innovate",e)},expression:"wordData['innovate']"}})],1)]),e("tr",{staticClass:"textLeft"},[t._m(1),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("p",[t._v("一、项目预期成果、数量及形式")]),e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:6,resize:"none"},model:{value:t.wordData["expected"],callback:function(e){t.$set(t.wordData,"expected",e)},expression:"wordData['expected']"}})],1)]),e("tr",{staticClass:"textLeft"},[e("td",{staticStyle:{"text-align":"left","border-left":"none"},attrs:{colspan:"15"}},[e("p",[t._v("二、创客人才培养预期成果、数量")]),e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:6,resize:"none"},model:{value:t.wordData["culture"],callback:function(e){t.$set(t.wordData,"culture",e)},expression:"wordData['culture']"}})],1)]),e("tr",{staticClass:"textLeft"},[e("td",{staticStyle:{"text-align":"left","border-left":"none"},attrs:{colspan:"15"}},[e("p",[t._v("三、项目预期孵化、转化创业项目情况")]),e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:6,resize:"none"},model:{value:t.wordData["incubate"],callback:function(e){t.$set(t.wordData,"incubate",e)},expression:"wordData['incubate']"}})],1)]),e("tr",{staticClass:"textLeft"},[t._m(2),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:10,resize:"none"},model:{value:t.wordData["ImplementationPlan"],callback:function(e){t.$set(t.wordData,"ImplementationPlan",e)},expression:"wordData['ImplementationPlan']"}})],1)]),t._m(3),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4"}},[t._v("总经费")]),e("td",{attrs:{rowspan:"4",colspan:"2"}},[t._v(t._s(t.wordData["fund"]["total"])+"元")])]),t._m(4),t._m(5),e("tr",t._l(12,(function(a,r){return e("td",{key:r+"a",staticStyle:{"border-left":"none"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"number",autosize:"",resize:"none"},model:{value:t.input,callback:function(e){t.input=t._n(e)},expression:"input"}})],1)})),0),t._m(6),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4",colspan:"4"}},[t._v("直接经费")]),e("td",{attrs:{colspan:"4"}},[t._v("小型仪器设备费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"小型仪器设备费"},on:{change:function(e){return t.convertNumber("device",t.wordData["fund"]["device"])}},model:{value:t.wordData["fund"]["device"],callback:function(e){t.$set(t.wordData["fund"],"device",t._n(e))},expression:"wordData['fund']['device']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("材料费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"材料费"},on:{change:function(e){return t.convertNumber("Material",t.wordData["fund"]["Material"])}},model:{value:t.wordData["fund"]["Material"],callback:function(e){t.$set(t.wordData["fund"],"Material",t._n(e))},expression:"wordData['fund']['Material']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("测试化验加工费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"测试化验加工费"},on:{change:function(e){return t.convertNumber("processing",t.wordData["fund"]["processing"])}},model:{value:t.wordData["fund"]["processing"],callback:function(e){t.$set(t.wordData["fund"],"processing",t._n(e))},expression:"wordData['fund']['processing']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("项目协作费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"项目协作费"},on:{change:function(e){return t.convertNumber("Collaboration",t.wordData["fund"]["Collaboration"])}},model:{value:t.wordData["fund"]["Collaboration"],callback:function(e){t.$set(t.wordData["fund"],"Collaboration",t._n(e))},expression:"wordData['fund']['Collaboration']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v("按合同规定支付给协作单位的费用")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4",colspan:"4"}},[t._v("间接经费")]),e("td",{attrs:{colspan:"4"}},[t._v("项目成果鉴定费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"项目成果鉴定费"},on:{change:function(e){return t.convertNumber("APPRAISAL",t.wordData["fund"]["APPRAISAL"])}},model:{value:t.wordData["fund"]["APPRAISAL"],callback:function(e){t.$set(t.wordData["fund"],"APPRAISAL",t._n(e))},expression:"wordData['fund']['APPRAISAL']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v("学术会务费、评审费、鉴定费、成果集制作费等费用。")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("参展参赛费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"参展参赛费"},on:{change:function(e){return t.convertNumber("entery",t.wordData["fund"]["entery"])}},model:{value:t.wordData["fund"]["entery"],callback:function(e){t.$set(t.wordData["fund"],"entery",t._n(e))},expression:"wordData['fund']['entery']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("创客交流活动费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"创客交流活动费"},on:{change:function(e){return t.convertNumber("activities",t.wordData["fund"]["activities"])}},model:{value:t.wordData["fund"]["activities"],callback:function(e){t.$set(t.wordData["fund"],"activities",t._n(e))},expression:"wordData['fund']['activities']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("知识产权事务费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"知识产权事务费"},on:{change:function(e){return t.convertNumber("Transaction",t.wordData["fund"]["Transaction"])}},model:{value:t.wordData["fund"]["Transaction"],callback:function(e){t.$set(t.wordData["fund"],"Transaction",t._n(e))},expression:"wordData['fund']['Transaction']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v("论文版面费、专利及其他知识产权事务等费用。")])]),e("tr",[t._m(7),e("td",{attrs:{colspan:"15"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:10,resize:"none"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),e("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"80%","margin-bottom":"20px"}},[t._v(" 负责人签章: ")]),e("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"90%"}},[t._v(" 年    月    日 ")])],1)]),e("tr",[t._m(8),e("td",{attrs:{colspan:"15"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:10,resize:"none"},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),e("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"80%","margin-bottom":"20px"}},[t._v(" 负责人签章: ")]),e("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"90%"}},[t._v(" 年    月    日 ")])],1)]),e("tr",t._l(16,(function(t,a){return e("td",{key:a+"c",staticStyle:{border:"none"}})})),0)],2),e("div",{staticClass:"notes"},[e("span",[t._v("备注:")]),e("span",[t._v("1、支出类别分为直接费用(小型仪器设备费、材料费、测试化验加工费、项目协作费)和间 接费用(项目成果鉴定费、参展参赛费、创客交流活动费、知识产权事务费)。")]),e("span",[t._v("2、如表格不够可顺延或另附页。")]),e("div",{staticStyle:{width:"300px",margin:"20px auto",display:"flex","justify-content":"space-between"}},[e("el-button",{staticStyle:{width:"120px",margin:"20px auto"},attrs:{type:"primary"}},[t._v("提交项目")]),e("el-button",{staticStyle:{width:"120px",margin:"20px auto"},attrs:{type:"primary"}},[t._v("下载表单")])],1)])])},l=[function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2",rowspan:"2"}},[e("p",[t._v("项目")]),e("br"),e("p",[t._v("内容")])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2",rowspan:"3"}},[e("p",[t._v("预期")]),e("br"),e("p",[t._v("取得")]),e("br"),e("p",[t._v("成果")])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2"}},[e("p",[t._v("项目")]),e("br"),e("p",[t._v("实施")]),e("br"),e("p",[t._v("计划")])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{attrs:{rowspan:"14"}},[e("p",[t._v("预")]),e("p",[t._v("算")]),e("p",[t._v("经")]),e("p",[t._v("费")])])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"12"}},[t._v("经费月支出计划")])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticStyle:{"border-left":"none"}},[t._v("第1个月")]),e("td",[t._v("第2个月")]),e("td",[t._v("第3个月")]),e("td",[t._v("第4个月")]),e("td",[t._v("第5个月")]),e("td",[t._v("第6个月")]),e("td",[t._v("第7个月")]),e("td",[t._v("第8个月")]),e("td",[t._v("第9个月")]),e("td",[t._v("第10个月")]),e("td",[t._v("第11个月")]),e("td",[t._v("第12个月")])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("支出类别")]),e("td",{attrs:{colspan:"4"}},[t._v("支出项目")]),e("td",{attrs:{colspan:"2"}},[t._v("金额(元)")]),e("td",{attrs:{colspan:"5"}},[t._v("备注")])])},function(){var t=this,e=t._self._c;return e("td",[e("p",[t._v("所在部")]),e("p",[t._v("门意见")])])},function(){var t=this,e=t._self._c;return e("td",[e("p",[t._v("主管部")]),e("p",[t._v("门审核")]),e("p",[t._v("意见")])])}],n=(a(57658),a(24613)),s={data(){return{allFund:"",input:"",DepartmentData:[],wordData:{applicationDate:(0,n.YZ)(1),projectName:"",pro_leader:"",college:"",tel:"",beginTime:"",endTime:"",student:"",member:[{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""}],brief:"",innovate:"",expected:"",culture:"",incubate:"",ImplementationPlan:"",fund:{total:0,device:"",Material:"",processing:"",Collaboration:"",APPRAISAL:"",entery:"",activities:"",Transaction:""}}}},methods:{getText(t){let e=/^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/,a=e.test(t.trim());if(!a)return this.$message.error("请输入正确联系号码格式")},addPerson(){this.wordData["member"].push({name:"",collage:"",work:""})},DelPerson(t){this.wordData["member"].splice(t,1)},getProjectDepartmentData(){this.ajax.post(this.$store.state.api+"/SelectAllDepartment",{uid:this.$store.state.userInfo.userid}).then((t=>{this.DepartmentData=t.data[0]}),(t=>{console.log(t)}))},submitWord(){const t=/^\s*$/g;for(let e in this.wordData)switch(e){case"projectName":if(t.test(this.wordData[e]))return this.$message.error("请输入项目名称"),document.querySelector("#projectName").scrollIntoView({behavior:"smooth"}),!1;break;case"radio":if(t.test(this.wordData[e]))return this.$message.error("请选择项目分组"),document.querySelector("#radio").scrollIntoView({behavior:"smooth"}),!1;break;case"applyParsonRadio":if(t.test(this.wordData[e]))return this.$message.error("请选择项目申请人"),document.querySelector("#applyParsonRadio").scrollIntoView({behavior:"smooth"}),!1;break;case"applyParsonName":if(t.test(this.wordData[e]))return this.$message.error("请填写申请人姓名"),document.querySelector("#applyParsonName").scrollIntoView({behavior:"smooth"}),!1;break;case"college":if(t.test(this.wordData[e]))return this.$message.error("请选择所在学院"),document.querySelector("#applyParsonName").scrollIntoView({behavior:"smooth"}),!1;break;case"tel":if(t.test(this.wordData[e]))return this.$message.error("请填写联系方式"),document.querySelector("#applyParsonName").scrollIntoView({behavior:"smooth"}),!1;break;case"beginTime":if(t.test(this.wordData[e]))return this.$message.error("请选择项目起始时间"),document.querySelector("#beginTime").scrollIntoView({behavior:"smooth"}),!1;break;case"endTime":if(t.test(this.wordData[e]))return this.$message.error("请选择计划完成时间"),document.querySelector("#beginTime").scrollIntoView({behavior:"smooth"}),!1;break;case"studentS":let a=0;if(this.wordData[e].forEach((e=>{for(let r in e)t.test(e[r])&&a++})),a>0)return this.$message.error("请填完学生信息"),document.querySelector("#studentS").scrollIntoView({behavior:"smooth"}),!1;break;case"teacherS":let r=0;if(this.wordData[e].forEach((e=>{for(let a in e)t.test(e[a])&&r++})),r>0)return this.$message.error("请填完老师信息"),document.querySelector("#teacherS").scrollIntoView({behavior:"smooth"}),!1;break;case"brief":if(t.test(this.wordData[e]))return this.$message.error("请填写项目简介"),document.querySelector("#brief").scrollIntoView({behavior:"smooth"}),!1;break;case"fund":let l=1*this.wordData.fund.facility+1*this.wordData.fund.materials+1*this.wordData.fund.process+1*this.input+1*this.wordData.fund.authenticate+1*this.wordData.fund.match+1*this.wordData.fund.activity+1*this.wordData.fund.affair;if(0==l)return document.querySelector("#fund").scrollIntoView({behavior:"smooth"}),this.$message.error("请输入经费");break}},convertNumber(t,e){"string"==typeof e&&(this.wordData["fund"][t]=Number(e.replace(/\D/g,""))),this.wordData["fund"]["total"]=Number(this.wordData["fund"]["device"])+Number(this.wordData["fund"]["Material"])+Number(this.wordData["fund"]["processing"])+Number(this.wordData["fund"]["Collaboration"])+Number(this.wordData["fund"]["APPRAISAL"])+Number(this.wordData["fund"]["entery"])+Number(this.wordData["fund"]["activities"])+Number(this.wordData["fund"]["Transaction"])}},computed:{reversedMessage:function(){return(1*this.wordData.fund.facility+1*this.wordData.fund.materials+1*this.wordData.fund.process+1*this.input+1*this.wordData.fund.authenticate+1*this.wordData.fund.match+1*this.wordData.fund.activity+1*this.wordData.fund.affair)/1e4}},mounted(){this.getProjectDepartmentData(),console.log(1)}},o=s,i=a(43736),c=(0,i.Z)(o,r,l,!1,null,"b4e947da",null),d=c.exports},54823:function(t,e,a){a.d(e,{Z:function(){return d}});var r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"MarkeractivityWord"}},[e("div",{attrs:{id:"title"}},[e("div",{staticClass:"school"},[t._v("深圳技师学院")]),e("div",{staticClass:"wordTitle"},[t._v("创客专项资金及项目申请表(创客活动)")]),e("div",{staticClass:"date"},[t._v("申请日期:"+t._s(t.wordData.applicationDate))])]),e("table",{staticClass:"table",attrs:{border:"1",cellspacing:"0"}},["/newMarkerActivity"==this.$route.path?e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("关联项目")]),e("td",{attrs:{colspan:"12"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择关联项目(无关联项目可为空)"},on:{change:function(e){return t.checkProjectMoney()}},model:{value:t.wordData["associatedProjects"],callback:function(e){t.$set(t.wordData,"associatedProjects",e)},expression:"wordData['associatedProjects']"}},t._l(t.ProjectData,(function(t){return e("el-option",{key:t.courseId,attrs:{label:t.title,value:t.courseId}})})),1)],1)]):t._e(),e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("活动名称")]),e("td",{attrs:{colspan:"5"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入活动名称"},model:{value:t.wordData["activityName"],callback:function(e){t.$set(t.wordData,"activityName",e)},expression:"wordData['activityName']"}})],1),e("td",{attrs:{colspan:"3"}},[t._v("预算经费")]),e("td",{attrs:{colspan:"4"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入预算经费"},model:{value:t.total,callback:function(e){t.total=e},expression:"total"}})],1)]),e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("项目负责人")]),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入负责人"},model:{value:t.wordData["pro_leader"],callback:function(e){t.$set(t.wordData,"pro_leader",e)},expression:"wordData['pro_leader']"}})],1),e("td",{attrs:{colspan:"2"}},[t._v("所在部门")]),e("td",{attrs:{colspan:"3"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择所在学院"},model:{value:t.wordData["college"],callback:function(e){t.$set(t.wordData,"college",e)},expression:"wordData['college']"}},t._l(t.DepartmentData,(function(t){return e("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})})),1)],1),e("td",{attrs:{colspan:"2"}},[t._v("联系电话")]),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入联系电话"},model:{value:t.wordData["tel"],callback:function(e){t.$set(t.wordData,"tel",e)},expression:"wordData['tel']"}})],1)]),e("tr",[e("td",{attrs:{colspan:"4"}},[t._v("活动时间")]),e("td",{attrs:{colspan:"5"}},[e("el-date-picker",{attrs:{type:"daterange","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"至","prefix-icon":"none","start-placeholder":"项目起始时间","end-placeholder":"项目完成时间"},model:{value:t.wordData["activityTime"],callback:function(e){t.$set(t.wordData,"activityTime",e)},expression:"wordData['activityTime']"}})],1),e("td",{attrs:{colspan:"3"}},[t._v("参与学生人数")]),e("td",{attrs:{colspan:"5"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"number",autosize:"",min:0,resize:"none",placeholder:"请输入参与学生人数"},model:{value:t.wordData["student"],callback:function(e){t.$set(t.wordData,"student",e)},expression:"wordData['student']"}})],1)]),e("tr",[e("td",{attrs:{colspan:"2",rowspan:t.wordData["member"].length+1}},[e("p",[t._v("活")]),e("p",[t._v("动")]),e("p",[t._v("指")]),e("p",[t._v("导")]),e("p",[t._v("老")]),e("p",[t._v("师")])]),e("td",{attrs:{colspan:"2"}},[t._v("姓名")]),e("td",{attrs:{colspan:"3"}},[t._v("工作单位/部门")]),e("td",{attrs:{colspan:"9"}},[t._v("项目分工")])]),t._l(t.wordData["member"],(function(a,r){return e("tr",{key:r+"b"},[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入姓名"},model:{value:a["name"],callback:function(e){t.$set(a,"name",e)},expression:"item['name']"}})],1),e("td",{attrs:{colspan:"3"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入工作单位/部门"},model:{value:a["collage"],callback:function(e){t.$set(a,"collage",e)},expression:"item['collage']"}})],1),e("td",{attrs:{colspan:"10"}},[e("el-input",{attrs:{type:"textarea",autosize:"",resize:"none",placeholder:"请输入项目分工"},model:{value:a["work"],callback:function(e){t.$set(a,"work",e)},expression:"item['work']"}})],1),e("div",{staticClass:"operate"},[t.wordData["member"].length-1==r?e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.addPerson}},[t._v("添加")]):t._e(),e("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.DelPerson(r)}}},[t._v("删除")])],1)])})),e("tr",{staticClass:"textLeft"},[t._m(0),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:12,resize:"none"},model:{value:t.wordData["activityPlan"],callback:function(e){t.$set(t.wordData,"activityPlan",e)},expression:"wordData['activityPlan']"}})],1)]),e("tr",{staticClass:"textLeft"},[t._m(1),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:10,resize:"none"},model:{value:t.wordData["expectations"],callback:function(e){t.$set(t.wordData,"expectations",e)},expression:"wordData['expectations']"}})],1)]),e("tr",{staticClass:"textLeft"},[t._m(2),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("p",[t._v("参与学生范围:")]),e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:12,resize:"none"},model:{value:t.wordData["eventAudience"],callback:function(e){t.$set(t.wordData,"eventAudience",e)},expression:"wordData['eventAudience']"}})],1)]),e("tr",{staticClass:"textLeft"},[t._m(3),e("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"15"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:10,resize:"none"},model:{value:t.wordData["fundingPlan"],callback:function(e){t.$set(t.wordData,"fundingPlan",e)},expression:"wordData['fundingPlan']"}})],1)]),t._m(4),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4"}},[t._v("总经费")]),e("td",{attrs:{rowspan:"4",colspan:"2"}},[t._v(t._s(t.total)+"元")])]),t._m(5),t._m(6),e("tr",t._l(t.wordData["expenditureMothPlan"],(function(a,r){return e("td",{key:r,staticStyle:{"border-left":"none"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"number",autosize:"",min:"0",resize:"none"},on:{input:function(e){return t.checkExpenditureMothPlan(r)}},model:{value:t.wordData["expenditureMothPlan"][r],callback:function(e){t.$set(t.wordData["expenditureMothPlan"],r,t._n(e))},expression:"wordData['expenditureMothPlan'][index]"}})],1)})),0),t._m(7),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4",colspan:"4"}},[t._v("直接经费")]),e("td",{attrs:{colspan:"4"}},[t._v("小型仪器设备费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"小型仪器设备费"},on:{change:function(e){return t.checkProjectFund(t.device)}},model:{value:t.wordData["fund"]["device"],callback:function(e){t.$set(t.wordData["fund"],"device",t._n(e))},expression:"wordData['fund']['device']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("材料费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"材料费"},on:{change:function(e){return t.checkProjectFund("Material")}},model:{value:t.wordData["fund"]["Material"],callback:function(e){t.$set(t.wordData["fund"],"Material",t._n(e))},expression:"wordData['fund']['Material']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("测试化验加工费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"测试化验加工费"},on:{change:function(e){return t.checkProjectFund("processing")}},model:{value:t.wordData["fund"]["processing"],callback:function(e){t.$set(t.wordData["fund"],"processing",t._n(e))},expression:"wordData['fund']['processing']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("项目协作费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"项目协作费"},on:{change:function(e){return t.checkProjectFund("Collaboration")}},model:{value:t.wordData["fund"]["Collaboration"],callback:function(e){t.$set(t.wordData["fund"],"Collaboration",t._n(e))},expression:"wordData['fund']['Collaboration']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v("按合同规定支付给协作单位的费用")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4",colspan:"4"}},[t._v("间接经费")]),e("td",{attrs:{colspan:"4"}},[t._v("项目成果鉴定费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"项目成果鉴定费"},on:{change:function(e){return t.checkProjectFund("APPRAISAL")}},model:{value:t.wordData["fund"]["APPRAISAL"],callback:function(e){t.$set(t.wordData["fund"],"APPRAISAL",t._n(e))},expression:"wordData['fund']['APPRAISAL']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v("学术会务费、评审费、鉴定费、成果集制作费等费用。")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("参展参赛费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"参展参赛费"},on:{change:function(e){return t.checkProjectFund("entery")}},model:{value:t.wordData["fund"]["entery"],callback:function(e){t.$set(t.wordData["fund"],"entery",t._n(e))},expression:"wordData['fund']['entery']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("创客交流活动费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"创客交流活动费"},on:{change:function(e){return t.checkProjectFund("activities")}},model:{value:t.wordData["fund"]["activities"],callback:function(e){t.$set(t.wordData["fund"],"activities",t._n(e))},expression:"wordData['fund']['activities']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v(" 创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。 ")])]),e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("知识产权事务费")]),e("td",{attrs:{colspan:"2"}},[e("el-input",{attrs:{type:"number",autosize:"",resize:"none",placeholder:"知识产权事务费"},on:{change:function(e){return t.checkProjectFund("Transaction")}},model:{value:t.wordData["fund"]["Transaction"],callback:function(e){t.$set(t.wordData["fund"],"Transaction",t._n(e))},expression:"wordData['fund']['Transaction']"}})],1),e("td",{attrs:{colspan:"5"}},[t._v("论文版面费、专利及其他知识产权事务等费用。")])]),t._m(8),e("tr",t._l(16,(function(t,a){return e("td",{key:a+"c",staticStyle:{border:"none"}})})),0)],2),e("div",{staticClass:"notes"},[e("span",[t._v("备注:")]),e("span",[t._v("如表格不够可顺延或另附页。")]),e("div",{staticStyle:{width:"300px",margin:"20px auto",display:"flex","justify-content":"space-between"}},[e("el-button",{staticStyle:{width:"120px",margin:"20px auto"},attrs:{type:"primary"},on:{click:t.applyButton}},[t._v("提交项目")]),e("el-button",{staticStyle:{width:"120px",margin:"20px auto"},attrs:{type:"primary"}},[t._v("下载表单")])],1)])])},l=[function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2"}},[e("p",[t._v("活动")]),e("br"),e("p",[t._v("计划")])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2"}},[e("p",[t._v("预期")]),e("br"),e("p",[t._v("目标")])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2"}},[e("p",[t._v("活动受")]),e("br"),e("p",[t._v("众面")])])},function(){var t=this,e=t._self._c;return e("td",{attrs:{colspan:"2"}},[e("p",[t._v("经费")]),e("br"),e("p",[t._v("支出")]),e("br"),e("p",[t._v("计划")])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{attrs:{rowspan:"14"}},[e("p",[t._v("预")]),e("p",[t._v("算")]),e("p",[t._v("经")]),e("p",[t._v("费")])])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"12"}},[t._v("经费月支出计划 (元)")])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticStyle:{"border-left":"none"}},[t._v("第1个月")]),e("td",[t._v("第2个月")]),e("td",[t._v("第3个月")]),e("td",[t._v("第4个月")]),e("td",[t._v("第5个月")]),e("td",[t._v("第6个月")]),e("td",[t._v("第7个月")]),e("td",[t._v("第8个月")]),e("td",[t._v("第9个月")]),e("td",[t._v("第10个月")]),e("td",[t._v("第11个月")]),e("td",[t._v("第12个月")])])},function(){var t=this,e=t._self._c;return e("tr",[e("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("支出类别")]),e("td",{attrs:{colspan:"4"}},[t._v("支出项目")]),e("td",{attrs:{colspan:"2"}},[t._v("金额(元)")]),e("td",{attrs:{colspan:"5"}},[t._v("备注")])])},function(){var t=this,e=t._self._c;return e("tr",{staticClass:"textLeft"},[e("td",[e("p",[t._v("所在部")]),e("p",[t._v("门意见")])]),e("td",{staticStyle:{height:"200px"},attrs:{colspan:"15"}},[e("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"80%","margin-bottom":"20px"}},[t._v(" 负责人签章: ")]),e("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"90%"}},[t._v(" 年    月    日 ")])])])}],n=(a(57658),a(24613)),s={data(){return{allFund:2e3,DepartmentData:[],ProjectData:[],wordData:{applicationDate:(0,n.YZ)(1),associatedProjects:"",activityName:"",pro_leader:"",college:"",tel:"",activityTime:"",student:0,member:[{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""}],activityPlan:"",expectations:"",eventAudience:"",fundingPlan:"",expenditureMothPlan:["","","","","","","","","","","",""],fund:{total:0,device:"",Material:"",processing:"",Collaboration:"",APPRAISAL:"",entery:"",activities:"",Transaction:""}}}},methods:{getText(t){let e=/^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/,a=e.test(t.trim());if(!a)return this.$message.error("请输入正确联系号码格式")},addPerson(){this.wordData["member"].push({name:"",collage:"",work:""})},DelPerson(t){this.wordData["member"].splice(t,1)},getProjectDepartmentData(){this.ajax.post(this.$store.state.api+"/SelectAllDepartment",{uid:this.$store.state.userInfo.userid}).then((t=>{this.DepartmentData=t.data[0]}),(t=>{console.log(t)}))},getProjectData(){this.ajax.get(this.$store.state.api+"/GetAllProjectName",{uid:this.$store.state.userInfo.userid}).then((t=>{this.ProjectData=t.data[0].filter((t=>3!=t.isupload&&4!=t.isupload))})).catch((t=>{this.$message.error(t.message)}))},checkProjectFund(t){if(""==this.wordData["associatedProjects"]){for(let t in this.wordData["fund"])this.wordData["fund"][t]="";return this.$message.error("请先选择关联项目")}if(this.total>this.allFund)return this.wordData["fund"][t]=0,this.$message.error("活动总经费不能超过项目剩余总预算")},applyButton(){const t=/^\s*$/g,e=/^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/;for(let a in this.wordData)switch(a){case"associatedProjects":if(t.test(this.wordData[a]))return this.$message.error("请选择关联项目"),!1;break;case"activityName":if(t.test(this.wordData[a]))return this.$message.error("请输入活动名称"),!1;break;case"pro_leader":if(t.test(this.wordData[a]))return this.$message.error("请输入活动负责人"),!1;break;case"college":if(t.test(this.wordData[a]))return this.$message.error("请选择所在学院"),!1;if(!e.test(this.wordData[a]))return this.$message.error("请输入正确的手机号"),!1;break;case"tel":if(t.test(this.wordData[a]))return this.$message.error("请输入联系电话"),!1;break;case"activityTime":if(t.test(this.wordData[a][0]))return this.$message.error("请选择活动时间"),!1;break;case"member":let r=0;if(this.wordData[a].forEach((e=>{for(let a in e)t.test(e[a])&&r++})),r>0)return this.$message.error("请填完指导老师信息"),!1;break;case"activityPlan":if(t.test(this.wordData[a][0]))return this.$message.error("请输入活动计划"),!1;break;case"expectations":if(t.test(this.wordData[a][0]))return this.$message.error("预期目标"),!1;break;case"eventAudience":if(t.test(this.wordData[a][0]))return this.$message.error("活动受众面"),!1;break;case"fundingPlan":if(t.test(this.wordData[a][0]))return this.$message.error("经费支出计划"),!1;break}this.$message.success("验证成功")},checkExpenditureMothPlan(t){let e=0;this.wordData["expenditureMothPlan"].forEach((t=>e+=Number(t))),e>this.total&&(this.$message.error("总经费月支出计划不能大于总经费"),this.wordData["expenditureMothPlan"][t]=0)},checkProjectMoney(){this.$message.info("切换项目")}},computed:{total(){let t=0;for(let e in this.wordData["fund"])t+=Number(this.wordData["fund"][e]);return t}},mounted(){this.getProjectDepartmentData(),this.getProjectData(),console.log(this.$route.path)}},o=s,i=a(43736),c=(0,i.Z)(o,r,l,!1,null,"cc2aa886",null),d=c.exports},83276:function(t,e,a){a.d(e,{Z:function(){return s}});var r=a(24973),l=a.n(r);let n=function(){return new Promise(((t,e)=>{const a=new XMLHttpRequest;a.open("GET","file/附件 5 :学校创客专项资金使用申请表.xlsx",!0),a.responseType="blob",a.send(),a.onreadystatechange=function(){if(4==a.readyState&&200==a.status){let e=new FileReader;e.readAsArrayBuffer(a.response),e.onload=function(){console.log(e),t(e.result)}}}}))};async function s(t){const e=await n(),a=new(l().Workbook);await a.xlsx.load(e);let r=a.getWorksheet(1);r.getCell("G2").value=`项目类型:创客空间 ${"创客空间"==t.type?"√":"□"} 创客实践室 ${"创客实践室"==t.type?"√":"□"} 个人创客 ${"个人创客"==t.type?"√":"□"} 创客活动 ${"创客活动"==t.type?"√":"□"} `,r.getCell("G3").value=`项目名称:${t.PName}`,r.getCell("G18").value=t.remarks,r.getCell("G18").alignment={vertical:"top",horizontal:"left"};for(let l in t.direct.budget)switch(l){case"facility":0!=t.direct.budget[l]&&(r.getCell("C7").value=t.direct.budget[l]);break;case"cl":0!=t.direct.budget[l]&&(r.getCell("C8").value=t.direct.budget[l]);break;case"jg":0!=t.direct.budget[l]&&(r.getCell("C9").value=t.direct.budget[l]);break;case"xz":0!=t.direct.budget[l]&&(r.getCell("C10").value=t.direct.budget[l]);break;case"qt":0!=t.direct.budget[l]&&(r.getCell("C11").value=t.direct.budget[l]);break}for(let l in t.direct.expended)switch(l){case"facility":0!=t.direct.expended[l]&&(r.getCell("D7").value=t.direct.expended[l]);break;case"cl":0!=t.direct.expended[l]&&(r.getCell("D8").value=t.direct.expended[l]);break;case"jg":0!=t.direct.expended[l]&&(r.getCell("D9").value=t.direct.expended[l]);break;case"xz":0!=t.direct.expended[l]&&(r.getCell("D10").value=t.direct.expended[l]);break;case"qt":0!=t.direct.expended[l]&&(r.getCell("D11").value=t.direct.expended[l]);break}for(let l in t.direct.apply)switch(l){case"facility":0!=t.direct.apply[l]&&(r.getCell("E7").value=t.direct.apply[l]);break;case"cl":0!=t.direct.apply[l]&&(r.getCell("E8").value=t.direct.apply[l]);break;case"jg":0!=t.direct.apply[l]&&(r.getCell("E9").value=t.direct.apply[l]);break;case"xz":0!=t.direct.apply[l]&&(r.getCell("E10").value=t.direct.apply[l]);break;case"qt":0!=t.direct.apply[l]&&(r.getCell("E11").value=t.direct.apply[l]);break}for(let l in t.direct.reason)switch(l){case"reason":r.getCell("G7").value=t.direct.reason[l];break;case"reason1":r.getCell("G8").value=t.direct.reason[l];break;case"reason2":r.getCell("G9").value=t.direct.reason[l];break;case"reason3":r.getCell("G10").value=t.direct.reason[l];break;case"reason4":r.getCell("G11").value=t.direct.reason[l];break}for(let l in t.indirect.budget)switch(l){case"facility":0!=t.indirect.budget[l]&&(r.getCell("C13").value=t.indirect.budget[l]);break;case"cl":0!=t.indirect.budget[l]&&(r.getCell("C14").value=t.indirect.budget[l]);break;case"jg":0!=t.indirect.budget[l]&&(r.getCell("C15").value=t.indirect.budget[l]);break;case"xz":0!=t.indirect.budget[l]&&(r.getCell("C16").value=t.indirect.budget[l]);break;case"qt":0!=t.indirect.budget[l]&&(r.getCell("C17").value=t.indirect.budget[l]);break}for(let l in t.indirect.expended)switch(l){case"facility":0!=t.indirect.expended[l]&&(r.getCell("D13").value=t.indirect.expended[l]);break;case"cl":0!=t.indirect.expended[l]&&(r.getCell("D14").value=t.indirect.expended[l]);break;case"jg":0!=t.indirect.expended[l]&&(r.getCell("D15").value=t.indirect.expended[l]);break;case"xz":0!=t.indirect.expended[l]&&(r.getCell("D16").value=t.indirect.expended[l]);break;case"qt":0!=t.indirect.expended[l]&&(r.getCell("D17").value=t.indirect.expended[l]);break}for(let l in t.indirect.apply)switch(l){case"facility":0!=t.indirect.apply[l]&&(r.getCell("E13").value=t.indirect.apply[l]);break;case"cl":0!=t.indirect.apply[l]&&(r.getCell("E14").value=t.indirect.apply[l]);break;case"jg":0!=t.indirect.apply[l]&&(r.getCell("E15").value=t.indirect.apply[l]);break;case"xz":0!=t.indirect.apply[l]&&(r.getCell("E16").value=t.indirect.apply[l]);break;case"qt":0!=t.indirect.apply[l]&&(r.getCell("E17").value=t.indirect.apply[l]);break}for(let l in t.indirect.reason)switch(l){case"reason":r.getCell("G13").value=t.indirect.reason[l];break;case"reason1":r.getCell("G14").value=t.indirect.reason[l];break;case"reason2":r.getCell("G15").value=t.indirect.reason[l];break;case"reason3":r.getCell("G16").value=t.indirect.reason[l];break;case"reason4":r.getCell("G17").value=t.indirect.reason[l];break}r.getCell("F7").value={formula:"C7-D7-E7",result:r.getCell("C7")-r.getCell("D7")-r.getCell("E7")},r.getCell("F8").value={formula:"C8-D8-E8",result:r.getCell("C8")-r.getCell("D8")-r.getCell("E8")},r.getCell("F9").value={formula:"C9-D9-E9",result:r.getCell("C9")-r.getCell("D9")-r.getCell("E9")},r.getCell("F10").value={formula:"C10-D10-E10",result:r.getCell("C10")-r.getCell("D10")-r.getCell("E10")},r.getCell("F11").value={formula:"C11-D11-E11",result:r.getCell("C11")-r.getCell("D11")-r.getCell("E11")},r.getCell("C6").value={formula:"SUM(C7:C11)",result:1*r.getCell("C7")+1*r.getCell("C8")+1*r.getCell("C9")+1*r.getCell("C10")+1*r.getCell("C11")},r.getCell("D6").value={formula:"SUM(D7:D11)",result:1*r.getCell("D7")+1*r.getCell("D8")+1*r.getCell("D9")+1*r.getCell("D10")+1*r.getCell("D11")},r.getCell("E6").value={formula:"SUM(E7:E11)",result:1*r.getCell("E7")+1*r.getCell("E8")+1*r.getCell("E9")+1*r.getCell("E10")+1*r.getCell("E11")},r.getCell("F6").value={formula:"C6-D6-E6",result:1*r.getCell("C6")-1*r.getCell("D6")-1*r.getCell("E6")},r.getCell("F13").value={formula:"C13-D13-E13",result:r.getCell("C13")-r.getCell("D13")-r.getCell("E13")},r.getCell("F14").value={formula:"C14-D14-E14",result:r.getCell("C14")-r.getCell("D14")-r.getCell("E14")},r.getCell("F15").value={formula:"C15-D15-E15",result:r.getCell("C15")-r.getCell("D15")-r.getCell("E15")},r.getCell("F16").value={formula:"C16-D16-E16",result:r.getCell("C16")-r.getCell("D16")-r.getCell("E16")},r.getCell("F17").value={formula:"C17-D17-E17",result:r.getCell("C17")-r.getCell("D17")-r.getCell("E17")},r.getCell("C12").value={formula:"SUM(C13:C17)",result:1*r.getCell("C13")+1*r.getCell("C14")+1*r.getCell("C15")+1*r.getCell("C16")+1*r.getCell("C17")},r.getCell("D12").value={formula:"SUM(D13:D17)",result:1*r.getCell("D13")+1*r.getCell("D14")+1*r.getCell("D15")+1*r.getCell("D16")+1*r.getCell("D17")},r.getCell("E12").value={formula:"SUM(E13:E17)",result:1*r.getCell("E13")+1*r.getCell("E14")+1*r.getCell("E15")+1*r.getCell("E16")+1*r.getCell("E17")},r.getCell("F12").value={formula:"C12-D12-E12",result:1*r.getCell("C12")-1*r.getCell("D12")-1*r.getCell("E12")},r.getCell("C5").value={formula:"SUM(C6+C12)",result:1*r.getCell("C6")+1*r.getCell("C12")},r.getCell("D5").value={formula:"SUM(D6+D12)",result:1*r.getCell("D6")+1*r.getCell("D12")},r.getCell("E5").value={formula:"SUM(E6+E12)",result:1*r.getCell("E6")+1*r.getCell("E12")},r.getCell("F5").value={formula:"SUM(F6+F12)",result:1*r.getCell("F6")+1*r.getCell("F12")};let s=new Blob([await a.xlsx.writeBuffer()],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"}),o=window.URL.createObjectURL(s);const i=document.createElement("a");i.style.display="none",i.href=o,i.setAttribute("download","学校创客专项资金使用申请表.xlsx"),document.body.appendChild(i),i.click(),document.body.removeChild(i)}}}]);
  2. //# sourceMappingURL=457.eaf20e10.js.map