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,MAAApC,EAAA,GAAAuC,qBAEAvC,EAAA,GAAAwC,UAAAxC,EAAA,GAAAwC,UAAAC,QAAAzC,EAAA,GAAA0C,WAEA1C,EAAA,GAAA2C,MAAAR,KAAAC,MAAApC,EAAA,GAAA2C,OACA3C,EAAA,GAAA4C,qBAAA5C,EAAA,GAAA4C,qBACAT,KAAAC,MAAApC,EAAA,GAAA4C,sBACA,KAAAzC,WACA,MAAAH,EAAA,GAAA6C,UACA7C,EAAA,GAAA6C,QAAAV,KAAAC,MAAApC,EAAA,GAAA6C,UAEA7C,EAAA,GAAA8C,UAAAd,EAEA,KAAA1C,YAAAU,EACA+C,QAAAC,IAAA,YAGAC,OAAAC,IACAH,QAAAC,IAAAE,EAAA,GAEA,EACAC,UACA,KAAAvD,WAAA,EACA,KAAAwD,eACAC,YAAA,MACAC,EAAAA,EAAAA,GACA,KAAAC,MAAAC,SAAAD,MAAAE,QACA,KAAAnE,YAAA,GAAAoE,MAAA,OAEAL,YAAA,KACA,KAAAzD,WAAA,EACA,KAAAwD,cAAA,GACA,OACA,IACA,GAGAO,UAGA,KAAAvC,UACA,GCzHgT,I,WCO5SwC,GAAY,OACd,EACA5E,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAe+D,EAAiB,O","sources":["webpack://scproject/./src/views/projectManage/components/Closingstatement1.vue","webpack://scproject/src/views/projectManage/components/Closingstatement1.vue","webpack://scproject/./src/views/projectManage/components/Closingstatement1.vue?4622","webpack://scproject/./src/views/projectManage/components/Closingstatement1.vue?29c0"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('Closingstatement',{key:_vm.myArrayProp.toString(),ref:\"finalClo\",staticStyle:{\"background\":\"#fff\"},attrs:{\"myArrayProp2\":_vm.myArrayProp,\"iid\":_vm.iid,\"isDownPdf\":_vm.isDownPdf}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <Closingstatement\r\n style=\"background: #fff\"\r\n ref=\"finalClo\"\r\n :myArrayProp2=\"myArrayProp\"\r\n :iid=\"iid\"\r\n :isDownPdf=\"isDownPdf\"\r\n :key=\"myArrayProp.toString()\"\r\n ></Closingstatement>\r\n<!-- \r\n <div\r\n slot=\"footer\"\r\n class=\"dialog-footer\"\r\n style=\"display: flex; justify-content: center\"\r\n >\r\n <el-button type=\"primary\" @click=\"getWord\" class=\"AllDialogBtn\"\r\n >下载表格</el-button\r\n >\r\n </div> -->\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Closingstatement from \"../components/Closingstatement.vue\";\r\n//下载pdf\r\nimport { downloadPDF } from \"@/components/tool/pdf\";\r\nexport default {\r\n components: { Closingstatement },\r\n data() {\r\n return {\r\n myArrayProp: [], //结项书-后端获取的数据\r\n iid: this.$route.query.iid,\r\n isDownPdf: true,\r\n submitData: {\r\n //结项书要填写的数据\r\n brief: \"\",\r\n plan: \"\",\r\n technology: \"\",\r\n business: \"\",\r\n innovate: \"\",\r\n resultAccessory: [],\r\n firmAccessory: [],\r\n competitionAccessory: [],\r\n exchangeAccessory: [],\r\n conversionAccessory: [],\r\n talentsAccessory: [],\r\n targetPlan: \"\",\r\n realityResult: \"\",\r\n socialValue: \"\",\r\n taskAccessory: [],\r\n },\r\n };\r\n },\r\n methods: {\r\n getPrice() {\r\n this.ajax\r\n .get(this.$store.state.api + \"/getClosingstatementData\", {\r\n uid: this.$store.state.userInfo.userid,\r\n pid: this.iid,\r\n })\r\n .then((res) => {\r\n let num = 0;\r\n res.data[1].forEach((i) => {\r\n //计算出已经使用过的金钱\r\n // console.log(i);\r\n i[\"actualuse\"] = JSON.parse(i[\"actualuse\"]);\r\n for (let key in i[\"actualuse\"]) {\r\n if (i[\"actualuse\"][key]) {\r\n num = i[\"actualuse\"][key] * 1 + num;\r\n }\r\n }\r\n });\r\n // console.log(num);\r\n\r\n let data = res.data[0];\r\n\r\n data[0].course_student = JSON.parse(data[0].course_student);\r\n data[0].course_teacher = JSON.parse(data[0].course_teacher);\r\n if (data[0].multiSelectProject != null) {\r\n data[0].multiSelectProject = JSON.parse(data[0].multiSelectProject);\r\n }\r\n\t\t\t\t\tdata[0].promotion = data[0].promotion.indexOf(data[0].ProjectNo);\r\n\r\n data[0].money = JSON.parse(data[0].money);\r\n data[0].ClosingstatementData = data[0].ClosingstatementData\r\n ? JSON.parse(data[0].ClosingstatementData)\r\n : this.submitData;\r\n if (data[0].opinion != null) {\r\n data[0].opinion = JSON.parse(data[0].opinion);\r\n }\r\n data[0].actualuse = num; //添加已经使用过的经费\r\n\r\n this.myArrayProp = data;\r\n console.log('11111');\r\n // console.log(this.myArrayProp);\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n });\r\n },\r\n getWord() {\r\n this.isDownPdf = true;\r\n this.$forceUpdate();\r\n setTimeout(() => {\r\n downloadPDF(\r\n this.$refs.finalClo.$refs.downPDF,\r\n this.myArrayProp[0].title + \"申报书\"\r\n );\r\n setTimeout(() => {\r\n this.isDownPdf = false;\r\n this.$forceUpdate();\r\n }, 500);\r\n }, 500);\r\n },\r\n },\r\n\r\n mounted() {\r\n // console.log(this.myArrayProp);\r\n // this.getData();\r\n this.getPrice();\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n</style>","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!./Closingstatement1.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!./Closingstatement1.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Closingstatement1.vue?vue&type=template&id=7ea81c3e&scoped=true\"\nimport script from \"./Closingstatement1.vue?vue&type=script&lang=js\"\nexport * from \"./Closingstatement1.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 \"7ea81c3e\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","key","myArrayProp","toString","ref","staticStyle","attrs","iid","isDownPdf","staticRenderFns","components","Closingstatement","data","$route","query","submitData","brief","plan","technology","business","innovate","resultAccessory","firmAccessory","competitionAccessory","exchangeAccessory","conversionAccessory","talentsAccessory","targetPlan","realityResult","socialValue","taskAccessory","methods","getPrice","ajax","get","$store","state","api","uid","userInfo","userid","pid","then","res","num","forEach","i","JSON","parse","course_student","course_teacher","multiSelectProject","promotion","indexOf","ProjectNo","money","ClosingstatementData","opinion","actualuse","console","log","catch","err","getWord","$forceUpdate","setTimeout","downloadPDF","$refs","finalClo","downPDF","title","mounted","component"],"sourceRoot":""}