Commit 21bc9d3b authored by 邓超's avatar 邓超

fix: 注释地图配置

parent b28aaee8
Pipeline #49734 passed with stages
/*
* @Description:
* @Author: leizhe
* @Date: 2022-01-13 10:47:32
* @LastEditTime: 2022-05-07 18:46:40
* @LastEditors: Please set LastEditors
*/
import { Tabs, Button } from 'antd';
import React from 'react';
import PageContainer from '@/components/BasePageContainer';
......@@ -14,15 +7,11 @@ import VectorData from './VectorData/VectorData';
import ProjectMessage from './projectMessage/projectMessage';
import SolutionConfig from './solutionConfig/solutionConfig';
import ScopeMap from './ScopeMap/index';
import { isDev } from '@/utils/tools';
const { TabPane } = Tabs;
const SchemeConfig = () => {
const callback = () => {};
const iframeUrl =
'/web4/?widget=product/Tool/EditBoundary/EditBoundary&serverCollextion=luanzhou,jiangninggwtest&solution=熊猫智慧水务平台';
console.log(process.env.HOST, 'process.env.PROXY');
return (
<PageContainer>
<div className={styles.container}>
......@@ -39,21 +28,9 @@ const SchemeConfig = () => {
<TabPane tab="方案配置" key="4">
<SolutionConfig />
</TabPane>
<TabPane tab="范围配置" key="5">
{/* <TabPane tab="范围配置" key="5">
<ScopeMap />
{/* <div
style={{
width: '100%',
height: 'calc(100vh - 160px)',
}}
>
<iframe
src={`${isDev ? 'http://192.168.12.140:8081' : window.location.origin}${iframeUrl}`}
width="99%"
height="99%"
/>
</div> */}
</TabPane>
</TabPane> */}
</Tabs>
</div>
</PageContainer>
......
/* eslint-disable no-new */
import React, { useEffect, useState, useRef } from 'react';
import { ArcGISMap, Drawtool, geomUtils } from '@wisdom-map/arcgismap';
import { isDev } from '@/utils/tools';
import { Form, Input, Slider, InputNumber, Select, Button, Cascader, notification } from 'antd';
import classnames from 'classnames';
import { GetWebSiteConfig } from '@/services/gis/gis';
......@@ -27,7 +27,8 @@ const Map = props => {
const [flag, setFlag] = useState(0);
const mapRef = useRef();
const mapInfo = useRef(null);
// const iframeUrl =
// '/web4/?widget=product/Tool/EditBoundary/EditBoundary&serverCollextion=luanzhou,jiangninggwtest&solution=熊猫智慧水务平台';
useEffect(() => {
GetWebSiteConfig({ client: 'sandbox' }).then(res => {
console.log(res.data[0].mapsettings, 'res.data[0].mapsettings');
......@@ -214,6 +215,12 @@ const Map = props => {
return (
<div>
<div className={styles.mapContent}>
{/* <iframe
title="范围配置"
src={`${isDev ? 'http://192.168.12.140:8081' : window.location.origin}${iframeUrl}`}
width="99%"
height="99%"
/> */}
<div className={styles.mapTool}>
<Form
form={form}
......
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