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AWC,SAAS,EAAE,OACrDV,EAAQQ,EAAM,GAChB,GAEV,C","sources":["webpack://scproject/./src/views/activityManage/newMarkerActivity.vue","webpack://scproject/src/views/activityManage/newMarkerActivity.vue","webpack://scproject/./src/views/activityManage/newMarkerActivity.vue?0cc1","webpack://scproject/./src/views/activityManage/newMarkerActivity.vue?b313","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\":\"MakerActivityWord\"}},[_vm._m(0),_c('hr'),_c('markeractivityWord',{attrs:{\"wordData\":_vm.wordData,\"total\":_vm.total}}),_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[\"activityName\"])+\"”创客活动吗? \")]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{staticClass:\"AllDialogBtn\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.applyActivity}},[_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!./newMarkerActivity.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!./newMarkerActivity.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./newMarkerActivity.vue?vue&type=template&id=07eb3b45&scoped=true\"\nimport script from \"./newMarkerActivity.vue?vue&type=script&lang=js\"\nexport * from \"./newMarkerActivity.vue?vue&type=script&lang=js\"\nimport style0 from \"./newMarkerActivity.vue?vue&type=style&index=0&id=07eb3b45&prod&lang=less&scoped=true\"\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 \"07eb3b45\",\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","total","staticStyle","on","saveDraft","_v","test","staticClass","submitHint","$event","_s","slot","applyActivity","staticRenderFns","components","markeractivityWord","data","applicationDate","getNowDate","associatedProjects","activityName","pro_leader","college","tel","activityTime","student","member","collage","work","activityPlan","expectations","eventAudience","fundingPlan","expenditureMothPlan","fund","device","Material","processing","Collaboration","APPRAISAL","entery","activities","Transaction","computed","num","i","Number","methods","cEmpty","checkPhone","$message","error","document","querySelector","scrollIntoView","behavior","length","console","log","getProjectNo","then","result","pram","uid","$store","state","userInfo","userid","aNo","tit","courseId","pLeader","mon","st","ct","JSON","stringify","chp","cid","ph","beg","f","appltTime","mp","t","ajax","post","api","success","localStorage","getItem","removeItem","type","$router","push","catch","err","saveData","setItem","info","params","jsonData","encodeURIComponent","res","getDraft","get","parse","json","mounted","window","addEventListener","activated","destroyed","removeEventListener","e","beforeRouteLeave","to","from","next","component","TYPE_NO","str","Promise","resolve","reject","store","LastNo","number","parseInt","slice","newNumber","newNo","toString","padStart"],"sourceRoot":""}