地址配置修改

main
mo 1 year ago
parent 3c05d1a88c
commit 1acf8f1cdb

@ -25,3 +25,6 @@ VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
#线上预览 #线上预览
VUE_APP_ONLINE_API = 'http://139.224.253.31:48012' VUE_APP_ONLINE_API = 'http://139.224.253.31:48012'
#线上预览
VUE_APP_BIAO_API = 'http://139.224.253.31:48080'

@ -26,3 +26,6 @@ VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
#线上预览 #线上预览
VUE_APP_ONLINE_API = 'http://139.224.253.31:48012' VUE_APP_ONLINE_API = 'http://139.224.253.31:48012'
#线上预览
VUE_APP_BIAO_API = 'http://139.224.253.31:48080'

@ -13,16 +13,19 @@ export default {
props: { props: {
src: { src: {
type: String, type: String,
required: true required: true,
}, },
}, },
data() { data() {
return { return {
height: document.documentElement.clientHeight - 94.5 + "px;", height: document.documentElement.clientHeight - 94.5 + "px;",
loading: true, loading: true,
url: this.src url: this.src,
}; };
}, },
created() {
console.log(this.url);
},
mounted: function () { mounted: function () {
setTimeout(() => { setTimeout(() => {
this.loading = false; this.loading = false;
@ -31,6 +34,6 @@ export default {
window.onresize = function temp() { window.onresize = function temp() {
that.height = document.documentElement.clientHeight - 94.5 + "px;"; that.height = document.documentElement.clientHeight - 94.5 + "px;";
}; };
} },
}; };
</script> </script>

@ -106,14 +106,14 @@
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
> >
<template v-slot="scope"> <template v-slot="scope">
<el-button <!-- <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['archives:accounting-book:update']" v-hasPermi="['archives:accounting-book:update']"
>修改</el-button >修改</el-button
> > -->
<el-button <el-button
size="mini" size="mini"
type="text" type="text"

@ -6,13 +6,16 @@
</template> </template>
<script> <script>
import iFrame from "@/components/iFrame/index"; import iFrame from "@/components/iFrame/index";
import {getAccessToken} from "@/utils/auth"; import { getAccessToken } from "@/utils/auth";
export default { export default {
name: "JimuReport", name: "JimuReport",
components: { iFrame }, components: { iFrame },
data() { data() {
return { return {
url: process.env.VUE_APP_BASE_API + "/jmreport/list?token=" + getAccessToken(), url:
process.env.VUE_APP_BIAO_API +
"/jmreport/list?token=" +
getAccessToken(),
}; };
}, },
}; };

Loading…
Cancel
Save