Merge branch 'main' of http://47.122.43.22:3000/wjn/mh-lcmk-sms-web
This commit is contained in:
commit
c23a47be84
@ -7,6 +7,9 @@ import EnergyIcon from "../utils/energyIcon";
|
|||||||
import { $consts } from "../plugins";
|
import { $consts } from "../plugins";
|
||||||
import styles from "./risk.less";
|
import styles from "./risk.less";
|
||||||
import echarts from "echarts";
|
import echarts from "echarts";
|
||||||
|
import {
|
||||||
|
initFilter,
|
||||||
|
} from '../utils/common'
|
||||||
import realGif from "../assets/risk/backno.jpg";
|
import realGif from "../assets/risk/backno.jpg";
|
||||||
import red from "../assets/risk/red.png";
|
import red from "../assets/risk/red.png";
|
||||||
import orange from "../assets/risk/orange.png";
|
import orange from "../assets/risk/orange.png";
|
||||||
@ -206,9 +209,11 @@ class RiskFour extends React.Component {
|
|||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
getRiskData = () => {
|
getRiskData = () => {
|
||||||
|
const json = initFilter(this.props.login.OrgId);
|
||||||
this.props.dispatch({
|
this.props.dispatch({
|
||||||
type: "app/getDataByPost",
|
type: "app/getDataByPost",
|
||||||
url: "HM/HMEvaluateRisk/getRiskLevelCountData",
|
url: "HM/HMEvaluateRisk/getRiskLevelCountData",
|
||||||
|
payload: json,
|
||||||
onComplete: (ret) => {
|
onComplete: (ret) => {
|
||||||
if (ret ) {
|
if (ret ) {
|
||||||
console.log(ret,'989989')
|
console.log(ret,'989989')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user