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GAAK,gBACL,GAAK,gBACL,GAAK,gBACH,GAAK,iBACL,GAAK,cAGM,SAAS7F,EAAa8F,EAAI,MACrC,OAAO,IAAIC,SAAQ,CAACC,EAAQC,KACxBvE,EAAAA,EAAAA,IAASwE,EAAAA,EAAAA,MAAAA,IAAgBL,EAAQC,GAAK,CAClC1F,IAAI8F,EAAAA,EAAAA,MAAAA,SAAAA,OACVrK,KAAKiK,IACA7F,MAAKwC,IAEJ,GADAZ,QAAQC,IAAIW,EAAI,SACU,GAAvBA,EAAI,QAAQ,GAAGhB,QAAoC,MAAzBgB,EAAI,QAAQ,GAAG,GAAG,MAAY,OAAOuD,EAAS,GAAEF,YAC7E,IAAIK,EAAS1D,EAAI,QAAQ,GAAG,GAAG,MAC3B2D,EAASC,SAASF,EAAOG,OAAO,IAChCC,EAAYH,EAAO,EACnBI,EAAS,GAAEV,IAAMS,EAAUE,WAAWC,SAAS,EAAE,OACrDV,EAAQQ,EAAM,GAChB,GAEV,C","sources":["webpack://scproject/./src/views/projectApply/newStudentProjectApply.vue","webpack://scproject/src/views/projectApply/newStudentProjectApply.vue","webpack://scproject/./src/views/projectApply/newStudentProjectApply.vue?08e1","webpack://scproject/./src/views/projectApply/newStudentProjectApply.vue?c4fa","webpack://scproject/./src/components/tool/getProjectNo.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}]},[_vm._m(0),_c('hr'),_c('studentProjectWord',{ref:\"pdf\",attrs:{\"wordData\":_vm.wordData,\"reversedMessage\":_vm.reversedMessage},on:{\"fileOption2\":_vm.fileOption2,\"getFile2\":_vm.getFile2}}),_c('div',{staticStyle:{\"position\":\"fixed\",\"bottom\":\"5%\",\"right\":\"2%\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveDraft}},[_vm._v(\"保存草稿\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.test}},[_vm._v(\"保存项目\")])],1),_c('el-dialog',{staticClass:\"pageSubmitData\",attrs:{\"title\":\"提示\",\"visible\":_vm.submitHint,\"width\":\"600px\"},on:{\"update:visible\":function($event){_vm.submitHint=$event}}},[_c('div',{staticClass:\"deleteContent\"},[_vm._v(\" 确定保存“\"+_vm._s(_vm.wordData[\"projectName\"])+\"”项目吗? \")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{staticClass:\"AllDialogBtn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submitWord}},[_vm._v(\"确认保存\")]),_c('el-button',{staticClass:\"AllDialogBtn\",on:{\"click\":function($event){_vm.submitHint = false}}},[_vm._v(\"取消\")])],1)]),_c('el-dialog',{attrs:{\"title\":\"展示文件\",\"visible\":_vm.showFile,\"top\":\"1vh\",\"width\":\"80vw\",\"append-to-body\":\"\"},on:{\"update:visible\":function($event){_vm.showFile=$event}}},[_c('div',{staticClass:\"showFileArea\",staticStyle:{\"height\":\"80vh\"}},[(_vm.videoDetail.sources)?_c('div',{staticClass:\"workd_media\",staticStyle:{\"width\":\"90%\",\"height\":\"90%\"}},[_c('video-player',{staticClass:\"video-player vjs-custom-skin\",staticStyle:{\"width\":\"90%\",\"height\":\"90%\",\"margin\":\"0 auto\"},attrs:{\"playsinline\":true,\"options\":_vm.videoDetail},on:{\"play\":function($event){return _vm.onPlayerPlay($event)}}})],1):(_vm.Wordss['type'] != 'pdf' && _vm.Wordss['name'] != '图片')?_c('vword',{staticClass:\"fullStyle\",staticStyle:{\"width\":\"100%\",\"height\":\"100%\",\"overflow\":\"auto\"},attrs:{\"pdfUrl\":'https://view.officeapps.live.com/op/view.aspx?src=' + _vm.showFileUrl}}):(_vm.Wordss['type'] == 'pdf')?_c('vpdf',{staticClass:\"fullStyle\",staticStyle:{\"width\":\"100%\",\"height\":\"100%\",\"overflow\":\"auto\"},attrs:{\"pdfUrl\":_vm.showFileUrl}}):(_vm.Wordss['name'] == '图片')?_c('img',{staticStyle:{\"width\":\"auto\",\"height\":\"auto\",\"max-width\":\"100%\",\"max-height\":\"100%\"},attrs:{\"src\":_vm.showFileUrl,\"alt\":\"图片哦\"}}):_vm._e()],1)]),_c('el-dialog',{staticClass:\"dialog_diy\",attrs:{\"title\":\"修改名称\",\"visible\":_vm.dialogVisibleUpdateFile,\"append-to-body\":true,\"width\":\"500px\"},on:{\"update:visible\":function($event){_vm.dialogVisibleUpdateFile=$event}}},[_c('div',{staticStyle:{\"width\":\"100%\",\"display\":\"flex\",\"flex-direction\":\"row\",\"flex-wrap\":\"nowrap\",\"align-items\":\"center\",\"justify-content\":\"center\"}},[_c('div',{staticStyle:{\"min-width\":\"fit-content\"}},[_vm._v(\"文件名称:\")]),_c('el-input',{attrs:{\"placeholder\":\"请输入要修改的名称\"},model:{value:(_vm.updateFile.fileName),callback:function ($$v) {_vm.$set(_vm.updateFile, \"fileName\", $$v)},expression:\"updateFile.fileName\"}})],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.dialogVisibleUpdateFile = false}}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.updateFileName}},[_vm._v(\"确 定\")])],1)])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"pAHeader\"},[_c('div',{staticClass:\"pAHeader1\"},[_vm._v(\"创客项目申请\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\r\n <!-- 测试上传组件 -->\r\n <div v-loading=\"loading\">\r\n <div class=\"pAHeader\">\r\n <div class=\"pAHeader1\">创客项目申请</div>\r\n </div>\r\n <hr />\r\n\r\n <!-- 学生项目立项 -->\r\n <studentProjectWord\r\n ref=\"pdf\"\r\n :wordData=\"wordData\"\r\n :reversedMessage=\"reversedMessage\"\r\n\t\t\t@fileOption2=\"fileOption2\"\r\n\t\t\t@getFile2=\"getFile2\"\r\n />\r\n <div style=\"position: fixed; bottom: 5%; right: 2%\">\r\n\t\t\t<el-button @click=\"saveDraft\" type=\"primary\">保存草稿</el-button>\r\n <el-button @click=\"test\" type=\"primary\">保存项目</el-button>\r\n </div>\r\n\r\n\t\t<!-- 保存项目弹窗 -->\r\n <el-dialog\r\n title=\"提示\"\r\n :visible.sync=\"submitHint\"\r\n width=\"600px\"\r\n class=\"pageSubmitData\"\r\n >\r\n <div class=\"deleteContent\">\r\n 确定保存“{{ wordData[\"projectName\"] }}”项目吗?\r\n </div>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button type=\"primary\" @click=\"submitWord\" class=\"AllDialogBtn\"\r\n >确认保存</el-button\r\n >\r\n <el-button @click=\"submitHint = false\" class=\"AllDialogBtn\"\r\n >取消</el-button\r\n >\r\n </span>\r\n </el-dialog>\r\n\r\n\t\t\t\t<!-- 展示文件 -->\r\n\t\t\t\t<el-dialog\r\n title=\"展示文件\"\r\n :visible.sync=\"showFile\"\r\n top=\"1vh\"\r\n width=\"80vw\"\r\n append-to-body\r\n >\r\n <div class=\"showFileArea\" style=\"height: 80vh\">\r\n <!-- <vpdf v-if=\"/^\\s*$/g.test(showFileUrl)&&showFileUrl.split('.')[showFileUrl.split('.').length-1]=='pdf'\" :pdfUrl=\"showFileUrl\"></vpdf> -->\r\n <div\r\n class=\"workd_media\"\r\n style=\"width: 90%; height: 90%\"\r\n v-if=\"videoDetail.sources\"\r\n >\r\n <video-player\r\n class=\"video-player vjs-custom-skin\"\r\n :playsinline=\"true\"\r\n :options=\"videoDetail\"\r\n @play=\"onPlayerPlay($event)\"\r\n style=\"width: 90%; height: 90%; margin: 0 auto\"\r\n ></video-player>\r\n </div>\r\n <vword\r\n style=\"width: 100%; height: 100%; overflow: auto\"\r\n class=\"fullStyle\"\r\n v-else-if=\"Wordss['type'] != 'pdf' && Wordss['name'] != '图片'\"\r\n :pdfUrl=\"\r\n 'https://view.officeapps.live.com/op/view.aspx?src=' + showFileUrl\r\n \"\r\n ></vword>\r\n <vpdf\r\n style=\"width: 100%; height: 100%; overflow: auto\"\r\n class=\"fullStyle\"\r\n :pdfUrl=\"showFileUrl\"\r\n v-else-if=\"Wordss['type'] == 'pdf'\"\r\n ></vpdf>\r\n <img\r\n :src=\"showFileUrl\"\r\n alt=\"图片哦\"\r\n v-else-if=\"Wordss['name'] == '图片'\"\r\n style=\"width: auto; height: auto; max-width: 100%; max-height: 100%\"\r\n />\r\n </div>\r\n <!-- <el-button type=\"primary\" size=\"mini\" @click=\"downFile(showFileUrl)\">下载文件</el-button> -->\r\n </el-dialog>\r\n\t\t<!-- 修改文件名称 -->\r\n\t\t<el-dialog\r\n title=\"修改名称\"\r\n :visible.sync=\"dialogVisibleUpdateFile\"\r\n :append-to-body=\"true\"\r\n width=\"500px\"\r\n class=\"dialog_diy\"\r\n >\r\n <div\r\n style=\"\r\n width: 100%;\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n align-items: center;\r\n justify-content: center;\r\n \"\r\n >\r\n <div style=\"min-width: fit-content\">文件名称:</div>\r\n <el-input\r\n v-model=\"updateFile.fileName\"\r\n placeholder=\"请输入要修改的名称\"\r\n ></el-input>\r\n </div>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button @click=\"dialogVisibleUpdateFile = false\">取 消</el-button>\r\n <el-button type=\"primary\" @click=\"updateFileName\">确 定</el-button>\r\n </span>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n// import MakerSpaceWord from '../components/MakerSpaceWord.vue'\r\nimport getProjectNo from \"@/components/tool/getProjectNo\";\r\nimport { getNowDate } from \"@/components/tool/Date.js\";\r\nimport studentProjectWord from \"./components/studentProjectWord.vue\";\r\nimport vpdf from \"@/components/vpdf.vue\";\r\nimport vword from \"@/components/vword.vue\";\r\n// import markerFundWord from '@/components/markerFundWord.vue';\r\n// import markeractivityWord from '@/components/markeractivityWord.vue';\r\nexport default {\r\n components: {\r\n studentProjectWord,\r\n\t\tvpdf,\r\n\t\tvword\r\n // markerFundWord,\r\n // markeractivityWord\r\n },\r\n data() {\r\n return {\r\n accept: \"*\",\r\n loading: false,\r\n submitHint: false,\r\n\t\t\tupdatedWordDig: false, //立即修改对话框\r\n\t\t\tshowFile:false,// 展示文件弹窗\r\n\t\t\tdialogVisibleUpdateFile:false,//修改文件弹窗\r\n\t\t\tword: [\r\n \"DOC\",\r\n \"DOCX\",\r\n \"DOCM\",\r\n \"DOTM\",\r\n \"DOTX\",\r\n \"PPTX\",\r\n \"PPSX\",\r\n \"PPT\",\r\n \"PPS\",\r\n \"PPTM\",\r\n \"POTM\",\r\n \"PPAM\",\r\n \"POTX\",\r\n \"PPSM\",\r\n \"XLSX\",\r\n \"XLS\",\r\n ],\r\n pdf: [\"PDF\"],\r\n image: [\r\n \"BMP\",\r\n \"PJP\",\r\n \"APNG\",\r\n \"PNG\",\r\n \"JPG\",\r\n \"GIF\",\r\n \"SVG\",\r\n \"JPEG\",\r\n \"JPG\",\r\n \"ICO\",\r\n \"PGPEG\",\r\n \"AVIF\",\r\n ],\r\n vedio: [\r\n \"AVI\",\r\n \"NAVI\",\r\n \"MPEG\",\r\n \"ASF\",\r\n \"MOV\",\r\n \"WMV\",\r\n \"3GP\",\r\n \"RM\",\r\n \"RMVB\",\r\n \"FLV\",\r\n \"F4V\",\r\n \"H.264\",\r\n \"H.265\",\r\n \"REAL VIDEO\",\r\n \"MKV\",\r\n \"WebM\",\r\n \"HDDVD\",\r\n \"MP4\",\r\n \"MPG\",\r\n \"M4V\",\r\n \"MGV\",\r\n \"OGV\",\r\n \"QTM\",\r\n \"STR\",\r\n \"AMC\",\r\n \"DVX\",\r\n \"EVO\",\r\n \"DAT\",\r\n \"OGG\",\r\n \"OGM\",\r\n ],\r\n playerOptions: {\r\n playbackRates: [0.7, 1.0, 1.5, 2.0], //播放速度\r\n autoplay: false, //如果true,浏览器准备好时开始回放。\r\n muted: false, // 默认情况下将会消除任何音频。\r\n loop: false, // 导致视频一结束就重新开始。\r\n preload: \"auto\", // 建议浏览器在<video>加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)\r\n language: \"zh-CN\",\r\n aspectRatio: \"16:9\", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如\"16:9\"或\"4:3\")\r\n fluid: true, // 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。\r\n sources: [\r\n {\r\n type: \"video/mp4\", //这里的种类支持很多种:基本视频格式、直播、流媒体等,具体可以参看git网址项目 || \"video/ogg\"|| \"video/webm\"\r\n src: \"\", //url地址require(\"../../assets/media/aaa.mp4\")\r\n },\r\n ],\r\n // poster: require(\"../../assets/tu31.png\"), //你的封面地址\r\n // poster: dataRes.imgUrl, //你的封面地址\r\n notSupportedMessage: \"此视频暂无法播放,请稍后再试\", //允许覆盖Video.js无法播放媒体源时显示的默认信息。\r\n controlBar: {\r\n timeDivider: true, //当前时间和持续时间的分隔符\r\n durationDisplay: true, //显示持续时间\r\n remainingTimeDisplay: false, //是否显示剩余时间功能\r\n fullscreenToggle: true, //全屏按钮\r\n },\r\n },\r\n playerO: {},\r\n videoDetail: {},\r\n\t\t\tWordss:{},\r\n\t\t\tshowFileUrl:\"\",\r\n\t\t\tcanonical: {\r\n Image:\r\n /^https?:\\/\\/(.+\\/)+.+(\\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif))$/i,\r\n File: /^https?:\\/\\/(.+\\/)+.+(\\.(docx|xlsx|ppt|pdf))$/i,\r\n },\r\n\t\t\tupdateFile:{\r\n\t\t\t\turl:\"\",\r\n\t\t\t\tfileName:\"\"\r\n\t\t\t},\r\n wordData: {\r\n applicationDate: getNowDate(1), //申请日期\r\n projectName: \"\",\r\n radio: \"\",\r\n checkList: [],\r\n schoolRadio: [],\r\n applyParsonRadio: [],\r\n applyParsonName: \"\",\r\n college: \"\",\r\n tel: \"\",\r\n beginTime: \"\",\r\n endTime: \"\",\r\n studentS: [\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" }\r\n\t\t\t\t],\r\n teacherS: [\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" },\r\n\t\t\t\t\t{ name: \"\", collage: \"\", work: \"\" }\r\n\t\t\t\t],\r\n brief: \"\",\r\n introduce: {\r\n back: \"\",\r\n innovate: \"\",\r\n path: \"\",\r\n scene: \"\",\r\n worth: \"\",\r\n team: \"\",\r\n cost: \"\",\r\n expectResults: \"\",\r\n expectResultsTeacher: \"\",\r\n expectConversion: \"\",\r\n plan: \"\",\r\n },\r\n\t\t\t\tattachment:[],\r\n total: \"\",\r\n fund: {\r\n device: \"\",\r\n Material: \"\",\r\n processing: \"\",\r\n Collaboration: \"\",\r\n APPRAISAL: \"\",\r\n entery: \"\",\r\n activities: \"\",\r\n Transaction: \"\",\r\n },\r\n\t\t\t\topinion:[],\r\n },\r\n };\r\n },\r\n computed: {\r\n reversedMessage: function () {\r\n return (\r\n this.wordData.fund.device * 1 +\r\n this.wordData.fund.Material * 1 +\r\n this.wordData.fund.processing * 1 +\r\n this.wordData.fund.Collaboration * 1 +\r\n this.wordData.fund.APPRAISAL * 1 +\r\n this.wordData.fund.entery * 1 +\r\n this.wordData.fund.activities * 1 +\r\n this.wordData.fund.Transaction * 1\r\n );\r\n },\r\n },\r\n methods: {\r\n test() {\r\n //验证\r\n const cEmpty = /^\\s*$/g;\r\n for (let i in this.wordData) {\r\n // console.log(this.wordData[i],i);\r\n switch (i) {\r\n case \"projectName\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请输入项目名称\");\r\n // this.$refs.projectName.style.background='rgb(236, 141, 141)'\r\n // setTimeout(() => {\r\n // this.$refs.projectName.style.background='#ffffff'\r\n // }, 2000);\r\n document\r\n .querySelector(\"#projectName\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n case \"radio\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请选择项目分组\");\r\n document\r\n .querySelector(\"#radio\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n // case \"checkList\":\r\n // if (this.wordData[i].length == 0) {\r\n // this.$message.error(\"优先支持项目\");\r\n // document\r\n // .querySelector(\"#checkList\")\r\n // .scrollIntoView({ behavior: \"smooth\" });\r\n // return false;\r\n // }\r\n // break;\r\n // case \"schoolRadio\":\r\n // if (this.wordData[i].length == 0) {\r\n // this.$message.error(\"请选择美丽校园改造项目\");\r\n // document\r\n // .querySelector(\"#schoolRadio\")\r\n // .scrollIntoView({ behavior: \"smooth\" });\r\n // return false;\r\n // }\r\n // break;\r\n // case \"applyParsonRadio\":\r\n // if (this.wordData[i].length == 0) {\r\n // this.$message.error(\"请选择项目申请人\");\r\n // document\r\n // .querySelector(\"#applyParsonRadio\")\r\n // .scrollIntoView({ behavior: \"smooth\" });\r\n // return false;\r\n // }\r\n // break;\r\n case \"applyParsonName\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请填写申请人姓名\");\r\n document\r\n .querySelector(\"#applyParsonName\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n case \"college\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请选择所在学院\");\r\n document\r\n .querySelector(\"#applyParsonName\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n case \"tel\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请填写联系方式\");\r\n document\r\n .querySelector(\"#applyParsonName\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n case \"beginTime\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请选择项目起始时间\");\r\n document\r\n .querySelector(\"#beginTime\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n case \"endTime\":\r\n if (cEmpty.test(this.wordData[i])) {\r\n this.$message.error(\"请选择计划完成时间\");\r\n document\r\n .querySelector(\"#beginTime\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return false;\r\n }\r\n break;\r\n // case \"studentS\":\r\n // let snum = 0;\r\n // this.wordData[i].forEach((item) => {\r\n // if (cEmpty.test(item[\"name\"])) snum++;\r\n // for(let j in item){\r\n // if(cEmpty.test(item[j])){\r\n // snum++;\r\n // }\r\n // }\r\n // });\r\n // if (snum > 0) {\r\n // this.$message.error(\"学生姓名请不要留空\");\r\n // document\r\n // .querySelector(\"#studentS\")\r\n // .scrollIntoView({ behavior: \"smooth\" });\r\n // return false;\r\n // }\r\n // }\r\n // break;\r\n // case \"teacherS\":\r\n // let num = 0;\r\n // this.wordData[i].forEach((item) => {\r\n // if (cEmpty.test(item[\"name\"])) num++;\r\n // for(let j in item){\r\n // if(cEmpty.test(item[j])){\r\n // num++;\r\n // }\r\n // }\r\n // });\r\n // if (num > 0) {\r\n // this.$message.error(\"老师姓名请不要留空\");\r\n // document\r\n // .querySelector(\"#teacherS\")\r\n // .scrollIntoView({ behavior: \"smooth\" });\r\n // return false;\r\n // }\r\n // break;\r\n // case \"brief\":\r\n // if (this.wordData[i].length > 300 || this.wordData[i].length == 0) {\r\n // this.$message.error(\"请填写项目简介,字数在300字以内\");\r\n // document\r\n // .querySelector(\"#brief\")\r\n // .scrollIntoView({ behavior: \"smooth\" });\r\n // return false;\r\n // }\r\n // break;\r\n case \"fund\":\r\n // device:\"\",\r\n // Material:\"\",\r\n // processing:\"\",\r\n // Collaboration:\"\",\r\n // APPRAISAL:\"\",\r\n // entery:\"\",\r\n // activities:\"\",\r\n // Transaction:\"\",\r\n // let mon=this.wordData.fund.device*1 + this.wordData.fund.Material*1+this.wordData.fund.processing*1+ this.wordData.fund.Collaboration*1+this.wordData.fund.APPRAISAL*1+ this.wordData.fund.match*1+this.wordData.fund.activity*1+this.wordData.fund.affair*1\r\n let mon = 0;\r\n for (let k in this.wordData.fund) {\r\n mon += this.wordData.fund[k] * 1;\r\n }\r\n // console.log(mon);\r\n if (mon == 0) {\r\n document\r\n .querySelector(\"#fund\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n return this.$message.error(\"请输入经费\");\r\n }\r\n break;\r\n }\r\n }\r\n this.wordData[\"total\"] =\r\n this.wordData.fund.device * 1 +\r\n this.wordData.fund.Material * 1 +\r\n this.wordData.fund.processing * 1 +\r\n this.wordData.fund.Collaboration * 1 +\r\n this.wordData.fund.APPRAISAL * 1 +\r\n this.wordData.fund.entery * 1 +\r\n this.wordData.fund.activities * 1 +\r\n this.wordData.fund.Transaction * 1;\r\n\r\n this.submitHint = true;\r\n },\r\n\r\n submitWord() {\r\n //提交\r\n // return console.log(this.wordData['total']);\r\n\t\t\tlet typeList = {\r\n\t\t\t\t\"4a4e2cfe-e1a1-11ee-81d4-00ff5c7a43f5\":\"CX\",\r\n\t\t\t\t\"56f0ad8d-e1a1-11ee-81d4-00ff5c7a43f5\":\"CY\",\r\n\t\t\t\t\"ed917c55-f51d-11ed-a3f6-509a4c5b67cf\":\"SJ\",\r\n\t\t\t\t\"1\":\"XM\"\r\n\t\t\t}\r\n getProjectNo(typeList[this.wordData[\"radio\"]]).then((result) => {\r\n let pram = {\r\n uid: this.$store.state.userInfo.userid, //用户ID\r\n pNo: result, //项目编号\r\n tid: \"5e21b204-c206-11ed-a4cd-509a4c5b67cf\", //特色创客空间建设项目分类ID\r\n tit: encodeURIComponent(this.wordData[\"projectName\"]), //项目名称\r\n radio: this.wordData[\"radio\"], //项目分组\r\n checkList: encodeURIComponent(JSON.stringify(this.wordData[\"checkList\"])), //优先支持项目\r\n schoolRadio: encodeURIComponent(JSON.stringify(this.wordData[\"schoolRadio\"])), //美丽校园改造项目\r\n applyParsonRadio: encodeURIComponent(JSON.stringify(this.wordData[\"applyParsonRadio\"])), //项 目 申 请 人\r\n applyParsonName: encodeURIComponent(this.wordData[\"applyParsonName\"]), //申请人姓名\r\n cid: this.wordData[\"college\"], //学院ID,\r\n tel: this.wordData[\"tel\"], //联系电话\r\n beh: this.wordData[\"beginTime\"], //项目开始时间,\r\n planEnd: this.wordData[\"endTime\"], //计划完成时间,\r\n cs: encodeURIComponent(JSON.stringify(this.wordData[\"studentS\"])), //学生组,\r\n ct: encodeURIComponent(JSON.stringify(this.wordData[\"teacherS\"])), //教师组,\r\n bf: encodeURIComponent(this.wordData[\"brief\"]), //项目简介\r\n introduce: encodeURIComponent(JSON.stringify(this.wordData[\"introduce\"])), //项目详细\r\n mon: encodeURIComponent(JSON.stringify(this.wordData[\"fund\"])), //预算经费\r\n f: this.wordData[\"total\"], //总经费\r\n apply: this.wordData[\"applicationDate\"], //申请日期\r\n mem:this.wordData[\"studentS\"].filter(i=>i.name!='').length + this.wordData[\"teacherS\"].filter(i=>i.name!='').length, //项目组人数\r\n\t\t\t\t\tattachment:encodeURIComponent(JSON.stringify(this.wordData[\"attachment\"])),//附件上传\r\n };\r\n this.ajax\r\n .post(this.$store.state.api + \"/studentProjectWordApply\", pram)\r\n .then(\r\n async (result) => {\r\n console.log(result);\r\n if (result[\"data\"] == 1) {\r\n this.$message.success(\"项目提交成功\");\r\n //提交项目成功,查看sessionStore是否有数据,有则删\r\n\t\t\t\t\t\t\t\t// localStorage.removeItem(`StudentProjectApplyData${this.$store.state.userInfo.userid}`);\r\n await this.ajax.post(this.$store.state.api+\"/delDraft\",{userid:this.$store.state.userInfo.userid,type:0})\r\n\t\t\t\t\t\t\t\tthis.submitHint = false;\r\n\t\t\t\t\t\t\t\tthis.$destroy();\r\n this.$router.push(\"/projectApplication\");\r\n\t\t\t\t\t\t\t\t\r\n } else {\r\n this.$message.error(\"项目提交失败\");\r\n\t\t\t\t\t\t\t\tthis.submitHint = false\r\n }\r\n },\r\n (err) => {\r\n console.log(err);\r\n }\r\n )\r\n .catch((err) => {\r\n console.log(err);\r\n });\r\n });\r\n },\r\n saveData() {\r\n // localStorage.setItem(\r\n // `StudentProjectApplyData${this.$store.state.userInfo.userid}`,\r\n // JSON.stringify(this.wordData)\r\n // );\r\n },\r\n\t\t// 保存草稿\r\n\t\tsaveDraft(){\r\n\t\t\tif(this.loading)return this.$message.info('请稍等...');\r\n\t\t\tthis.loading = true;\r\n\t\t\tlet params = {\r\n\t\t\t\tuserid:this.$store.state.userInfo.userid,\r\n\t\t\t\ttype:0,\r\n\t\t\t\tjsonData:encodeURIComponent(JSON.stringify(this.wordData))\r\n\t\t\t}\r\n\t\t\tthis.ajax.post(this.$store.state.api + \"/saveDraft\",params).then(res=>{\r\n\t\t\t\tif(res.data==1){\r\n\t\t\t\t\tthis.$message.success(\"保存成功\")\r\n\t\t\t\t}else{\r\n\t\t\t\t\tthis.$message.error(\"保存失败\")\r\n\t\t\t\t}\r\n\t\t\t\tthis.loading = false;\r\n\t\t\t})\r\n\t\t},\r\n\t\t//获取草稿\r\n\t\tgetDraft(){\r\n\t\t\tif(this.loading)return this.$message.info('请稍等...');\r\n\t\t\tthis.loading = true;\r\n\t\t\tlet params = {\r\n\t\t\t\tuserid:this.$store.state.userInfo.userid,\r\n\t\t\t\ttype:0,\r\n\t\t\t}\r\n\t\t\tthis.ajax.get(this.$store.state.api + \"/getDraft\",params).then(res=>{\r\n\t\t\t\tif(res.data[0].length){\r\n\t\t\t\t\tthis.wordData = JSON.parse(res.data[0][0].json)\r\n\t\t\t\t// }else{\r\n\t\t\t\t// \tif (localStorage.getItem(`StudentProjectApplyData${this.$store.state.userInfo.userid}`)){\r\n\t\t\t\t// \t\tthis.wordData = JSON.parse(\r\n \t// \t\t localStorage.getItem(`StudentProjectApplyData${this.$store.state.userInfo.userid}`)\r\n \t// \t\t);\r\n\t\t\t\t// \t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.loading = false;\r\n\t\t\t})\r\n\t\t},\r\n\t\t//上传附件\r\n\t\tfileOption2(file,index,opt){\r\n\t\t\tif(opt=='0'){\r\n\t\t\t\tthis.checkFile(file.url)\r\n\t\t\t}else if(opt=='1'){\r\n\t\t\t\tif(index==0)return;\r\n\t\t\t\tthis.wordData.attachment.splice(index-1,0,this.wordData.attachment.splice(index,1)[0]);\r\n\t\t\t}else if(opt=='2'){\r\n\t\t\t\tif(index==this.wordData.attachment.length-1)return;\r\n\t\t\t\tthis.wordData.attachment.splice(index+1,0,this.wordData.attachment.splice(index,1)[0]);\r\n\t\t\t}else if(opt=='3'){\r\n\t\t\t\tthis.updateFile = {...file,index:index}\r\n\t\t\t\tthis.dialogVisibleUpdateFile = true;\r\n\t\t\t\t\r\n\t\t\t}else if(opt=='4'){\r\n\t\t\t\tthis.$confirm(\"确定删除该文件?\",\"提示\",{\r\n\t\t\t\t\ttype:\"error\",\r\n\t\t\t\t\tconfirmButtonText:\"确定删除\",\r\n\t\t\t\t\tcancelButtonText:\"取消\",\r\n\t\t\t\t}).then(_=>{\r\n\t\t\t\t\tthis.wordData.attachment.splice(index,1);\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 上传专家文件\r\n\t\tgetFile2(file){\r\n\t\t\tthis.wordData.attachment.push(file);\r\n\t\t},\r\n\t\t// 展示文件\r\n\t\tcheckFile(url) {\r\n this.videoDetail = {};\r\n if (\r\n this.vedio.indexOf(\r\n url.split(\".\")[url.split(\".\").length - 1].toLocaleUpperCase()\r\n ) != -1\r\n ) {\r\n this.playerOptions.sources[0].src = url;\r\n this.videoDetail = this.playerOptions;\r\n this.showFile = true;\r\n } else {\r\n if (\r\n this.word.indexOf(\r\n url.split(\".\")[url.split(\".\").length - 1].toLocaleUpperCase()\r\n ) == -1 &&\r\n this.pdf.indexOf(\r\n url.split(\".\")[url.split(\".\").length - 1].toLocaleUpperCase()\r\n ) == -1 &&\r\n this.image.indexOf(\r\n url.split(\".\")[url.split(\".\").length - 1].toLocaleUpperCase()\r\n ) == -1\r\n ) {\r\n this.downFile(url);\r\n return;\r\n }\r\n this.showFileUrl = url;\r\n this.showFile = true;\r\n if (typeof url == \"undefined\") return { type: \"\", name: \"\" };\r\n let urlSplit = url.split(\".\");\r\n const type = urlSplit[urlSplit.length - 1];\r\n if (this.canonical.Image.test(url)) {\r\n this.Wordss = { type: type, name: \"图片\" };\r\n return console.log(this.Wordss);\r\n }\r\n if (this.canonical.File.test(url)) {\r\n this.Wordss = { type: type, name: \"文档\" };\r\n return console.log(this.Wordss);\r\n }\r\n if (this.canonical.vedio.test(url)) {\r\n this.Wordss = { type: type, name: \"视频\" };\r\n return console.log(this.Wordss);\r\n } else return (this.Wordss = { type: type, name: type });\r\n }\r\n },\r\n\t\t// 修改文件名称\r\n\t\tupdateFileName(){\r\n\t\t\tif(!this.updateFile.fileName)return this.$message.error(\"请输入文件名称\");\r\n\t\t\tthis.wordData.attachment[this.updateFile.index].fileName = this.updateFile.fileName;\r\n\t\t\tthis.dialogVisibleUpdateFile = false;\r\n\t\t},\r\n\t\t//下载文件\r\n downFile(f) {\r\n var credentials = {\r\n accessKeyId: \"AKIATLPEDU37QV5CHLMH\",\r\n secretAccessKey: \"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\",\r\n }; //秘钥形式的登录上传\r\n window.AWS.config.update(credentials);\r\n window.AWS.config.region = \"cn-northwest-1\"; //设置区域\r\n let url2 = f;\r\n let _url2 = \"\";\r\n if (\r\n url2.indexOf(\"https://view.officeapps.live.com/op/view.aspx?src=\") != -1\r\n ) {\r\n _url2 = url2.split(\r\n \"https://view.officeapps.live.com/op/view.aspx?src=\"\r\n )[1];\r\n } else {\r\n _url2 = url2;\r\n }\r\n var s3 = new window.AWS.S3({ params: { Bucket: \"ccrb\" } });\r\n let name = decodeURIComponent(\r\n _url2.split(\"https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/\")[1]\r\n );\r\n var params = {\r\n Bucket: \"ccrb\",\r\n Key: name,\r\n };\r\n s3.getObject(params, function (err, data) {\r\n if (err) console.log(err, err.stack); // an error occurred\r\n else {\r\n let url = window.URL.createObjectURL(new Blob([data.Body]));\r\n let a = document.createElement(\"a\");\r\n a.name = name;\r\n a.href = url;\r\n a.download = name;\r\n a.click();\r\n console.log(data);\r\n } // sxuccessful response\r\n });\r\n\r\n return;\r\n },\r\n },\r\n mounted() {\r\n\t\tthis.getDraft();\r\n window.addEventListener(\"beforeunload\", () => this.saveData());\r\n },\r\n\r\n beforeRouteLeave(to, from, next) {\r\n //判断,如果还没提交然后切换页面了,则把数据存到sessionStore里;\r\n if (!this.submitHint) this.saveData();\r\n next();\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"less\" scoped></style>\r\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./newStudentProjectApply.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./newStudentProjectApply.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./newStudentProjectApply.vue?vue&type=template&id=3be9ef60&scoped=true\"\nimport script from \"./newStudentProjectApply.vue?vue&type=script&lang=js\"\nexport * from \"./newStudentProjectApply.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3be9ef60\",\n null\n \n)\n\nexport default component.exports","import ajax from '@/api/userApi'\r\nimport store from '@/config/config' //vuex\r\n\r\nconst TYPE_NO = {\r\n \"XM\":\"/getProjectNo\",\r\n\t\t\"CX\":\"/getProjectNo\",\r\n\t\t\"CY\":\"/getProjectNo\",\r\n\t\t\"SJ\":\"/getProjectNo\",\r\n \"HD\":\"/getActivityNo\",\r\n 'ZJ':\"/getFundNo\",\r\n}\r\n\r\nexport default function getProjectNo(str=\"XM\"){\r\n return new Promise((resolve,reject)=>{\r\n ajax.get(store.state.api+TYPE_NO[str],{\r\n uid:store.state.userInfo.userid,\r\n\t\t\t\t\t\ttype:str\r\n }).then(res=>{\r\n console.log(res['data'])\r\n if(res['data'][0].length==0||res['data'][0][0]['No']==null)return resolve(`${str}0000001`)\r\n let LastNo = res['data'][0][0]['No']\r\n let number = parseInt(LastNo.slice(-7));\r\n let newNumber = number+1;\r\n let newNo = `${str}${newNumber.toString().padStart(7,\"0\")}`;\r\n resolve(newNo);\r\n })\r\n })\r\n}"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","loading","expression","_m","ref","attrs","wordData","reversedMessage","on","fileOption2","getFile2","staticStyle","saveDraft","_v","test","staticClass","submitHint","$event","_s","slot","submitWord","showFile","videoDetail","sources","onPlayerPlay","Wordss","showFileUrl","_e","dialogVisibleUpdateFile","model","updateFile","fileName","callback","$$v","$set","updateFileName","staticRenderFns","components","studentProjectWord","vpdf","vword","data","accept","updatedWordDig","word","pdf","image","vedio","playerOptions","playbackRates","autoplay","muted","loop","preload","language","aspectRatio","fluid","type","src","notSupportedMessage","controlBar","timeDivider","durationDisplay","remainingTimeDisplay","fullscreenToggle","playerO","canonical","Image","File","url","applicationDate","getNowDate","projectName","radio","checkList","schoolRadio","applyParsonRadio","applyParsonName","college","tel","beginTime","endTime","studentS","collage","work","teacherS","brief","introduce","back","innovate","path","scene","worth","team","cost","expectResults","expectResultsTeacher","expectConversion","plan","attachment","total","fund","device","Material","processing","Collaboration","APPRAISAL","entery","activities","Transaction","opinion","computed","methods","cEmpty","i","$message","error","document","querySelector","scrollIntoView","behavior","mon","k","typeList","getProjectNo","then","result","pram","uid","$store","state","userInfo","userid","pNo","tid","tit","encodeURIComponent","JSON","stringify","cid","beh","planEnd","cs","ct","bf","f","apply","mem","filter","length","ajax","post","api","console","log","success","$destroy","$router","push","err","catch","saveData","info","params","jsonData","res","getDraft","get","parse","json","file","index","opt","checkFile","splice","$confirm","confirmButtonText","cancelButtonText","_","indexOf","split","toLocaleUpperCase","downFile","urlSplit","credentials","accessKeyId","secretAccessKey","window","AWS","config","update","region","url2","_url2","s3","S3","Bucket","decodeURIComponent","Key","getObject","stack","URL","createObjectURL","Blob","Body","a","createElement","href","download","click","mounted","addEventListener","beforeRouteLeave","to","from","next","component","TYPE_NO","str","Promise","resolve","reject","store","LastNo","number","parseInt","slice","newNumber","newNo","toString","padStart"],"sourceRoot":""}
|