1.省气象局免登录跳转
parent
825fff6822
commit
c4d5428df4
src/views/meteorologicalMonitoring/meteorologicalHY
|
@ -0,0 +1,52 @@
|
||||||
|
<template>
|
||||||
|
<div class="iframe-container">
|
||||||
|
<iframe
|
||||||
|
:src=srcurl
|
||||||
|
width="100%"
|
||||||
|
height="100%"
|
||||||
|
allowfullscreen
|
||||||
|
style="overflow-y:hidden;overflow-x:hidden;"/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
||||||
|
import { requestFN } from '@/utils/request'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
srcurl:''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 获取列表
|
||||||
|
getList() {
|
||||||
|
var _this = this
|
||||||
|
requestFN(
|
||||||
|
'/meteorologicalServices/getUser',
|
||||||
|
).then((data) => {
|
||||||
|
var jami = data.jiami
|
||||||
|
var url = 'http://192.168.192.201:8995/ocean/userInfo/loginByUser?k=' +data.jiami
|
||||||
|
_this.srcurl = url
|
||||||
|
}).catch((e) => {
|
||||||
|
this.listLoading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.iframe-container {
|
||||||
|
position: fixed;
|
||||||
|
top: 10;
|
||||||
|
left: 10;
|
||||||
|
width: 90%;
|
||||||
|
height: 90%;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in New Issue