Commit 47a74183 authored by zhengjiawei's avatar zhengjiawei

厂区风险态势图

parent 10183d7f
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import AmosWebSocket from 'amos-websocket';
import { Connect, Tooltip } from 'amos-framework';
import { Connect } from 'amos-framework';
import SvgToolkit from 'amos-viz/lib/svg/SvgToolkit';
import * as endConf from 'amos-processor/lib/config/endconf';
import ynSitMap from './datas/yn/sit-map';
......@@ -41,7 +41,7 @@ import { eventTopics, rulesDataFactory } from './../../../3dview/consts';
import { getRegionAreaRpnAction } from './../../../../services/situationService';
const eventConnect = Connect.eventConnect;
const genVal = (val) => Math.round((Math.random() * 10 + val));
// const genVal = (val) => Math.round((Math.random() * 10 + val));
const colorEnum = { '0': 'initial', '1': 'one', '2': 'two', '3': 'three', '4': 'fourfive', '5': 'fourfive' };
const AmosConfig = endConf.AmosConfig;
const projectName = AmosConfig.riskDynamicChart.projectName;
......@@ -121,7 +121,7 @@ switch (projectName) {
text = jinhuaText;
imgUrl = imgStatic.biz.jinhuaMap;
break;
case 'zhumadian':
case 'zhumadian':
imgWidth = 872;
imgHeight = 352;
imgTranslate = 'translate(-10 69.13)';
......
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