4 changed files with 47 additions and 2 deletions
@ -0,0 +1,30 @@ |
|||||
|
<template> |
||||
|
<el-card class="worklog"> |
||||
|
<iframe :src="url" class="iframe"/> |
||||
|
</el-card> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import Cookies from 'js-cookie' |
||||
|
export default { |
||||
|
data() { |
||||
|
return { |
||||
|
url: '' |
||||
|
} |
||||
|
}, |
||||
|
created () { |
||||
|
const _token = Cookies.get('token') || localStorage.getItem('token') |
||||
|
const _customerId = Cookies.get('customerId') || localStorage.getItem('customerId') |
||||
|
this.url = `${window.SITE_CONFIG['workLogURL']}/#/NoteTaking?token=${_token}&customerId=${_customerId}` |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
<style lang="scss" scoped> |
||||
|
.worklog { |
||||
|
min-height: calc(calc(100vh - 50px - 38px - 30px) - 2px); |
||||
|
} |
||||
|
.iframe { |
||||
|
width: 100%; |
||||
|
min-height: calc(calc(100vh - 50px - 38px - 30px) - 2px); |
||||
|
} |
||||
|
</style> |
Loading…
Reference in new issue