Commit 068dbe86 authored by 邓晓峰's avatar 邓晓峰

fix: 管理报表链接

parent bcc5dbef
Pipeline #43897 passed with stages
in 4 minutes 29 seconds
......@@ -23,11 +23,11 @@ export default {
},
{
name: 'report',
entry: `//172.16.10.54:8345/report/workplatform`,
entry: `//127.0.0.1:8345/report/workplatform`,
container: '#micro-container',
activeRule: '/civbase/report',
props: {
origin: `//172.16.10.54:8345`
origin: `//127.0.0.1:8345`
}
},
// {
......
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const proxyURL = 'https://panda-water.com';
const proxyURL = 'https://work.panda-water.cn';
module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
......
......@@ -3,6 +3,7 @@ import Iframe from 'react-iframe';
import { connect } from 'react-redux';
const ShareFrame = props => {
const state = props.location.state || {};
debugger
if (!state.linkUrl) {
return null;
}
......@@ -10,7 +11,7 @@ const ShareFrame = props => {
return (
<Iframe
url={`http://172.16.10.54:8345/report/manageView/638220756398120960?token=${token}&loginName=${userInfo.loginName}`}
url={`${state.linkUrl}?token=${token}&loginName=${userInfo.loginName}`}
width="100%"
height="100%"
id="myId"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment