1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <template>
- <div class="Sankunginfo-all">
- <div class="Sankunginfo-top">
- <div class="Sankunginfo-title">三公费用明细</div>
- </div>
- <div class="Sankunginfo-box">
- <iframe frameborder="no" :src='src' width="100%" :height="heights"></iframe>
- </div>
- </div>
- </template>
- <script>
- export default {
- data () {
- return {
- input:'',
- heights:0,
- id:0,
- fileName:'',
- src:''
- }
- },
- 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.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>
- <style>
- *{
- margin: 0;
- padding: 0;
- }
- .Sankunginfo-top{
- position: fixed;
- top: 0;
- background-color: #fff;
- width: 100%;
- text-align: center;
- border-bottom: 1px solid #ede8e8;
- }
- .Sankunginfo-title{
- margin: 10px;
- font-size: 17px;
- font-weight:600 ;
- }
- .Sankunginfo-search{
- padding: 8px;
- }
- .Sankunginfo-box{
- padding-top: 43px;
- }
- </style>
|