|
|
-"use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[496],{17965:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var a=function(){var t=this,e=t._self._c;return e("div",[e("Closingstatement",{ref:"finalClo",staticStyle:{background:"#fff"},attrs:{myArrayProp2:t.myArrayProp,iid:t.iid,isDownPdf:t.isDownPdf}})],1)},r=[],o=s(52280),i=s(53003),c={components:{Closingstatement:o.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)})),console.log(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].money=JSON.parse(s[0].money),s[0].ClosingstatementData=s[0].ClosingstatementData?JSON.parse(s[0].ClosingstatementData):this.submitData,this.myArrayProp=s,this.myArrayProp[0].actualuse=e,console.log(this.myArrayProp)})).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()}},n=c,l=s(43736),u=(0,l.Z)(n,a,r,!1,null,"1231483c",null),d=u.exports}}]);
|
|
|
+"use strict";(self["webpackChunkscproject"]=self["webpackChunkscproject"]||[]).push([[702],{17965:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var a=function(){var t=this,e=t._self._c;return e("div",[e("Closingstatement",{ref:"finalClo",staticStyle:{background:"#fff"},attrs:{myArrayProp2:t.myArrayProp,iid:t.iid,isDownPdf:t.isDownPdf}})],1)},r=[],o=s(74962),i=s(53003),c={components:{Closingstatement:o.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)})),console.log(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].money=JSON.parse(s[0].money),s[0].ClosingstatementData=s[0].ClosingstatementData?JSON.parse(s[0].ClosingstatementData):this.submitData,this.myArrayProp=s,this.myArrayProp[0].actualuse=e,console.log(this.myArrayProp)})).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()}},n=c,l=s(43736),u=(0,l.Z)(n,a,r,!1,null,"1231483c",null),d=u.exports}}]);
|