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6C,KAAAK,UACA,OAAAlD,SAAA6C,KAAAM,OACA,OAAAnD,SAAA6C,KAAAO,WACA,OAAApD,SAAA6C,KAAAQ,WAEA,GAEAiE,UAQA,KAAAL,WACAM,OAAAC,iBAAA,yBAAAZ,YAEA,EAEAa,iBAAAC,EAAAC,EAAAC,GAEA,KAAApH,YAAA,KAAAoG,WACAgB,GACA,GC5bqS,I,WCQjSC,GAAY,OACd,EACA1I,EACA0B,GACA,EACA,KACA,KACA,MAIF,EAAegH,EAAiB,O,kFChBhC,MAAMC,EAAU,CACZ,GAAK,gBACP,GAAK,gBACL,GAAK,gBACL,GAAK,gBACH,GAAK,iBACL,GAAK,cAGM,SAAS3D,EAAa4D,EAAI,MACrC,OAAO,IAAIC,SAAQ,CAACC,EAAQC,KACxBlC,EAAAA,EAAAA,IAASmC,EAAAA,EAAAA,MAAAA,IAAgBL,EAAQC,GAAK,CAClCxD,IAAI4D,EAAAA,EAAAA,MAAAA,SAAAA,OACV5B,KAAKwB,IACA3D,MAAK4C,IAEJ,GADA/C,QAAQC,IAAI8C,EAAI,SACU,GAAvBA,EAAI,QAAQ,GAAGhD,QAAoC,MAAzBgD,EAAI,QAAQ,GAAG,GAAG,MAAY,OAAOiB,EAAS,GAAEF,YAC7E,IAAIK,EAASpB,EAAI,QAAQ,GAAG,GAAG,MAC3BqB,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/MakerSpaceApply.vue","webpack://scproject/src/views/projectApply/MakerSpaceApply.vue","webpack://scproject/./src/views/projectApply/MakerSpaceApply.vue?f3e9","webpack://scproject/./src/views/projectApply/MakerSpaceApply.vue?ac0f","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\"}],attrs:{\"id\":\"MakerSpaceApply\"}},[_vm._m(0),_c('hr'),_c('MakerSpaceWord',{attrs:{\"wordData\":_vm.wordData,\"reversedMessage\":_vm.reversedMessage}}),_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.applyProject}},[_vm._v(\"确认提交\")]),_c('el-button',{staticClass:\"AllDialogBtn\",on:{\"click\":function($event){_vm.submitHint = false}}},[_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 }","\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!./MakerSpaceApply.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!./MakerSpaceApply.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MakerSpaceApply.vue?vue&type=template&id=a3595346\"\nimport script from \"./MakerSpaceApply.vue?vue&type=script&lang=js\"\nexport * from \"./MakerSpaceApply.vue?vue&type=script&lang=js\"\nimport style0 from \"./MakerSpaceApply.vue?vue&type=style&index=0&id=a3595346&prod&lang=less\"\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 null,\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","attrs","_m","wordData","reversedMessage","staticStyle","on","saveDraft","_v","test","staticClass","submitHint","$event","_s","slot","applyProject","staticRenderFns","components","MakerSpaceWord","data","applicationDate","getNowDate","projectName","college","begin_at","state","plannedEnd_at","pro_leader","lead_leader","teacher","speciality","title","education","section","work","student","class","age","brief","Construction","ProjectBasis","development","studio","studentTeam","studentActivities","Transforming","condition","total","fund","device","Material","processing","Collaboration","APPRAISAL","entery","activities","Transaction","methods","cEmpty","i","$message","error","document","querySelector","scrollIntoView","behavior","sum","length","console","log","getProjectNo","then","result","pram","uid","$store","userInfo","userid","pNo","tit","encodeURIComponent","bf","pLeader","lLeader","cid","ct","JSON","stringify","cs","f","chp","tid","tName","mon","planEnd","beh","apply","members","filter","ajax","post","api","success","localStorage","getItem","removeItem","type","$router","push","catch","err","saveData","setItem","params","jsonData","res","getDraft","get","parse","json","computed","mounted","window","addEventListener","beforeRouteLeave","to","from","next","component","TYPE_NO","str","Promise","resolve","reject","store","LastNo","number","parseInt","slice","newNumber","newNo","toString","padStart"],"sourceRoot":""}