3002.bedf751d.js 17 KB

12
  1. "use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[3002],{20517:function(t,a,e){e.r(a),e.d(a,{default:function(){return f}});var o=function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{id:"makerActivityWordDetail"}},[a("div",{staticClass:"projectApplication1"},[a("div",{staticClass:"vfpHeader"},[a("div",{staticClass:"titleOne"},[t._v("活动详细")]),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.back()}}},[t._v("返回")])],1),a("hr")]),0==t.wordData["type"]&&0==t.wordData["state"]?a("markeractivityWord",{attrs:{wordData:t.wordData,total:t.total,changeFund:t.changeFund,allFund:t.wordData["allFund"]}}):t._e(),1==t.wordData["type"]&&0==t.wordData["state"]?a("NomMarkerWord",{attrs:{wordData:t.wordData,total:t.total}}):t._e(),0!=t.wordData["state"]||t.downloadDig?a("markeractivityWordShow",{ref:"myChild",attrs:{wordData:t.wordData,total:t.total}}):t._e(),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:function(a){t.downloadWordDig=!0}}},[t._v("下载表单(Word)")]),a("el-button",{attrs:{type:"primary"},on:{click:function(a){t.downloadDig=!0}}},[t._v("下载表单(PDF)")]),0==t.wordData["state"]?a("el-button",{attrs:{type:"primary"},on:{click:t.test}},[t._v("立即修改")]):t._e()],1),a("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"提示",visible:t.submitHint,width:"600px"},on:{"update:visible":function(a){t.submitHint=a}}},[a("div",{staticClass:"deleteContent"},[t._v("确定修改“"+t._s(t.wordData["activityName"])+"”活动?")]),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:t.changeActivity}},[t._v("确认提交")]),a("el-button",{staticClass:"AllDialogBtn",on:{click:function(a){t.submitHint=!1}}},[t._v("取消")])],1)]),a("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"下载文档(PDF)",visible:t.downloadDig,width:"600px"},on:{"update:visible":function(a){t.downloadDig=a}}},[a("div",{staticClass:"deleteContent"},[t._v("确定下载文档?")]),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:t.downloadWord}},[t._v("确认")]),a("el-button",{staticClass:"AllDialogBtn",on:{click:function(a){t.downloadDig=!1}}},[t._v("取消")])],1)]),a("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"下载文档(Word)",visible:t.downloadWordDig,width:"600px"},on:{"update:visible":function(a){t.downloadWordDig=a}}},[a("div",{staticClass:"deleteContent"},[t._v("确定下载文档?")]),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:t.getActivityWord}},[t._v("确认")]),a("el-button",{staticClass:"AllDialogBtn",on:{click:function(a){t.downloadWordDig=!1}}},[t._v("取消")])],1)])],1)},s=[],r=(e(57658),e(94045)),i=e(57651),n=function(){var t=this,a=t._self._c;return a("div",{ref:"pdfShow",attrs:{id:"MarkeractivityWord"}},[a("div",{attrs:{id:"title"}},[a("div",{staticClass:"school"},[t._v("深圳技师学院")]),a("div",{staticClass:"wordTitle"},[t._v("创客专项资金及项目申请表("+t._s(0==t.wordData["type"]?"创客活动":"个人创客")+")")]),a("div",{staticClass:"date"},[t._v("申请日期:"+t._s(t.wordData.applicationDate))])]),a("table",{staticClass:"table",attrs:{border:"1",cellspacing:"0"}},[0==t.wordData["type"]?a("tr",{attrs:{id:"one"}},[a("td",{attrs:{colspan:"4"}},[t._v("关联项目")]),a("td",{attrs:{colspan:"12"},domProps:{textContent:t._s(t.wordData["ProjectName"])}})]):t._e(),a("tr",{attrs:{id:"two"}},[a("td",{attrs:{colspan:"4"}},[t._v("活动名称")]),a("td",{attrs:{colspan:"5"},domProps:{textContent:t._s(t.wordData["activityName"])}}),a("td",{attrs:{colspan:"3"}},[t._v("预算经费")]),a("td",{attrs:{colspan:"4"},domProps:{textContent:t._s(t.total)},on:{click:function(a){return t.goto("#fund")}}})]),a("tr",{attrs:{id:"three"}},[a("td",{attrs:{colspan:"4"}},[t._v("项目负责人")]),a("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(t.wordData["pro_leader"])}}),a("td",{attrs:{colspan:"2"}},[t._v("所在部门")]),a("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(t.wordData["collegeName"])}}),a("td",{attrs:{colspan:"2"}},[t._v("联系电话")]),a("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(t.wordData["tel"])}})]),a("tr",{attrs:{id:"four"}},[a("td",{attrs:{colspan:"4"}},[t._v("活动时间")]),a("td",{attrs:{colspan:"5"},domProps:{textContent:t._s(t.wordData["activityTime"][0].split(" ")[0]+" 至 "+t.wordData["activityTime"][1].split(" ")[0])}}),a("td",{attrs:{colspan:"3"}},[t._v("参与学生人数")]),a("td",{attrs:{colspan:"5"},domProps:{textContent:t._s(t.wordData["student"])}})]),a("tr",{attrs:{id:"five"}},[a("td",{attrs:{colspan:"2",rowspan:t.wordData["member"].length+1}},[a("p",[t._v("活")]),t._v(" "),a("p",[t._v("动")]),t._v(" "),a("p",[t._v("指")]),t._v(" "),a("p",[t._v("导")]),t._v(" "),a("p",[t._v("老")]),t._v(" "),a("p",[t._v("师")])]),a("td",{attrs:{colspan:"2"}},[t._v("姓名")]),a("td",{attrs:{colspan:"3"}},[t._v("工作单位/部门")]),a("td",{attrs:{colspan:"9"}},[t._v("项目分工")])]),t._l(t.wordData["member"],(function(e,o){return a("tr",{key:o+"b"},[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"2"},domProps:{textContent:t._s(e["name"])}}),a("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(e["collage"])}}),a("td",{attrs:{colspan:"10"},domProps:{textContent:t._s(e["work"])}})])})),a("tr",{staticClass:"textLeft",attrs:{id:"six"}},[t._m(0),a("td",{staticStyle:{"text-align":"left","vertical-align":"top",height:"200px"},attrs:{colspan:"15"},domProps:{textContent:t._s(t.wordData["activityPlan"])}})]),a("tr",{staticClass:"textLeft",attrs:{id:"seven"}},[t._m(1),a("td",{staticStyle:{"text-align":"left","vertical-align":"top",height:"200px"},attrs:{colspan:"15"},domProps:{textContent:t._s(t.wordData["expectations"])}})]),a("tr",{staticClass:"textLeft",attrs:{id:"nine"}},[t._m(2),a("td",{staticStyle:{"text-align":"left","vertical-align":"top",height:"200px"},attrs:{colspan:"15"}},[a("p",[t._v("参与学生范围:")]),a("span",{domProps:{textContent:t._s(t.wordData["eventAudience"])}})])]),a("tr",{staticClass:"textLeft",attrs:{id:"ten"}},[t._m(3),a("td",{staticStyle:{"text-align":"left","vertical-align":"top",height:"200px"},attrs:{colspan:"15"},domProps:{textContent:t._s(t.wordData["fundingPlan"])}})]),t._m(4),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4"}},[t._v("总经费")]),a("td",{attrs:{rowspan:"4",colspan:"2"}},[t._v(t._s(t.total)+"元")])]),t._m(5),t._m(6),a("tr",t._l(t.wordData["expenditureMothPlan"],(function(e,o){return a("td",{key:o,staticStyle:{"border-left":"none"},domProps:{textContent:t._s(t.wordData["expenditureMothPlan"][o])}})})),0),t._m(7),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4",colspan:"4"}},[t._v("直接经费")]),a("td",{attrs:{colspan:"4"}},[t._v("小型仪器设备费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["device"])}}),a("td",{attrs:{colspan:"5"}},[t._v(" 项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。 ")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("材料费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["Material"])}}),a("td",{attrs:{colspan:"5"}},[t._v("项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("测试化验加工费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["processing"])}}),a("td",{attrs:{colspan:"5"}},[t._v("项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("项目协作费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["Collaboration"])}}),a("td",{attrs:{colspan:"5"}},[t._v("按合同规定支付给协作单位的费用")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{rowspan:"4",colspan:"4"}},[t._v("间接经费")]),a("td",{attrs:{colspan:"4"}},[t._v("项目成果鉴定费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["APPRAISAL"])}}),a("td",{attrs:{colspan:"5"}},[t._v("学术会务费、评审费、鉴定费、成果集制作费等费用。")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("参展参赛费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["entery"])}}),a("td",{attrs:{colspan:"5"}},[t._v("参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("创客交流活动费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["activities"])}}),a("td",{attrs:{colspan:"5"}},[t._v("创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。")])]),a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("知识产权事务费")]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.wordData["fund"]["Transaction"])}}),a("td",{attrs:{colspan:"5"}},[t._v("论文版面费、专利及其他知识产权事务等费用。")])]),t._m(8),a("tr",t._l(16,(function(t,e){return a("td",{key:e+"c",staticStyle:{border:"none"}})})),0)],2),t._m(9)])},d=[function(){var t=this,a=t._self._c;return a("td",{attrs:{colspan:"2"}},[a("p",[t._v("活动")]),a("br"),t._v(" "),a("p",[t._v("计划")])])},function(){var t=this,a=t._self._c;return a("td",{attrs:{colspan:"2"}},[a("p",[t._v("预期")]),a("br"),a("p",[t._v("目标")])])},function(){var t=this,a=t._self._c;return a("td",{attrs:{colspan:"2"}},[a("p",[t._v("活动受")]),a("br"),t._v(" "),a("p",[t._v("众面")])])},function(){var t=this,a=t._self._c;return a("td",{attrs:{colspan:"2"}},[a("p",[t._v("经费")]),a("br"),a("p",[t._v("支出")]),t._v(" "),a("br"),a("p",[t._v("计划")])])},function(){var t=this,a=t._self._c;return a("tr",{attrs:{id:"fund"}},[a("td",{attrs:{rowspan:"14"}},[a("p",[t._v("预")]),t._v(" "),a("p",[t._v("算")]),t._v(" "),a("p",[t._v("经")]),t._v(" "),a("p",[t._v("费")])])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"12"}},[t._v("经费月支出计划 (元)")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{staticStyle:{"border-left":"none"}},[t._v("第1个月")]),a("td",[t._v("第2个月")]),a("td",[t._v("第3个月")]),a("td",[t._v("第4个月")]),a("td",[t._v("第5个月")]),a("td",[t._v("第6个月")]),a("td",[t._v("第7个月")]),a("td",[t._v("第8个月")]),a("td",[t._v("第9个月")]),a("td",[t._v("第10个月")]),a("td",[t._v("第11个月")]),a("td",[t._v("第12个月")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{staticStyle:{"border-left":"none"},attrs:{colspan:"4"}},[t._v("支出类别")]),a("td",{attrs:{colspan:"4"}},[t._v("支出项目")]),a("td",{attrs:{colspan:"2"}},[t._v("金额(元)")]),a("td",{attrs:{colspan:"5"}},[t._v("备注")])])},function(){var t=this,a=t._self._c;return a("tr",{staticClass:"textLeft"},[a("td",[a("p",[t._v("所在部")]),t._v(" "),a("p",[t._v("门意见")])]),a("td",{staticStyle:{height:"200px"},attrs:{colspan:"15"}},[a("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"80%","margin-bottom":"20px"}},[t._v("负责人签章:")]),a("div",{staticStyle:{"text-align":"right","font-size":"18px",width:"90%"}},[t._v("年    月    日")])])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"notes"},[a("span",[t._v("备注:")]),a("span",[t._v("如表格不够可顺延或另附页。")])])}],l={props:["wordData","total"],data(){return{}},methods:{goto(t){document.querySelector(t).scrollIntoView({behavior:"smooth"})}},computed:{},mounted(){}},c=l,p=e(43736),v=(0,p.Z)(c,n,d,!1,null,"57f71014",null),_=v.exports,u=e(53932),h=e(53003),w={components:{markeractivityWord:r.Z,NomMarkerWord:i.Z,markeractivityWordShow:_},data(){return{loading:!1,submitHint:!1,downloadDig:!1,downloadWordDig:!1,wordData:{allFund:0,acId:"",applicationDate:"",associatedProjects:"",ProjectName:"",activityName:"",pro_leader:"",college:"",collegeName:"",tel:"",activityTime:"",student:0,member:[{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""}],activityPlan:"",expectations:"",eventAudience:"",fundingPlan:"",expenditureMothPlan:["","","","","","","","","","","",""],fund:{device:"",Material:"",processing:"",Collaboration:"",APPRAISAL:"",entery:"",activities:"",Transaction:""},type:0,state:1}}},methods:{changeFund(t){this.wordData["allFund"]=t},back(){this.$router.push("/makerActvity")},getData(){if(this.loading)return;this.loading=!0;let t={uid:this.$store.state.userInfo.userid,acid:this.$route.query["Id"]};this.ajax.get(this.$store.state.api+"/getActivityWordData",t).then((t=>{let a=t["data"][0][0];this.wordData["applicationDate"]=a["applicationDate"],this.wordData["associatedProjects"]=a["pid"],this.wordData["activityName"]=a["title"],this.wordData["pro_leader"]=a["pro_leader"],this.wordData["college"]=a["classid"],this.wordData["tel"]=a["phone"],this.wordData["activityTime"]=JSON.parse(a["begin_at"]),this.wordData["student"]=a["students"],this.wordData["member"]=JSON.parse(a["course_teacher"]),this.wordData["expenditureMothPlan"]=JSON.parse(a["MothPlan"]),this.wordData["fund"]=JSON.parse(a["fund"]),this.wordData["type"]=a["type"],this.wordData["ProjectName"]=a["PName"],this.wordData["collegeName"]=a["CName"],this.wordData["acId"]=a["acId"],this.wordData["state"]=a["state"],this.wordData={...this.wordData,...JSON.parse(a["chapters"])},this.loading=!1})).catch((t=>{console.log(t)}))},test(){const t=/^\s*$/g,a=/^(?:(?:\+|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 e in this.wordData)switch(e){case"associatedProjects":if(t.test(this.wordData[e])&&0==this.wordData["type"])return this.$message.error("请选择关联项目"),document.querySelector("#one").scrollIntoView({behavior:"smooth"}),!1;break;case"activityName":if(t.test(this.wordData[e]))return this.$message.error("请输入活动名称"),document.querySelector("#two").scrollIntoView({behavior:"smooth"}),!1;break;case"pro_leader":if(t.test(this.wordData[e]))return this.$message.error("请输入活动负责人"),document.querySelector("#three").scrollIntoView({behavior:"smooth"}),!1;break;case"college":if(t.test(this.wordData[e]))return this.$message.error("请选择所在学院"),document.querySelector("#three").scrollIntoView({behavior:"smooth"}),!1;break;case"tel":if(t.test(this.wordData[e]))return this.$message.error("请输入联系电话"),document.querySelector("#three").scrollIntoView({behavior:"smooth"}),!1;if(!a.test(this.wordData[e]))return this.$message.error("请输入正确的手机号"),document.querySelector("#three").scrollIntoView({behavior:"smooth"}),!1;break;case"activityTime":if(this.wordData[e].length<=0)return this.$message.error("请选择活动时间"),document.querySelector("#four").scrollIntoView({behavior:"smooth"}),!1;break}this.submitHint=!0},changeActivity(){let t={uid:this.$store.state.userInfo.userid,aid:this.wordData["acId"],tit:this.wordData["activityName"],courseId:this.wordData["associatedProjects"],pLeader:this.wordData["pro_leader"],mon:this.total,st:this.wordData["student"],ct:JSON.stringify(this.wordData["member"]),chp:JSON.stringify({activityPlan:this.wordData["activityPlan"],expectations:this.wordData["expectations"],eventAudience:this.wordData["eventAudience"],fundingPlan:this.wordData["fundingPlan"]}),cid:this.wordData["college"],ph:this.wordData["tel"],beg:JSON.stringify(this.wordData["activityTime"]),f:JSON.stringify(this.wordData["fund"]),appltTime:this.wordData["applicationDate"],mp:JSON.stringify(this.wordData["expenditureMothPlan"])};this.ajax.post(this.$store.state.api+"/UpdateActivityWordData",t).then((t=>{1==t["data"]?(this.$message.success("活动修改成功"),this.submitHint=!1):this.$message.error("活动修改失败"),this.getData()})).catch((t=>{console.log(t)}))},downloadWord(){(0,h.W)(this.$refs.myChild.$refs.pdfShow,0==this.wordData["type"]?"附件 2:创客专项资金项目申请表(创客活动)":"附件 2:创客专项资金项目申请表(个人创客)"),this.downloadDig=!1},getActivityWord(){(0,u.T_)(this.wordData,this.total),this.downloadWordDig=!1}},computed:{total(){let t=0;for(let a in this.wordData["fund"])t+=Number(this.wordData["fund"][a]);return t}},mounted(){},activated(){this.getData()}},m=w,D=(0,p.Z)(m,o,s,!1,null,null,null),f=D.exports}}]);
  2. //# sourceMappingURL=3002.bedf751d.js.map