省级储备粮油
<template>
<div class="content-main">
    <iframe width="100%" :height="wrapHeight" :src="iHost "></iframe>
</div>
</template>
<script>
export default {
    data(){
        return{
          iHost:''
        }
    },
    computed: {
      wrapHeight(){
        let windowHeight = document.documentElement.clientHeight
        let  wrapHeight = windowHeight - 265
        return wrapHeight
      }
    },
    methods:{

    },
    created(){
      let url = location.host;
      // console.log(url ,'url ');
      this.iHost = `http://${url}/irpt/oemlogin.do?id=${sessionStorage.getItem('userLoginName')}&pw={${sessionStorage.getItem('userPassword')}}&target=task&task={C080C489-6E1A-4A4B-AE92-8191D1E90527}&bbhid=150000`
      console.log(this.iHost,'this.iHost');
    }
}
</script>