<template>
  <container-frame :path="path" :src="imgsrc"/>
</template>

<script>
import ContainerFrame from './components/ContainerFrame.vue'
export default {
  components: { ContainerFrame },
  data() {
    return {
      path: this.$route.path,
      imgsrc: ''
    }
  },
  created() {
    let host = window.location.host
    let uUrl = host.includes('8091') ? host + `/lmee-web` : '10.20.20.249:8100/lmee-dev'
    this.imgsrc = window.location.protocol + '//' + `${uUrl}/ureport/preview?_u=db_reportLiabilitayInfo.ureport.xml&_t=6&_i=1`
  }
}
</script>
