347.bb70d9f4.js 46 KB

12
  1. "use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[347],{15747:function(t,a,s){s.r(a),s.d(a,{default:function(){return q}});var e=function(){var t=this,a=t._self._c;return a("div",[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")]),"5f7a66d5-c206-11ed-a4cd-509a4c5b67cf"==t.$route.query["tid"]?a("MakerSpaceWordDetail"):t._e(),"5e21b204-c206-11ed-a4cd-509a4c5b67cf"==t.$route.query["tid"]?a("studentProjectWordDetail"):t._e()],1)},o=[],r=(s(57658),function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{id:"MakerSpaceWordDetail"}},[0==t.state?a("MakerSpaceWord",{attrs:{wordData:t.wordData}}):t._e(),0!=t.state?a("MakerSpaceWordShow",{attrs:{wordData:t.wordData}}):t._e(),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:t.getWord}},[t._v("下载表格")]),0==t.state&&0!=t.$store.state.userInfo.type?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["projectName"])+"”项目?")]),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{staticClass:"AllDialogBtn",attrs:{type:"primary"},on:{click:t.changeWord}},[t._v("确认修改")]),a("el-button",{staticClass:"AllDialogBtn",on:{click:function(a){t.submitHint=!1}}},[t._v("取消")])],1)])],1)}),i=[],n=s(94302),d=function(){var t=this,a=t._self._c;return a("div",{attrs:{id:"MakerSpaceWord"}},[a("div",{attrs:{id:"title"}},[a("div",{staticClass:"school"},[t._v("深圳技师学院")]),a("div",{staticClass:"wordTitle"},[t._v("二级学院特色创客空间建设项目立项申报书")]),a("div",{staticClass:"date"},[t._v("申请日期: "+t._s(t.wordData["applicationDate"]))])]),a("div",{attrs:{id:"table"}},[a("div",{staticClass:"han",attrs:{id:"one"}},[a("div",{staticClass:"label"},[t._v("项目名称")]),a("div",{staticClass:"value",domProps:{textContent:t._s(t.wordData["projectName"])}}),a("div",{staticClass:"label"},[t._v("所在学院")]),a("div",{staticClass:"value",domProps:{textContent:t._s(t.wordData["collegeName"])}})]),a("div",{staticClass:"status",attrs:{id:"two"}},[a("div",{staticClass:"statusLabel"},[t._v("项目状态")]),a("div",{staticClass:"ValueDescribe"},[a("div",{staticClass:"statusHan"},[a("div",{staticClass:"DescribeLabel"},["已建设"==t.wordData["stateName"]?a("span",[t._v("√")]):a("span",[t._v("□")]),t._v("已建设 ")]),a("div",{staticClass:"DescribeValue"},[t._v("指二级学院已获得政府或学校资助(例:设计学院、信通学院、珠宝学院),已有双创空间(创客实践室)场地、设备设施并已投入运营,需对空间环境优化、规章制度建设、小型设施设备添置、创客项目物料增补,需拓展创客项目培训、辅导,创客讲座、沙龙、论坛,创客路演、竞赛、集市及成果参评、参展等方面的工作而提出的资助申请。")])]),a("div",{staticClass:"statusHan"},[a("div",{staticClass:"DescribeLabel"},["待建设"==t.wordData["stateName"]?a("span",[t._v("√")]):a("span",[t._v("□")]),t._v("待建设 ")]),a("div",{staticClass:"DescribeValue"},[t._v("指二级学院拟立项开展学院特色创客空间建设项目,需进行项目前期调研论证、场馆规划、空间图纸设计、设备选型等方面的工作而进行的资助申请。")])])])]),a("div",{staticClass:"han",attrs:{id:"three"}},[a("div",{staticClass:"label"},[t._v("项目起始时间")]),a("div",{staticClass:"value",domProps:{textContent:t._s(t.wordData["begin_at"])}}),a("div",{staticClass:"label"},[t._v("计划完成时间")]),a("div",{staticClass:"value",domProps:{textContent:t._s(t.wordData["plannedEnd_at"])}})]),a("div",{staticClass:"han",attrs:{id:"four"}},[a("div",{staticClass:"label"},[t._v("项目负责人")]),a("div",{staticClass:"value",domProps:{textContent:t._s(t.wordData["pro_leader"])}}),a("div",{staticClass:"label"},[t._v("学院牵头领导")]),a("div",{staticClass:"value",domProps:{textContent:t._s(t.wordData["lead_leader"])}})]),a("div",{staticClass:"han"},[a("div",{staticClass:"label"},[t._v("项目组人数")]),a("div",{staticClass:"value"},[t._v(t._s(t.wordData["teacher"].length+t.wordData["student"].length))]),a("div",{staticClass:"label"},[t._v("参与教师人数")]),a("div",{staticClass:"value"},[t._v(t._s(t.wordData["teacher"].length))]),a("div",{staticClass:"label"},[t._v("参与学生人数")]),a("div",{staticClass:"value"},[t._v(t._s(t.wordData["student"].length))])]),a("div",{staticClass:"member",attrs:{id:"five"}},[t._m(0),a("div",{staticClass:"memberTable",style:t.wordData["teacher"].length<4?"border-bottom:solid 1px black":""},[t._m(1),t._l(t.wordData["teacher"],(function(s,e){return a("div",{key:e,staticClass:"memberHan"},[a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["name"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["speciality"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["title"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["education"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["section"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["work"])}})])}))],2)]),a("div",{staticClass:"member",attrs:{id:"six"}},[t._m(2),a("div",{staticClass:"memberTable",style:t.wordData["student"].length<4?"border-bottom:solid 1px black":""},[t._m(3),t._l(t.wordData["student"],(function(s,e){return a("div",{key:e,staticClass:"memberHan"},[a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["name"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["class"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["age"])}}),a("div",{staticClass:"memberValue",domProps:{textContent:t._s(s["work"])}})])}))],2)]),a("div",{staticClass:"chapters"},[t._m(4),a("div",{staticClass:"chaptersTable"},[a("div",{staticClass:"chaptersValue",attrs:{id:"seven"}},[a("span",[t._v("项目简介(200-300字)")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["brief"])}})]),a("div",{staticClass:"chaptersValue",attrs:{id:"eight"}},[a("span",[t._v("建设内容(空间优化/场馆规划方面拟解决的关键问题及主要建设指标)")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["Construction"])}})])])]),a("div",{staticClass:"chapters"},[t._m(5),a("div",{staticClass:"chaptersTable"},[a("div",{staticClass:"chaptersValue",attrs:{id:"nine"}},[a("span",[t._v("立项依据(说明本项目的目的、意义以及国内外高校现状、市场预测和发展趋势,预期达到的目标,研究的预期效果分析,成果受益面)")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["ProjectBasis"])}})])])]),a("div",{staticClass:"chapters"},[t._m(6),a("div",{staticClass:"chaptersTable"},[a("div",{staticClass:"chaptersValue",attrs:{id:"ten"}},[a("span",[t._v("创客空间物理环境、制度建设及软件设施建设情况(环境优化/制度完善/设施改造)")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["development"])}})]),a("div",{staticClass:"chaptersValue",attrs:{id:"eleven"}},[a("span",[t._v("学生创客工作室建设情况(工作室数量及活动开展情况)")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["studio"])}})]),a("div",{staticClass:"chaptersValue",attrs:{id:"twelve"}},[a("span",[t._v("学生创客团队(人才)培养预期成果、数量")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["studentTeam"])}})]),a("div",{staticClass:"chaptersValue",attrs:{id:"thirteen"}},[a("span",[t._v("学生创客活动组织实施情况")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["studentActivities"])}})]),a("div",{staticClass:"chaptersValue",attrs:{id:"fourteen"}},[a("span",[t._v("学生创客团队孵化、转化创业项目情况")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["Transforming"])}})])])]),a("div",{staticClass:"chapters"},[t._m(7),a("div",{staticClass:"chaptersTable"},[a("div",{staticClass:"chaptersValue",attrs:{id:"fifteen"}},[a("span",[t._v("基础条件(物理环境/设备设施/项目实施/活动开展/技术力量/社会资源)")]),a("br"),a("p",{domProps:{textContent:t._s(t.wordData["condition"])}})])])]),a("div",{staticClass:"fund"},[t._m(8),a("div",{staticClass:"fundTable"},[a("div",{staticClass:"fundTotal"},[a("div",{staticClass:"fundLabel"},[t._v("总经费")]),a("div",{staticClass:"fundValue"},[t._v(t._s(t.wordData["fund"]["total"])+"元")])]),t._m(9),a("div",{staticClass:"fundData"},[a("div",{staticClass:"fundDataLabel"},[t._v("直接费用")]),a("div",{staticClass:"fundDataHan"},[a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("小型仪器设备费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["device"])}}),t._m(10)]),a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("材料费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["Material"])}}),t._m(11)]),a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("测试化验加工费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["processing"])}}),t._m(12)]),a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("项目协作费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["Collaboration"])}}),t._m(13)])])]),a("div",{staticClass:"fundData"},[a("div",{staticClass:"fundDataLabel"},[t._v("间接费用")]),a("div",{staticClass:"fundDataHan"},[a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("项目成果鉴定费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["APPRAISAL"])}}),t._m(14)]),a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("参展参赛费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["entery"])}}),t._m(15)]),a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("创客交流活动费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["activities"])}}),t._m(16)]),a("div",{staticClass:"fundDataLie"},[a("div",{staticClass:"fundDataValue"},[t._v("知识产权事务费")]),a("div",{staticClass:"fundDataValue",domProps:{textContent:t._s(t.wordData["fund"]["Transaction"])}}),t._m(17)])])])])]),t._m(18),t._m(19),t._m(20)]),t._m(21)])},l=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"memberLabel"},[a("span",{staticClass:"fontBold"},[t._v("项目组")]),a("span",{staticClass:"fontBold"},[t._v("教师团队")]),a("span",[t._v("(团队3人以上,")]),a("span",[t._v("至少应包含1名教")]),a("span",[t._v("研室主任)")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"memberHan"},[a("div",{staticClass:"memberValue"},[t._v("姓名")]),a("div",{staticClass:"memberValue"},[t._v("专业")]),a("div",{staticClass:"memberValue"},[t._v("职称")]),a("div",{staticClass:"memberValue"},[t._v("学历")]),a("div",{staticClass:"memberValue"},[t._v("所在教研室")]),a("div",{staticClass:"memberValue"},[t._v("项目组角色分工")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"memberLabel"},[a("span",{staticClass:"fontBold"},[t._v("项目组")]),a("span",{staticClass:"fontBold"},[t._v("学生团队")]),a("span",[t._v("(团队5人以上,")]),a("span",[t._v("学生团队年级结构")]),a("span",[t._v("安排合理)")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"memberHan"},[a("div",{staticClass:"memberValue"},[t._v("姓名")]),a("div",{staticClass:"memberValue"},[t._v("班级")]),a("div",{staticClass:"memberValue"},[t._v("年龄")]),a("div",{staticClass:"memberValue"},[t._v("项目组角色分工")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"chaptersLabel"},[a("span",{staticClass:"fontBold"},[t._v("项目")]),a("span",{staticClass:"fontBold"},[t._v("建设")]),a("span",{staticClass:"fontBold"},[t._v("内容")]),a("span",{staticClass:"fontBold"},[t._v("及")]),a("span",{staticClass:"fontBold"},[t._v("目标")]),a("span",[t._v("(说明项目建设内")]),a("span",[t._v("容、拟解决的关键")]),a("span",[t._v("问题、创新之处、")]),a("span",[t._v("主要建设指标)")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"chaptersLabel fontBold"},[a("span",[t._v("项目")]),a("span",[t._v("建设")]),a("span",[t._v("论证")]),a("span",[t._v("报告")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"chaptersLabel"},[a("span",{staticClass:"fontBold"},[t._v("预期")]),a("span",{staticClass:"fontBold"},[t._v("成果")]),a("span",[t._v("(项目预期成果、")]),a("span",[t._v("数量及形式,结题")]),a("span",[t._v("时:须附项目研究")]),a("span",[t._v("报告)")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"chaptersLabel"},[a("span",{staticClass:"fontBold"},[t._v("立项")]),a("span",{staticClass:"fontBold"},[t._v("基础")]),a("span",{staticClass:"fontBold"},[t._v("及")]),a("span",{staticClass:"fontBold"},[t._v("条件")]),a("span",[t._v("(说明已开展的相")]),a("span",[t._v("关研究及基础准备")]),a("span",[t._v("工作,已具备的设")]),a("span",[t._v("备场地条件和技术")]),a("span",[t._v("力量,尚缺少的条")]),a("span",[t._v("件和拟解决的途")]),a("span",[t._v("径)")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundTitle"},[t._v(" 预算"),a("br"),t._v("经费 ")])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundHeader"},[a("div",{staticClass:"HeaderLabel"},[t._v("支出类别")]),a("div",{staticClass:"HeaderLabel"},[t._v("支出项目")]),a("div",{staticClass:"HeaderLabel"},[t._v("金额(元)")]),a("div",{staticClass:"HeaderLabel"},[t._v("备注")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("按合同规定支付给协作单位的费用")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("学术会务费、评审费、鉴定费、成果集制作费等费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"fundDataValue"},[a("span",[t._v("论文版面费、专利及其他知识产权事务等费用。")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"opinion"},[a("div",{staticClass:"opinionLabel"},[t._v("所在学院/部门"),a("br"),t._v(" 意 见")]),a("div",{staticClass:"opinionValue"},[a("div",{staticClass:"opinionImport"},[a("div",{staticClass:"opinionChapter"},[t._v("负责人签章:")]),a("div",{staticClass:"opinionDate"},[t._v("年 月 日")])])])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"opinion"},[a("div",{staticClass:"opinionLabel"},[t._v("财务部门"),a("br"),t._v("意 见")]),a("div",{staticClass:"opinionValue"},[a("div",{staticClass:"opinionImport"},[a("div",{staticClass:"opinionChapter"},[t._v("负责人签章:")]),a("div",{staticClass:"opinionDate"},[t._v("年 月 日")])])])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"opinion"},[a("div",{staticClass:"opinionLabel"},[t._v("创新创业学院"),a("br"),t._v("审 核 意 见")]),a("div",{staticClass:"opinionValue"},[a("div",{staticClass:"opinionImport"},[a("div",{staticClass:"opinionChapter"},[t._v("负责人签章:")]),a("div",{staticClass:"opinionDate"},[t._v("年 月 日")])])])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"notes"},[a("span",[t._v("备注:")]),a("span",[t._v("1.表格可顺延或另附页。")]),a("span",[t._v("2.项目申报需附相关佐证材料。")])])}],c=s(53932),p={props:["wordData"],data(){return{}},methods:{getWord(){this.$message.info("获取表单"),(0,c.Ws)(this.wordData)}},mounted(){}},u=p,v=s(1001),h=(0,v.Z)(u,d,l,!1,null,"e26ec8c6",null),_=h.exports,m={components:{MakerSpaceWord:n.Z,MakerSpaceWordShow:_},data(){return{wordData:{applicationDate:"",projectName:"",college:"",collegeName:"",begin_at:"",state:"",stateName:"",plannedEnd_at:"",pro_leader:"",lead_leader:"",teacher:[{name:"",speciality:"",title:"",education:"",section:"",work:""},{name:"",speciality:"",title:"",education:"",section:"",work:""},{name:"",speciality:"",title:"",education:"",section:"",work:""}],student:[{name:"",class:"",age:"",work:""},{name:"",class:"",age:"",work:""},{name:"",class:"",age:"",work:""},{name:"",class:"",age:"",work:""},{name:"",class:"",age:"",work:""}],brief:"",Construction:"",ProjectBasis:"",development:"",studio:"",studentTeam:"",studentActivities:"",Transforming:"",condition:"",fund:{total:"",device:"",Material:"",processing:"",Collaboration:"",APPRAISAL:"",entery:"",activities:"",Transaction:""}},state:1,loading:!1,submitHint:!1}},methods:{getData(){this.loading=!0,this.ajax.get(this.$store.state.api+"/getMakerSpaceWordData",{uid:this.$store.state.userInfo.userid,pid:this.$route.query["pid"]}).then((t=>{let a=t["data"][0][0];this.wordData["projectName"]=a["title"],this.wordData["applicationDate"]=a["applyProjectTime"],this.wordData["college"]=a["classid"],this.wordData["collegeName"]=a["cName"],this.wordData["begin_at"]=a["begintime"],this.wordData["state"]=a["typeName"],this.wordData["stateName"]=a["tName"],this.wordData["plannedEnd_at"]=a["planTime"],this.wordData["pro_leader"]=a["pro_leader"],this.wordData["lead_leader"]=a["lead_leader"],this.wordData["teacher"]=JSON.parse(a["course_teacher"]),this.wordData["student"]=JSON.parse(a["course_student"]),this.wordData["brief"]=a["brief"],this.wordData["fund"]=JSON.parse(a["money"]),this.state=a["isupload"],this.wordData={...this.wordData,...JSON.parse(a["chapters"])},this.loading=!1})).catch((t=>{console.log(t)}))},getWord(){this.$message.info("正在下载表单"),(0,c.Ws)(this.wordData)},changeWord(){this.loading=!0;let t={uid:this.$store.state.userInfo.userid,pid:this.$route.query["pid"],tit:this.wordData["projectName"],bf:this.wordData["brief"],pLeader:this.wordData["pro_leader"],lLeader:this.wordData["lead_leader"],cid:this.wordData["college"],ct:JSON.stringify(this.wordData["teacher"]),cs:JSON.stringify(this.wordData["student"]),f:this.wordData["fund"]["total"],chp:JSON.stringify({Construction:this.wordData["Construction"],ProjectBasis:this.wordData["ProjectBasis"],development:this.wordData["development"],studio:this.wordData["studio"],studentTeam:this.wordData["studentTeam"],studentActivities:this.wordData["studentActivities"],Transforming:this.wordData["Transforming"],condition:this.wordData["condition"]}),tName:this.wordData["state"],mon:JSON.stringify(this.wordData["fund"]),planEnd:this.wordData["plannedEnd_at"],beh:this.wordData["begin_at"],mem:this.wordData["student"].length+this.wordData["teacher"].length};this.ajax.post(this.$store.state.api+"/updateMakerSpaceWordData",t).then((t=>{console.log(t),1==t["data"]?(this.$message.success("修改项目信息成功"),this.submitHint=!1):this.$message.error("修改项目信息失败"),this.getData()})).catch((t=>{console.log(t)}))},test(){const t=/^\s*$/g;for(let a in this.wordData)switch(a){case"projectName":if(t.test(this.wordData[a]))return this.$message.error("请输入项目名称"),document.querySelector("#one").scrollIntoView({behavior:"smooth"}),!1;break;case"college":if(t.test(this.wordData[a]))return this.$message.error("请选择所在学院"),document.querySelector("#one").scrollIntoView({behavior:"smooth"}),!1;break;case"state":if(t.test(this.wordData[a]))return this.$message.error("请选择项目状态"),document.querySelector("#two").scrollIntoView({behavior:"smooth"}),!1;break;case"begin_at":if(t.test(this.wordData[a]))return this.$message.error("请选择项目开始时间"),document.querySelector("#three").scrollIntoView({behavior:"smooth"}),!1;break;case"plannedEnd_at":if(t.test(this.wordData[a]))return this.$message.error("请选择计划完成时间"),document.querySelector("#three").scrollIntoView({behavior:"smooth"}),!1;break;case"pro_leader":if(t.test(this.wordData[a]))return this.$message.error("请输入项目负责人"),document.querySelector("#four").scrollIntoView({behavior:"smooth"}),!1;break;case"lead_leader":if(t.test(this.wordData[a]))return this.$message.error("请输入学院牵头领导"),document.querySelector("#four").scrollIntoView({behavior:"smooth"}),!1;break;case"teacher":if(this.wordData[a].length<3)return this.$message.error("教师团队应3人以上"),document.querySelector("#five").scrollIntoView({behavior:"smooth"}),!1;{let s=0;if(this.wordData[a].forEach((a=>{t.test(a["name"])&&s++})),s>0)return this.$message.error("教师姓名请不要留空"),document.querySelector("#five").scrollIntoView({behavior:"smooth"}),!1}break;case"student":if(this.wordData[a].length<5)return this.$message.error("学生团队应5人以上"),document.querySelector("#six").scrollIntoView({behavior:"smooth"}),!1;{let s=0;if(this.wordData[a].forEach((a=>{t.test(a["name"])&&s++})),s>0)return this.$message.error("学生姓名请不要留空"),document.querySelector("#six").scrollIntoView({behavior:"smooth"}),!1}break;case"fund":if(0==this.wordData["fund"]["total"])return document.querySelector("#fund").scrollIntoView({behavior:"smooth"}),this.$message.error("请输入预算经费");break}this.submitHint=!0}},mounted(){this.getData()}},f=m,w=(0,v.Z)(f,r,i,!1,null,null,null),D=w.exports,C=function(){var t=this,a=t._self._c;return a("div",{attrs:{id:"studentProjectWordDetail"}},[0==t.isupload?a("studentProjectWord",{attrs:{wordData:t.wordData,reversedMessage:t.reversedMessage}}):t._e(),0!=t.isupload?a("studentProjectWordShow",{attrs:{downWordData:t.downWordData,reversedMessage:t.reversedMessage}}):t._e(),a("div",{staticStyle:{width:"300px",margin:"20px auto",display:"flex","justify-content":"space-between"}},[a("el-button",{staticStyle:{width:"120px",margin:"20px auto"},attrs:{type:"primary"},on:{click:function(a){t.downloadDig=!0}}},[t._v("下载文档")]),0==t.isupload&&0!=t.$store.state.userInfo.type?a("el-button",{staticStyle:{width:"120px",margin:"20px auto"},attrs:{type:"primary"},on:{click:t.test}},[t._v("立即修改")]):t._e()],1),a("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"立即修改",visible:t.updatedWordDig,width:"600px"},on:{"update:visible":function(a){t.updatedWordDig=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.updatedWord}},[t._v("确认")]),a("el-button",{staticClass:"AllDialogBtn",on:{click:function(a){t.updatedWordDig=!1}}},[t._v("取消")])],1)]),a("el-dialog",{staticClass:"pageSubmitData",attrs:{title:"下载文档",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)])],1)},b=[],g=s(24613),x=s(26213),y=function(){var t=this,a=t._self._c;return a("div",{attrs:{id:"studentProjectWord"}},[a("div",{attrs:{id:"title"}},[a("div",{staticClass:"school"},[t._v("深圳技师学院")]),a("div",{staticClass:"wordTitle"},[t._v("学 生 创 客 项 目 申 报 书")]),a("div",{staticClass:"date"},[t._v("申请日期:"+t._s(t.downWordData.applicationDate))])]),a("table",{staticClass:"table",attrs:{border:"1",cellspacing:"0"}},[a("tr",{attrs:{id:"projectName"}},[a("td",{ref:"projectName",attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("项目名称")])]),a("td",{attrs:{colspan:"5"},domProps:{textContent:t._s(t.downWordData.projectName)}})]),a("tr",{attrs:{id:"radio"}},[a("td",{ref:"radio",attrs:{rowspan:"2",colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("项目分组")])]),a("td",{domProps:{textContent:t._s("ed917c55-f51d-11ed-a3f6-509a4c5b67cf"==t.downWordData.radio?"√ 创意组":"□ 创意组")}}),a("td",{attrs:{colspan:"4"}},[t._v("立项项目为新立项项目,项目成果应具有较好的创意和较为成型的产品原型或能提供较好的商业模式,产生较好的社会效益。")])]),a("tr",[a("td",{domProps:{textContent:t._s("ed917c55-f51d-11ed-a3f6-509a4c5b67cf"==t.downWordData.radio?"□ 初创组":"√ 初创组")}}),a("td",{attrs:{colspan:"4"}},[t._v("立项项目为学校已结题学生创客项目或已入驻学校创业孵化基地的学生初创企业项目(毕业两年内),项目成果应为原结题项目基础上的技术升级、企业注册、规模扩张。")])]),a("tr",{staticClass:"checkArea",attrs:{id:"checkList"}},[a("td",{ref:"checkList",attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("优先支持项目(可多选)")])]),t._v(" "),a("td",{attrs:{colspan:"5"}},[a("span",[a("span",{domProps:{textContent:t._s(-1!=t.downWordData["checkList"].indexOf("1")?"√ ":"□ ")}}),a("span",[t._v("大赛选拔项目")])]),a("span",[a("span",{domProps:{textContent:t._s(-1!=t.downWordData["checkList"].indexOf("2")?"√ ":"□ ")}}),a("span",[t._v("落地注册项目")])]),a("span",[a("span",{domProps:{textContent:t._s(-1!=t.downWordData["checkList"].indexOf("3")?"√ ":"□ ")}}),a("span",[t._v("社会征集项目")])]),a("span",[a("span",{domProps:{textContent:t._s(-1!=t.downWordData["checkList"].indexOf("4")?"√ ":"□ ")}}),a("span",[t._v("产业命题项目")])])])]),a("tr",{staticClass:"checkArea",attrs:{id:"schoolRadio"}},[a("td",{ref:"schoolRadio",attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("美丽校园改造项目(特色项目)")])]),t._v(" "),a("td",{attrs:{colspan:"5"}},[a("span",[a("span",{domProps:{textContent:t._s("1"==t.downWordData["schoolRadio"]?"√ ":"□ ")}}),a("span",[t._v("校园安全项目")])]),a("span",[a("span",{domProps:{textContent:t._s("2"==t.downWordData["schoolRadio"]?"√ ":"□ ")}}),a("span",[t._v("环境治理项目")])]),a("span",[a("span",{domProps:{textContent:t._s("3"==t.downWordData["schoolRadio"]?"√ ":"□ ")}}),a("span",[t._v("校园服务项目")])]),a("span",[a("span",{domProps:{textContent:t._s("4"==t.downWordData["schoolRadio"]?"√ ":"□ ")}}),a("span",[t._v("文创装置项目")])])])]),a("tr",{attrs:{id:"applyParsonRadio"}},[a("td",{ref:"applyParsonRadio",attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("项目申请人")])]),a("td",{attrs:{colspan:"3"}},[a("span",{domProps:{textContent:t._s("1"==t.downWordData["applyParsonRadio"]?"√ ":"□ ")}}),a("span",[t._v("在校学生")])]),a("td",{attrs:{colspan:"3"}},[a("span",{domProps:{textContent:t._s("2"==t.downWordData["applyParsonRadio"]?"√ ":"□ ")}}),a("span",[t._v("入驻学校孵化基地的初创企业法人")])])]),a("tr",{attrs:{id:"applyParsonName"}},[a("td",{ref:"applyParsonName",attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("申 请 人 姓 名")])]),a("td",{attrs:{colspan:"1"},domProps:{textContent:t._s(t.downWordData.applyParsonName)}}),a("td",{ref:"college"},[a("span",{staticClass:"jc"},[t._v("参与学院/公司")])]),a("td",{domProps:{textContent:t._s(t.downWordData.dp)}}),a("td",{ref:"tel"},[a("span",{staticClass:"jc"},[t._v("联系电话")])]),a("td",{domProps:{textContent:t._s(t.downWordData.tel)}})]),a("tr",{attrs:{id:"beginTime"}},[a("td",{ref:"beginTime",attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("项 目 起 始 时 间")])]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.downWordData.beginTime.split(" ")[0])}}),a("td",{ref:"endTime"},[a("span",{staticClass:"jc"},[t._v("计划完成时间")])]),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(t.downWordData.endTime.split(" ")[0])}})]),a("tr",[t._m(0),a("td",{domProps:{textContent:t._s(t.downWordData.studentS.length+t.downWordData.teacherS.length)}}),a("td",[t._v("参与学生人数")]),a("td",{domProps:{textContent:t._s(t.downWordData.studentS.length)}}),a("td",[t._v("参与教师人数")]),a("td",{domProps:{textContent:t._s(t.downWordData.teacherS.length)}})]),a("tr",{attrs:{id:"studentS"}},[a("td",{ref:"studentS",attrs:{rowspan:t.downWordData.studentS.length+1}},[a("span",{staticClass:"jc"},[t._v("项目组")]),a("br"),a("span",{staticClass:"jc"},[t._v("学生成员")]),a("br"),t._v(" (至少2 "),a("br"),t._v("个学院以上"),a("br"),t._v(" 学生构成"),a("br"),t._v(",团队 5人以上)")]),a("td",[t._v("姓名")]),a("td",{attrs:{colspan:"2"}},[t._v("所在学院/部门/专业")]),a("td",{attrs:{colspan:"3"}},[t._v("项目组角色分工")])]),t._l(t.downWordData.studentS,(function(s,e){return a("tr",{key:e+"a",staticStyle:{position:"relative"}},[a("td",{domProps:{textContent:t._s(s.name)}}),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(s.collage)}}),a("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(s.work)}})])})),a("tr",{attrs:{id:"teacherS"}},[a("td",{ref:"teacherS",attrs:{rowspan:t.downWordData.teacherS.length+1}},[a("span",{staticClass:"jc"},[t._v("项目组")]),a("br"),a("span",{staticClass:"jc"},[t._v(" 指导教师")]),a("br"),t._v(" (2个学院以上, "),a("br"),t._v("团队2-3人)")]),a("td",[t._v("姓名")]),a("td",{attrs:{colspan:"2"}},[t._v("所在学院/部门/专业")]),a("td",{attrs:{colspan:"3"}},[t._v("项目组角色分工")])]),t._l(t.downWordData.teacherS,(function(s,e){return a("tr",{key:e+"b",staticStyle:{position:"relative !important"}},[a("td",{domProps:{textContent:t._s(s.name)}}),a("td",{attrs:{colspan:"2"},domProps:{textContent:t._s(s.collage)}}),a("td",{attrs:{colspan:"3"},domProps:{textContent:t._s(s.work)}})])})),a("tr",{attrs:{id:"brief"}},[a("td",{ref:"brief",attrs:{rowspan:"5"}},[t._v("研发内容")]),a("td",{staticClass:"textLeft",attrs:{colspan:"6"}},[a("p",[t._v("项目简介(200-300字)")]),a("div",{staticStyle:{"word-wrap":"break-word","word-break":"break-all"},domProps:{textContent:t._s(t.downWordData.brief)}})])]),a("tr",[a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("项目研发背景")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.back)}})])]),a("tr",[a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("项目创新点")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.innovate)}})])]),a("tr",[a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("技术研发路线")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.path)}})])]),a("tr",[a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("项目应用场景 ")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.scene)}})])]),a("tr",[a("td",[t._v("商业模式及社会价值")]),a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("项目商业模式/社会价值")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.worth)}})])]),a("tr",[a("td",[t._v("团队优势")]),a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("团队构成及优势")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.team)}})])]),a("tr",[a("td",[t._v("研发成本")]),a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("研发成本来源及构成")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.cost)}})])]),a("tr",[a("td",{attrs:{rowspan:"3"}},[t._v("预期成果")]),a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("项目预期成果、数量及形式(产品原型/发明专利/双创竞赛/成果转化/社会效益)")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.expectResults)}})])]),a("tr",{staticClass:"textLeft"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("学生创客人才培养预期成果、数量(教师填写)")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.expectResultsTeacher)}})])]),a("tr",{staticClass:"textLeft"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("p",[t._v("项目预期孵化、转化创业项目情况")]),a("span",{domProps:{textContent:t._s(t.downWordData.introduce.expectConversion)}})])]),a("tr",[a("td",[t._v("实施计划")]),a("td",{staticClass:"textLeft",staticStyle:{"text-align":"left"},attrs:{colspan:"6"}},[a("span",{domProps:{textContent:t._s(t.downWordData.introduce.plan)}})])]),a("tr",{attrs:{id:"fund"}},[a("td",{ref:"fund",attrs:{rowspan:"12"}},[t._v("预算经费")]),a("td",[t._v("总经费")]),a("td",{attrs:{colspan:"5"},domProps:{textContent:t._s(0==t.reversedMessage?"":t.reversedMessage)}})]),t._m(1),t._m(2),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("小型仪器设备费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.facility)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 项目开展所需的小型专用仪器设备、工具、配件购置或租赁费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("材料费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.materials)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 项目开展需消耗的各种原材料、辅助材料等低值易耗品的采购费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("测试化验加工费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.process)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 项目开展过程中支付给外单位的检验、测试、化验、计算、分析及加工费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("项目协作费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.assist)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 按合同规定支付给协作单位的费用 ")])]),t._m(3),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("项目成果鉴定费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.authenticate)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 学术会务费、评审费、鉴定费、成果集制作费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("参展参赛费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.match)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 参加创客展会、竞赛等所需的报名费、展位费、布展费、宣传推广费及差旅费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("创客交流活动费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.activity)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 创客交流活动中支付给校外专家的指导费、咨询费、授课费等费用。 ")])]),a("tr",[a("td",{attrs:{colspan:"2"}},[t._v("知识产权事务费")]),a("td",{domProps:{textContent:t._s(t.downWordData.fund.affair)}}),a("td",{attrs:{colspan:"2"}},[t._v(" 论文版面费、专利及其他知识产权事务等费用。 ")])]),t._m(4),t._m(5),t._m(6)],2),t._m(7)])},P=[function(){var t=this,a=t._self._c;return a("td",{attrs:{colspan:"2"}},[a("span",{staticClass:"jc"},[t._v("项 目 组 人 数")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",[t._v("支出类别")]),a("td",{attrs:{colspan:"2"}},[t._v("支出项目")]),a("td",[t._v("金额(元)")]),a("td",{attrs:{colspan:"4"}},[t._v("备 注")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{attrs:{rowspan:"5"}},[t._v("直接费用")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",{attrs:{rowspan:"5"}},[t._v("间接费用")])])},function(){var t=this,a=t._self._c;return a("tr",[a("td",[t._v("所在学院/部门意见")]),a("td",{staticClass:"textLeft",staticStyle:{height:"200px"},attrs:{colspan:"6"}},[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("tr",[a("td",[t._v("财务部门意见")]),a("td",{staticClass:"textLeft",staticStyle:{height:"200px"},attrs:{colspan:"6"}},[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("tr",[a("td",[t._v("创新创业学院审核意见")]),a("td",{staticClass:"textLeft",staticStyle:{height:"200px"},attrs:{colspan:"6"}},[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("1.表格可顺延或另附页。")]),a("span",[t._v("2.优先支持项目需提供与研发项目相关的实证材料并查看原件。")]),a("span",[t._v("3.初创组已结题项目申请需提供结题验收证明、初创企业申请需提供入驻学校孵化基地协议书及公司营业执照。")])])}],S={props:["reversedMessage","downWordData"],data(){return{}},methods:{},computed:{},mounted(){}},k=S,W=(0,v.Z)(k,y,P,!1,null,"0bff2576",null),V=W.exports,j={components:{studentProjectWord:x.Z,studentProjectWordShow:V},data(){return{isupload:1,DepartmentData:[],downloadDig:!1,updatedWordDig:!1,downWordData:{applicationDate:(0,g.YZ)(1),projectName:"",radio:"",checkList:[],schoolRadio:"",applyParsonRadio:"",applyParsonName:"",college:"",tel:"",beginTime:"",endTime:"",studentS:[{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""}],teacherS:[{name:"",collage:"",work:""},{name:"",collage:"",work:""}],brief:"",introduce:{back:"",innovate:"",path:"",scene:"",worth:"",team:"",cost:"",expectResults:"",expectResultsTeacher:"",expectConversion:"",plan:""},total:"",fund:{facility:"",materials:"",process:"",assist:"",authenticate:"",match:"",activity:"",affair:""}},wordData:{applicationDate:(0,g.YZ)(1),projectName:"",radio:"",checkList:[],schoolRadio:"",applyParsonRadio:"",applyParsonName:"",college:"",tel:"",beginTime:"",endTime:"",studentS:[{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""},{name:"",collage:"",work:""}],teacherS:[{name:"",collage:"",work:""},{name:"",collage:"",work:""}],brief:"",introduce:{back:"",innovate:"",path:"",scene:"",worth:"",team:"",cost:"",expectResults:"",expectResultsTeacher:"",expectConversion:"",plan:""},total:"",fund:{facility:"",materials:"",process:"",assist:"",authenticate:"",match:"",activity:"",affair:""}}}},methods:{getText(t){let 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}$/,s=a.test(t.trim());if(!s)return this.$message.error("请输入正确联系号码格式")},addTeacher(){if(this.wordData.teacherS.length>=3)return this.$message.error("指导老师最多三人");this.wordData.teacherS.push({name:"",collage:"",work:""})},DelTeacher(t){this.wordData.teacherS.splice(t,1)},addStudent(){this.wordData.studentS.push({name:"",collage:"",work:""})},DelStudent(t){this.wordData.studentS.splice(t,1)},getProjectDepartmentData(){this.ajax.get(this.$store.state.api+"/SelectAllDepartment",{uid:this.$store.state.userInfo.userid}).then((t=>{this.DepartmentData=t.data[0]}),(t=>{console.log(t)}))},getData(){let t={uid:this.$store.state.userInfo.userid,cid:this.$route.query["pid"]};this.ajax.get(this.$store.state.api+"/studentProjectData",t).then((t=>{let a=t.data[0][0];console.log(a),this.wordData.projectName=a.title,this.wordData.radio=a.typeName,this.wordData.checkList=JSON.parse(a.multiSelectProject),this.wordData.schoolRadio=a.schoolRemould,this.wordData.applyParsonRadio=a.projectApplyperson,this.wordData.applyParsonName=a.pro_leader,this.wordData.college=a.classid,this.wordData.tel=a.phone,this.wordData.beginTime=a.bTime,this.wordData.endTime=a.eTime,this.wordData.studentS=JSON.parse(a.course_student),this.wordData.teacherS=JSON.parse(a.course_teacher),this.wordData.brief=a.brief,this.wordData.introduce=JSON.parse(a.chapters),this.wordData.fund=JSON.parse(a.money),this.downWordData={...this.wordData,etime:a.eTime,btime:a.bTime,dp:a.className},this.isupload=a["isupload"],console.log(this.downWordData)}),(t=>{console.log(t)}))},test(){const t=/^\s*$/g;for(let a in this.wordData)switch(a){case"projectName":if(t.test(this.wordData[a]))return this.$message.error("请输入项目名称"),document.querySelector("#projectName").scrollIntoView({behavior:"smooth"}),!1;break;case"radio":if(t.test(this.wordData[a]))return this.$message.error("请选择项目分组"),document.querySelector("#radio").scrollIntoView({behavior:"smooth"}),!1;break;case"checkList":if(0==this.wordData[a].length)return this.$message.error("优先支持项目"),document.querySelector("#checkList").scrollIntoView({behavior:"smooth"}),!1;break;case"schoolRadio":if(t.test(this.wordData[a]))return this.$message.error("请选择美丽校园改造项目"),document.querySelector("#schoolRadio").scrollIntoView({behavior:"smooth"}),!1;break;case"applyParsonRadio":if(t.test(this.wordData[a]))return this.$message.error("请选择项目申请人"),document.querySelector("#applyParsonRadio").scrollIntoView({behavior:"smooth"}),!1;break;case"applyParsonName":if(t.test(this.wordData[a]))return this.$message.error("请填写申请人姓名"),document.querySelector("#applyParsonName").scrollIntoView({behavior:"smooth"}),!1;break;case"college":if(t.test(this.wordData[a]))return this.$message.error("请选择所在学院"),document.querySelector("#applyParsonName").scrollIntoView({behavior:"smooth"}),!1;break;case"tel":if(t.test(this.wordData[a]))return this.$message.error("请填写联系方式"),document.querySelector("#applyParsonName").scrollIntoView({behavior:"smooth"}),!1;break;case"beginTime":if(t.test(this.wordData[a]))return this.$message.error("请选择项目起始时间"),document.querySelector("#beginTime").scrollIntoView({behavior:"smooth"}),!1;break;case"endTime":if(t.test(this.wordData[a]))return this.$message.error("请选择计划完成时间"),document.querySelector("#beginTime").scrollIntoView({behavior:"smooth"}),!1;break;case"studentS":let s=0;if(this.wordData[a].forEach((a=>{t.test(a["name"])&&s++})),s>0)return this.$message.error("学生姓名请不要留空"),document.querySelector("#studentS").scrollIntoView({behavior:"smooth"}),!1;break;case"teacherS":let e=0;if(this.wordData[a].forEach((a=>{t.test(a["name"])&&e++})),e>0)return this.$message.error("老师姓名请不要留空"),document.querySelector("#teacherS").scrollIntoView({behavior:"smooth"}),!1;break;case"fund":let o=1*this.wordData.fund.facility+1*this.wordData.fund.materials+1*this.wordData.fund.process+1*this.wordData.fund.assist+1*this.wordData.fund.authenticate+1*this.wordData.fund.match+1*this.wordData.fund.activity+1*this.wordData.fund.affair;if(0==o)return document.querySelector("#fund").scrollIntoView({behavior:"smooth"}),this.$message.error("请输入经费");break}this.wordData["total"]=1*this.wordData.fund.facility+1*this.wordData.fund.materials+1*this.wordData.fund.process+1*this.wordData.fund.assist+1*this.wordData.fund.authenticate+1*this.wordData.fund.match+1*this.wordData.fund.activity+1*this.wordData.fund.affair,this.updatedWordDig=!0},updatedWord(){let t={uid:this.$store.state.userInfo.userid,cid:this.$route.query["pid"],tid:"5e21b204-c206-11ed-a4cd-509a4c5b67cf",tit:this.wordData["projectName"],radio:this.wordData["radio"],checkList:JSON.stringify(this.wordData["checkList"]),schoolRadio:this.wordData["schoolRadio"],applyParsonRadio:this.wordData["applyParsonRadio"],applyParsonName:this.wordData["applyParsonName"],coid:this.wordData["college"],tel:this.wordData["tel"],beh:this.wordData["beginTime"],planEnd:this.wordData["endTime"],cs:JSON.stringify(this.wordData["studentS"]),ct:JSON.stringify(this.wordData["teacherS"]),bf:this.wordData["brief"],introduce:JSON.stringify(this.wordData["introduce"]),mon:JSON.stringify(this.wordData["fund"]),f:this.wordData["total"],apply:this.wordData["applicationDate"],mem:this.wordData["teacherS"].length+this.wordData["studentS"].length};console.log(t),this.ajax.post(this.$store.state.api+"/updateStudentProjectData",t).then((t=>{if(t.data)return this.updatedWordDig=!1,this.$message.success("修改成功");this.$message.error("修改失败")}),(t=>{console.log(t)}))},downloadWord(){this.wordData["total"]=1*this.wordData.fund.facility+1*this.wordData.fund.materials+1*this.wordData.fund.process+1*this.wordData.fund.assist+1*this.wordData.fund.authenticate+1*this.wordData.fund.match+1*this.wordData.fund.activity+1*this.wordData.fund.affair,(0,c.oz)(this.downWordData),this.downloadDig=!1}},computed:{reversedMessage:function(){return 1*this.wordData.fund.facility+1*this.wordData.fund.materials+1*this.wordData.fund.process+1*this.wordData.fund.assist+1*this.wordData.fund.authenticate+1*this.wordData.fund.match+1*this.wordData.fund.activity+1*this.wordData.fund.affair}},mounted(){this.getProjectDepartmentData(),this.getData()}},L=j,N=(0,v.Z)(L,C,b,!1,null,"1b8a2cdf",null),$=N.exports,T={components:{MakerSpaceWordDetail:D,studentProjectWordDetail:$},data(){return{status:0}},methods:{back(){this.$router.push("/projectApplication")}},mounted(){}},I=T,R=(0,v.Z)(I,e,o,!1,null,null,null),q=R.exports}}]);
  2. //# sourceMappingURL=347.bb70d9f4.js.map