Compare commits
No commits in common. "94921f4f81d96b45bd5c258d5bdae56499869012" and "930188299fae288d2dc7aaa544bb956f85cfffca" have entirely different histories.
94921f4f81
...
930188299f
|
@ -67,7 +67,7 @@ service.interceptors.response.use(
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
Message({
|
Message({
|
||||||
message: res.exception || res.msg || '系统开小差了,请联系管理员',
|
message: res.exception || '系统开小差了,请联系管理员',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: 5 * 1000
|
duration: 5 * 1000
|
||||||
})
|
})
|
||||||
|
|
|
@ -384,14 +384,11 @@ export default {
|
||||||
formData
|
formData
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.$message({
|
this.$message({
|
||||||
dangerouslyUseHTMLString: true,
|
message: data.msg,
|
||||||
message: data.msg.replaceAll('\r\n', '<br>').replaceAll('\n', '<br>'),
|
type: data.result === 'success' ? 'success' : 'error'
|
||||||
type: data.code === 200 ? 'success' : 'error'
|
|
||||||
})
|
})
|
||||||
if (data.code === 200) {
|
|
||||||
this.getList()
|
this.getList()
|
||||||
this.dialogFormDaoru = false
|
this.dialogFormDaoru = false
|
||||||
}
|
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
<template>
|
|
||||||
<div class="iframe-container">
|
|
||||||
<iframe
|
|
||||||
:src="srcurl"
|
|
||||||
width="100%"
|
|
||||||
height="100%"
|
|
||||||
allowfullscreen
|
|
||||||
style="overflow-y:hidden;overflow-x:hidden;"/>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
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
|
|
||||||
console.log('加密后:', jami)
|
|
||||||
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