|
@@ -19,12 +19,19 @@ export default {
|
|
|
src:''
|
|
|
}
|
|
|
},
|
|
|
- mounted(){
|
|
|
+ created(){
|
|
|
let clientHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
|
|
this.heights=clientHeight;
|
|
|
this.fileName = this.$route.query.fileName;
|
|
|
this.id = this.$route.query.sign;
|
|
|
this.src="http://132.232.92.186:24/Office/Word/EnterExitCost/File/"+this.fileName
|
|
|
+ },
|
|
|
+ mounted(){
|
|
|
+ // let clientHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
|
|
+ // this.heights=clientHeight;
|
|
|
+ // this.fileName = this.$route.query.fileName;
|
|
|
+ // this.id = this.$route.query.sign;
|
|
|
+ // this.src="http://132.232.92.186:24/Office/Word/EnterExitCost/File/"+this.fileName
|
|
|
}
|
|
|
}
|
|
|
</script>
|