"use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[2926],{78505:function(t,e,s){s.r(e),s.d(e,{default:function(){return p}});var o=function(){var t=this,e=t._self._c;return e("div",[e("Closingstatement",{key:t.myArrayProp.toString(),ref:"finalClo",staticStyle:{background:"#fff"},attrs:{myArrayProp2:t.myArrayProp,iid:t.iid,isDownPdf:t.isDownPdf}})],1)},r=[],a=s(41275),i=s(53003),n={components:{Closingstatement:a.Z},data(){return{myArrayProp:[],iid:this.$route.query.iid,isDownPdf:!0,submitData:{brief:"",plan:"",technology:"",business:"",innovate:"",resultAccessory:[],firmAccessory:[],competitionAccessory:[],exchangeAccessory:[],conversionAccessory:[],talentsAccessory:[],targetPlan:"",realityResult:"",socialValue:"",taskAccessory:[]}}},methods:{getPrice(){this.ajax.get(this.$store.state.api+"/getClosingstatementData",{uid:this.$store.state.userInfo.userid,pid:this.iid}).then((t=>{let e=0;t.data[1].forEach((t=>{t["actualuse"]=JSON.parse(t["actualuse"]);for(let s in t["actualuse"])t["actualuse"][s]&&(e=1*t["actualuse"][s]+e)}));let s=t.data[0];s[0].course_student=JSON.parse(s[0].course_student),s[0].course_teacher=JSON.parse(s[0].course_teacher),null!=s[0].multiSelectProject&&(s[0].multiSelectProject=JSON.parse(s[0].multiSelectProject)),s[0].promotion=s[0].promotion.indexOf(s[0].ProjectNo),s[0].money=JSON.parse(s[0].money),s[0].ClosingstatementData=s[0].ClosingstatementData?JSON.parse(s[0].ClosingstatementData):this.submitData,null!=s[0].opinion&&(s[0].opinion=JSON.parse(s[0].opinion)),s[0].actualuse=e,this.myArrayProp=s,console.log("11111")})).catch((t=>{console.log(t)}))},getWord(){this.isDownPdf=!0,this.$forceUpdate(),setTimeout((()=>{(0,i.W)(this.$refs.finalClo.$refs.downPDF,this.myArrayProp[0].title+"申报书"),setTimeout((()=>{this.isDownPdf=!1,this.$forceUpdate()}),500)}),500)}},mounted(){this.getPrice()}},c=n,l=s(43736),u=(0,l.Z)(c,o,r,!1,null,"7ea81c3e",null),p=u.exports}}]); //# sourceMappingURL=2926.92fad8d9.js.map