\r\n\r\n\r\n\r\n\r\n\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":""}