|
@@ -20,18 +20,18 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
|
- let clientHeight=document.documentElement.clientHeight || document.body.clientHeight;
|
|
|
- this.heights=clientHeight-48;
|
|
|
- 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.heights=clientHeight-48;
|
|
|
// 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>
|