"use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[790],{85147:function(t,a,s){s.d(a,{Z:function(){return l}});var e=function(){var t=this,a=t._self._c;return a("div",{staticClass:"pdf"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isloading,expression:"isloading"}],staticClass:"loading"},[a("span",[t._v("pdf可能会加载时间有点长,请耐心等待...")])]),a("iframe",{ref:"viframe",staticStyle:{width:"100%",height:"99%",border:"none"},attrs:{src:"https://cloud.cocorobo.cn/pdf.js/web/viewer.html?file="+t.pdfUrl}})])},i=[],n={name:"Pdfvuer",components:{},props:{pdfUrl:{type:String,default:"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/0629%E5%AE%9E%E6%97%B6%E8%AF%BE%E5%A0%82%E6%A8%A1%E6%8B%9F%E6%BC%94%E7%A4%BA%E8%AF%BE%E4%BB%B61656920880446.pdf"},ppage:{type:Number,default:1}},data(){return{page:1,numPages:0,pdfData:void 0,inputPage:1,isloading:!1,scale:"page-width"}},mounted(){this.isloading=!1,this.$refs.viframe.onload=function(){this.isloading=!1},console.log(this.isloading)},beforeDestroy(){},watch:{pdfUrl:function(t){this.isloading=!1,this.$refs.viframe.onload=function(){this.isloading=!1}}},methods:{getPdf(){this.pdfData=pdfvuer.createLoadingTask({url:this.pdfUrl,cMapUrl:"https://cdn.jsdelivr.net/npm/pdfjs-dist@2.16.105/cmaps/",cMapPacked:!0}),this.pdfData.then((t=>{this.isloading=!1,this.numPages=t.numPages})).catch((t=>{console.log(t)}))},prePage(){let t=this.page;t=t>1?t-1:1,this.page=t},nextPage(){let t=this.page;t=t{let a=t.data[0][0],s={};s.projectName=a.title,s.radio=a.typeName,s.checkList=JSON.parse(a.multiSelectProject),s.schoolRadio=a.schoolRemould,s.applyParsonRadio=a.projectApplyperson,s.applyParsonName=a.pro_leader,s.college=a.classid,s.tel=a.phone,s.beginTime=a.bTime,s.endTime=a.eTime,s.studentS=JSON.parse(a.course_student),s.teacherS=JSON.parse(a.course_teacher),s.brief=a.brief,s.introduce=JSON.parse(a.chapters),s.fund=JSON.parse(a.money),this.downWordData={...s,etime:a.eTime,btime:a.bTime,dp:a.className}}),(t=>{console.log(t)}))}},computed:{reversedMessage:function(){let t=0;for(let a in this.downWordData.fund)t+=Number(this.downWordData.fund[a]);return t}},mounted(){this.getData()}},l=r,c=s(1001),p=(0,c.Z)(l,n,o,!1,null,"6ff1e188",null),v=p.exports,_=function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],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),a("el-button",{attrs:{type:"primary"},on:{click:t.getWord}},[t._v("下载表格")])],1)},u=[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.项目申报需附相关佐证材料。")])])}],f={data(){return{loading:!1,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:""}}}},methods:{getWord(){this.$message.info("正在下载表格"),(0,d.Ws)(this.wordData)},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)}))}},mounted(){this.getData()}},m=f,h=(0,c.Z)(m,_,u,!1,null,"70625d65",null),C=h.exports,g=function(){var t=this,a=t._self._c;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ProjectManagement5"},[a("div",{staticClass:"pmInp"}),a("el-table",{staticClass:"fontSize",attrs:{data:t.tableData,"tooltip-effect":"dark",stripe:"",height:"550px","header-cell-style":{background:"#f2f2f2",color:"#000"}}},[a("el-table-column",{attrs:{prop:"fileName",label:"项目中期报告",align:"center"}}),a("el-table-column",{attrs:{prop:"size",label:"大小",align:"center"}}),a("el-table-column",{attrs:{prop:"uploadTime",label:"时间",align:"center"}}),a("el-table-column",{attrs:{prop:"operation",align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(s){return[a("div",{staticClass:"operations"},[a("el-button",{staticStyle:{background:"#477edd"},attrs:{type:"primary",size:"mini"},on:{click:function(a){return t.checkFile(s.row.url)}}},[t._v("明细查看")])],1)]}}])})],1),a("el-dialog",{staticClass:"addDialog showDialog",attrs:{title:"展示文件",visible:t.showFile,width:"80vw"},on:{"update:visible":function(a){t.showFile=a}}},[a("div",{staticClass:"showFileArea"},["pdf"!=t.Wordss["type"]&&"图片"!=t.Wordss["name"]?a("vword",{staticClass:"fullStyle",staticStyle:{width:"100%",height:"100%",overflow:"auto"},attrs:{pdfUrl:"https://view.officeapps.live.com/op/view.aspx?src="+t.showFileUrl}}):t._e(),"pdf"==t.Wordss["type"]?a("vpdf",{staticClass:"fullStyle",staticStyle:{width:"100%",height:"100%",overflow:"auto"},attrs:{pdfUrl:t.showFileUrl}}):t._e(),"图片"==t.Wordss["name"]?a("img",{staticStyle:{width:"auto",height:"auto","max-width":"100%","max-height":"100%"},attrs:{src:t.showFileUrl,alt:"图片哦"}}):t._e()],1)])],1)},w=[],D=(s(57658),s(18716)),b=s(85147),x=s(35379),P={components:{beUpload:D.Z,vpdf:b.Z,vword:x.Z},data(){return{accept:".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document",showFileType:0,loading:!1,tableData:[],file:"",showFile:!1,showFileUrl:"",Wordss:{type:"",name:""},canonical:{Image:/^https?:\/\/(.+\/)+.+(\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,File:/^https?:\/\/(.+\/)+.+(\.(docx|xlsx|ppt|pdf))$/i}}},methods:{checkFile(t){if(this.showFileUrl=t,this.showFile=!0,"undefined"==typeof t)return{type:"",name:""};let a=t.split(".");const s=a[a.length-1];return this.canonical.Image.test(t)?(this.Wordss={type:s,name:"图片"},console.log(this.Wordss)):this.canonical.File.test(t)?(this.Wordss={type:s,name:"文档"},console.log(this.Wordss)):this.Wordss={type:s,name:s}},getFile(t){this.file=t;let a=[];this.tableData.forEach((t=>a.push(t))),a.push(t);let s={uid:this.$store.state.userInfo.userid,cid:this.$route.query["pid"],projectFile:JSON.stringify(a)};this.ajax.post(this.$store.state.api+"/AddProjectManageFile",s).then((t=>{console.log(t),1==t.data?(this.getData(),this.$message.success("上传成功")):this.$message.error("上传失败")}),(t=>{console.log(t)}))},handleCurrentChange(t){this.table.currentPage=t,this.getData()},getData(){this.loading=!0;let t={uid:this.$store.state.userInfo.userid,pid:this.$route.query["pid"]};this.ajax.get(this.$store.state.api+"/SelectProjectManageFile",t).then((t=>{this.tableData=JSON.parse(t.data[0][0]["endFile"]),this.loading=!1}),(t=>{console.log(t)}))}},mounted(){this.getData()}},y=P,S=(0,c.Z)(y,g,w,!1,null,null,null),W=S.exports,k={components:{MakerSpaceWordShowVue:C,studentProjectWordShow:v,projectSettlementDetailConclusion:W},data(){return{pageState:0}},methods:{},mounted(){console.log(this.$route)}},V=k,L=(0,c.Z)(V,e,i,!1,null,null,null),N=L.exports}}]); //# sourceMappingURL=790.450c36b3.js.map