<%--
  Created by IntelliJ IDEA.
  User: 徐扬
  Date: 2020/7/1
  Time: 14:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html >
<html>
<head>
    <title>流程图</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<style>
    body{padding:0; margin:0;}

    <%-- 流程图样式 --%>
    #yujing_liuchengtu {
        position: relative;
    }

    #gaojing_liuchengtu {
        position: relative;
    }

    .rectangle-size {
        position: absolute;
        text-align: center;
        line-height: 40px;
        height: 40px;
        width: 150px;
        border: 2px solid deepskyblue;
    }

    .circle-size {
        position: absolute;
        text-align: center;
        line-height: 40px;
        height: 40px;
        width: 110px;
        border: 2px solid deepskyblue;
        border-radius: 40px;
    }

    .square-size {
        width: 210px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        transform:skew(-30deg);
        -webkit-transform: skew(-30deg);
        -moz-transform: skew(-30deg);
        -o-transform:skew(-30deg);
        -ms-transform:skew(-30deg);
        border: 2px solid deepskyblue;
    }


    .judgeMonitor {
        display: inline-block;
        transform:skew(30deg);
        -webkit-transform: skew(30deg);
        -moz-transform: skew(30deg);
        -o-transform:skew(30deg);
        -ms-transform:skew(30deg);
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .cst-label {
        background-color: white;
        padding: 5px;
    }

    .dim-color {
        color: #a2a1a1;
        border-color: #a2a1a1;
    }

</style>
<body>
<div style="width: 100%;height: 100%" id="liuchengtu">
    <div id="gaojing" style="border-top: 2px solid deepskyblue;margin-left: 20px;margin-top: 10px">
        <div id="gaojing_title" style="height: 8%;background-color: #eaf0ff;border: 2px solid deepskyblue;border-top: 0;line-height: 40px;font-size: 30px">国网冀北电力有限公司电能质量监督告警单流程</div>

        <div id="gaojing_body" style="height: 92%">
            <div id="gaojing_bumen" style="float:left;height:100%;width: 10%;text-align: center;line-height: 60px">
                <div style="height: 25%;width: 100%;border: 2px solid deepskyblue;border-top: 0;background-color: #eaf0ff;font-size: 20px;line-height: 110px">冀北设备部</div>
                <div style="height: 25%;width: 100%;border: 2px solid deepskyblue;border-top: 0;background-color: #eaf0ff;font-size: 20px;line-height: 110px">冀北电科院</div>
                <div style="height: 25%;width: 100%;border: 2px solid deepskyblue;border-top: 0;background-color: #eaf0ff;font-size: 20px;line-height: 110px">冀北检修公司</div>
                <div style="height: 25%;width: 100%;border: 2px solid deepskyblue;border-top: 0;background-color: #eaf0ff;font-size: 20px;line-height: 110px">地市供电公司</div>
            </div>
            <div id="gaojing_liuchengtu" style="float:left;height:100%;width: 90%">
                <div style="height: 25%;width: 100%;border-bottom: 2px solid deepskyblue;border-right: 2px solid deepskyblue">
                    <div id="gaojing_shebeibu_handOut" class="rectangle-size" style="margin-top: 3%;margin-left: 60%;float: left">下发整改通知单</div>
                    <div id="gaojing_shebeibu_upload" class="rectangle-size" style="margin-top: 3%;margin-left: 75%;float: left">上传整改反馈单</div>
                    <div id="gaojing_over" class="circle-size" style="margin-top: 3%;margin-left: 90%;float: left">结束</div>
                </div>
                <div style="height: 25%;width: 100%;border-bottom: 2px solid deepskyblue;border-right: 2px solid deepskyblue">
                    <div id="gaojing_monitor_overStandard" class="circle-size" style="width: 140px;margin-top: 3%;margin-left: 1%;float: left;">数据监测连续超标</div>
                    <div id="gaojing_judgeMonitor_over220" class="square-size" style="margin-top: 3%;margin-left: 13%;float: left"><span class="judgeMonitor">是否为220千伏及以上监测点</span></div>
                    <div id="gaojing_diankeyuan_handOut" class="rectangle-size" style="margin-top: 3%;margin-left: 32%;float: left">下发技术监督告警单</div>
                    <div id="gaojing_judgeMonitor_over500" class="square-size" style="margin-top: 3%;margin-left: 18%;float: left"><span class="judgeMonitor">是否为500千伏及以上监测点</span></div>
                </div>
                <div style="height: 25%;width: 100%;border-bottom: 2px solid deepskyblue;border-right: 2px solid deepskyblue">
                    <div id="gaojing_jianxiu_upload" class="rectangle-size" style="margin-top:3%;margin-left: 60%;float: left">上传技术监督反馈单</div>
                    <div id="gaojing_jianxiu_judgeRectification" class="square-size" style="width:120px;margin-top: 3%;margin-left: 76%;float: left"><span class="judgeMonitor">是否需要整改</span></div>
                </div>
                <div style="height: 25%;width: 100%;border-bottom: 2px solid deepskyblue;border-right: 2px solid deepskyblue">
                    <div id="gaojing_cityPowerCompany_handOut" class="rectangle-size" style="margin-top: 3%;margin-left: 1%;float: left">下发技术监督告警单</div>
                    <div id="gaojing_cityPowerCompany_upload" class="rectangle-size" style="margin-top:3%;margin-left: 20%;float: left">上传技术监督反馈单</div>
                    <div id="gaojing_cityPowerCompany_judgeRectification" class="square-size" style="margin-top: 2%;margin-left: 38%;float: left"><span class="judgeMonitor">是否需要整改</span></div>
                    <div id="gaojing_cityPowerCompany_handOut_modificationList" class="rectangle-size" style="margin-top:3%;margin-left: 60%;float: left">下发整改通知单</div>
                    <div id="gaojing_cityPowerCompany_upload_modificationList" class="rectangle-size" style="margin-top:3%;margin-left: 80%;float: left">上传整改反馈单</div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctx}/js/plugin/jquery.min.js"></script>
<script src="${ctx}/js/plugin/jquery-ui/jquery-ui.js"></script>
<script src="${ctx}/js/plugin/jquery/jquery.jsplumb.js"></script>
<script src="${ctx}/js/plugin/layui/layui.all.js"></script>
<script src="${ctx}/jspJS/utils/loading.js"></script>
<script>

    let nowFlow = [];
    //获取后台传来的数据
    let flowChartSupIndex = "${sessionScope.flowChartSupIndex}";
    let flowChartTypeString = "${sessionScope.flowChartType}";

    var flowChartProgress = 0;

    var height = $(document).height();
    var width = $(document).width();
    $("#gaojing").css("height",height-10);
    $("#gaojing").css("width",width-44);
    $("#gaojing_liuchengtu").css("width",$("#gaojing_liuchengtu").width()-2);

    $(document).ready(function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var flowChartType = Number(flowChartTypeString);
                var powerLever = Number(powerLeverString);
                liuchengtu(flowChartType,powerLever,flowChartProgress);
                showFlowChart(flowChartType,powerLever,flowChartProgress);
                clickStyle(powerLever,flowChartProgress);
            }
        });
    });


    function refresh() {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var flowChartType = Number(flowChartTypeString);
                var powerLever = Number(powerLeverString);
                liuchengtu(flowChartType,powerLever,flowChartProgress);
                showFlowChart(flowChartType,powerLever,flowChartProgress);
                clickStyle(powerLever,flowChartProgress);
            }
        });
    }


    function getProgress() {
        $.ajax({
            type: 'post',
            url: '/pqs9300/flowChart/getProgress',
            async:false,
            data: {
                supIndex: flowChartSupIndex,
            },
            success(data) {
                flowChartProgress = data;
            }
        })
    }


    <%-- global jsPlumb --%>
    function makeStyle(flag) {
        let config = {};

        config.connectorPaintStyle = {
            lineWidth: 2,
            strokeStyle: flag == 'dim' ? '#a2a1a1' : 'deepskyblue',
            joinstyle: 'round',
            outlineColor: '',
            outlineWidth: ''
        };

        return {
            // 端点形状
            endpoint: ['Dot', {
                radius: 4,
                fill: flag == 'dim' ? '#a2a1a1' : 'deepskyblue'
            }],
            // 连接线的样式
            connectorStyle: config.connectorPaintStyle,
            connectorHoverStyle: config.connectorHoverStyle,
            // 端点的样式
            paintStyle: {
                fillStyle: flag == 'dim' ? '#a2a1a1' : 'deepskyblue',
                radius: 3
            },
            isSource: true,
            connector: ['Flowchart', {
                gap: 1,
                cornerRadius: 10,
                alwaysRespectStubs: false,
            }],
            isTarget: true,
            // 设置连接点最多可以链接几条线
            maxConnections: -1,
            connectorOverlays: [
                ['Arrow', {
                    width: 8,
                    length: 10,
                    location: 1
                }]
            ]
        };
    }

    let config = {
        baseStyle: makeStyle('base'),
        dimStyle: makeStyle('dim')
    };
    let connections = {};

    //判断当前流程需要参数
    //1.预警单/告警单(flowChartType) 2.电压等级(根据索引去查询电压等级) 3.当前流程(flowChartProgress)
    function liuchengtu(flowChartType,powerLever,flowChartProgress){
        jsPlumb.ready(function () {
            //需要判断的模块
            let flow = ["jianxiu_upload_jianxiu_judgeRectification","diankeyuan_handOut_judgeMonitor_over500","cityPowerCompany_upload_cityPowerCompany_judgeRectification","monitor_overStandard_judgeMonitor_over220","storage_celue","storage_sync","occur_storage","sync_ass_analysis","ass_analysis_reason_analysis","celue_down_analysis_l","down_analysis_up_analysis","judgeMonitor_over220_diankeyuan_handOut","cityPowerCompany_handOut_cityPowerCompany_upload","cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList","cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList","shebeibu_handOut_shebeibu_upload","judgeMonitor_over220_cityPowerCompany_handOut","judgeMonitor_over500_jianxiu_upload","jianxiu_judgeRectification_shebeibu_handOut"];
            flow.map(item => nowFlow[item] = {});
            /*预警单连接线设置*/
            let pointStyle = config.baseStyle;
            let dimStyle = config.dimStyle;
            /*预警单连接线设置*/
            jsPlumb.setContainer('liuchengtu');
            if (powerLever <220){
                if (flowChartProgress === 0){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 1){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 2){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 3){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 4){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 5){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, pointStyle);
                } else if (flowChartProgress === 6){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, pointStyle);
                }
            } else if (powerLever >=220 && powerLever <500){
                if (flowChartProgress === 0){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 1){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 2){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 3){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 4){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 5){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, pointStyle);
                } else if (flowChartProgress === 6){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, pointStyle);
                }
            } else if (powerLever >=500){
                if (flowChartProgress === 0){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 1){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 2){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 3){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 4){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 5){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                } else if (flowChartProgress === 6){
                    jsPlumb.addEndpoint('gaojing_monitor_overStandard', {uuid: 'gaojing_monitor_overStandard_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over220', {uuid: 'gaojing_judgeMonitor_over220_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_diankeyuan_handOut', {uuid: 'gaojing_diankeyuan_handOut_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_judgeMonitor_over500', {uuid: 'gaojing_judgeMonitor_over500_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_handOut', {uuid: 'gaojing_shebeibu_handOut_b', anchor: 'Bottom'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_shebeibu_upload', {uuid: 'gaojing_shebeibu_upload_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_over', {uuid: 'gaojing_over_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_r', anchor: 'Right'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_upload', {uuid: 'gaojing_jianxiu_upload_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_l', anchor: 'Left'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_jianxiu_judgeRectification', {uuid: 'gaojing_jianxiu_judgeRectification_t', anchor: 'Top'}, pointStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut', {uuid: 'gaojing_cityPowerCompany_handOut_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload', {uuid: 'gaojing_cityPowerCompany_upload_t', anchor: 'Top'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_judgeRectification', {uuid: 'gaojing_cityPowerCompany_judgeRectification_b', anchor: 'Bottom'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_handOut_modificationList', {uuid: 'gaojing_cityPowerCompany_handOut_modificationList_l', anchor: 'Left'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_r', anchor: 'Right'}, dimStyle);
                    jsPlumb.addEndpoint('gaojing_cityPowerCompany_upload_modificationList', {uuid: 'gaojing_cityPowerCompany_upload_modificationList_l', anchor: 'Left'}, dimStyle);
                }
            }

            /*告警单连接线设置*/
            let monitor_overStandard_judgeMonitor_over220 = jsPlumb.connect({uuids: ['gaojing_monitor_overStandard_r', 'gaojing_judgeMonitor_over220_l']});
            connections['monitor_overStandard_judgeMonitor_over220'] = monitor_overStandard_judgeMonitor_over220;

            let judgeMonitor_over220_diankeyuan_handOut = jsPlumb.connect({uuids: ['gaojing_judgeMonitor_over220_r', 'gaojing_diankeyuan_handOut_l']});
            judgeMonitor_over220_diankeyuan_handOut.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">是</span>');
                },
                location: 0.5
            }]);
            connections['judgeMonitor_over220_diankeyuan_handOut'] = judgeMonitor_over220_diankeyuan_handOut;

            let diankeyuan_handOut_judgeMonitor_over500 = jsPlumb.connect({uuids: ['gaojing_diankeyuan_handOut_r', 'gaojing_judgeMonitor_over500_l']});
            connections['diankeyuan_handOut_judgeMonitor_over500'] = diankeyuan_handOut_judgeMonitor_over500;

            let judgeMonitor_over220_cityPowerCompany_handOut = jsPlumb.connect({uuids: ['gaojing_judgeMonitor_over220_b', 'gaojing_cityPowerCompany_handOut_t']});
            judgeMonitor_over220_cityPowerCompany_handOut.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">否</span>');
                },
                location: 0.5
            }]);
            connections['judgeMonitor_over220_cityPowerCompany_handOut'] = judgeMonitor_over220_cityPowerCompany_handOut;

            let judgeMonitor_over500_cityPowerCompany_upload = jsPlumb.connect({uuids: ['gaojing_judgeMonitor_over500_b', 'gaojing_cityPowerCompany_upload_t']});
            judgeMonitor_over500_cityPowerCompany_upload.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">否</span>');
                },
                location: 0.5
            }]);
            connections['judgeMonitor_over500_cityPowerCompany_upload'] = judgeMonitor_over500_cityPowerCompany_upload;

            let judgeMonitor_over500_jianxiu_upload = jsPlumb.connect({uuids: ['gaojing_judgeMonitor_over500_r', 'gaojing_jianxiu_upload_t']});
            judgeMonitor_over500_jianxiu_upload.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">是</span>');
                },
                location: 0.6
            }]);
            connections['judgeMonitor_over500_jianxiu_upload'] = judgeMonitor_over500_jianxiu_upload;

            let cityPowerCompany_handOut_cityPowerCompany_upload = jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_handOut_r', 'gaojing_cityPowerCompany_upload_l']});
            connections['cityPowerCompany_handOut_cityPowerCompany_upload'] = cityPowerCompany_handOut_cityPowerCompany_upload;

            let cityPowerCompany_upload_cityPowerCompany_judgeRectification = jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_upload_r', 'gaojing_cityPowerCompany_judgeRectification_l']});
            connections['cityPowerCompany_upload_cityPowerCompany_judgeRectification'] = cityPowerCompany_upload_cityPowerCompany_judgeRectification;

            let cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList =  jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_judgeRectification_r', 'gaojing_cityPowerCompany_handOut_modificationList_l']});
            cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">是</span>');
                },
                location: 0.5
            }]);
            connections['cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList'] = cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList;

            let cityPowerCompany_judgeRectification_over =  jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_judgeRectification_b', 'gaojing_over_b']});
            cityPowerCompany_judgeRectification_over.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">否</span>');
                },
                location: 0.48
            }]);

            let cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList = jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_handOut_modificationList_r', 'gaojing_cityPowerCompany_upload_modificationList_l']});
            connections['cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList'] = cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList;

            let jianxiu_upload_jianxiu_judgeRectification = jsPlumb.connect({uuids: ['gaojing_jianxiu_upload_r', 'gaojing_jianxiu_judgeRectification_l']});
            connections['jianxiu_upload_jianxiu_judgeRectification'] = jianxiu_upload_jianxiu_judgeRectification;

            let jianxiu_judgeRectification_shebeibu_handOut = jsPlumb.connect({uuids: ['gaojing_jianxiu_judgeRectification_t', 'gaojing_shebeibu_handOut_b']});
            jianxiu_judgeRectification_shebeibu_handOut.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">是</span>');
                },
                location: 0.5
            }]);
            connections['jianxiu_judgeRectification_shebeibu_handOut'] = jianxiu_judgeRectification_shebeibu_handOut;

            let jianxiu_judgeRectification_over = jsPlumb.connect({uuids: ['gaojing_jianxiu_judgeRectification_r', 'gaojing_over_b']});
            jianxiu_judgeRectification_over.addOverlay(['Custom', {
                create: function (component) {
                    return $('<span style="background-color: white; padding: 1px;">否</span>');
                },
                location: 0.17
            }]);

            let shebeibu_handOut_shebeibu_upload = jsPlumb.connect({uuids: ['gaojing_shebeibu_handOut_r', 'gaojing_shebeibu_upload_l']});
            connections['shebeibu_handOut_shebeibu_upload']=shebeibu_handOut_shebeibu_upload;

            if (powerLever <220 && flowChartProgress === 6){
                jsPlumb.connect({uuids: ['gaojing_shebeibu_upload_r', 'gaojing_over_l']});
                jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_upload_modificationList_r', 'gaojing_over_b']});
            } else if (powerLever >=500 && flowChartProgress === 6){
                jsPlumb.connect({uuids: ['gaojing_shebeibu_upload_r', 'gaojing_over_l']});
            } else {
                jsPlumb.connect({uuids: ['gaojing_cityPowerCompany_upload_modificationList_r', 'gaojing_over_b']});
                jsPlumb.connect({uuids: ['gaojing_shebeibu_upload_r', 'gaojing_over_l']});
            }


        });
    }

    function showFlowChart(flowChartType,powerLever,flowChartProgress) {
        var divArr = [];
        if(powerLever <220){
            if (flowChartProgress === 0){
                divArr = ["gaojing_monitor_overStandard"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: orange; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">判断中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    }
                }
            } else if (flowChartProgress === 1){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_cityPowerCompany_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 70px;margin-top: 45px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 2){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_cityPowerCompany_handOut"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_upload").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_cityPowerCompany_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 70px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    }
                }
            } else if (flowChartProgress === 3){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_cityPowerCompany_handOut","gaojing_cityPowerCompany_upload"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_judgeRectification").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_cityPowerCompany_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 70px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: orange; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">现场测试</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 4){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_cityPowerCompany_handOut","gaojing_cityPowerCompany_upload","gaojing_cityPowerCompany_judgeRectification"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_handOut_modificationList").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_cityPowerCompany_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 70px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 5){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_cityPowerCompany_handOut","gaojing_cityPowerCompany_upload","gaojing_cityPowerCompany_judgeRectification","gaojing_cityPowerCompany_handOut_modificationList"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_upload_modificationList").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_cityPowerCompany_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 70px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 6){
                divArr = ["gaojing_over","gaojing_cityPowerCompany_upload_modificationList","gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_cityPowerCompany_handOut","gaojing_cityPowerCompany_upload","gaojing_cityPowerCompany_judgeRectification","gaojing_cityPowerCompany_handOut_modificationList"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_over").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_cityPowerCompany_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 70px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            }
        } else if (powerLever >=220&&powerLever <500){
            if (flowChartProgress === 0){
                divArr = ["gaojing_monitor_overStandard"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: orange; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">判断中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    }
                }
            } else if (flowChartProgress === 1){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 2){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_upload").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 3){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_cityPowerCompany_upload"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_judgeRectification").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: orange; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">现场测试</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 4){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_cityPowerCompany_upload","gaojing_cityPowerCompany_judgeRectification"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_handOut_modificationList").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 5){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_cityPowerCompany_upload","gaojing_cityPowerCompany_judgeRectification","gaojing_cityPowerCompany_handOut_modificationList"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_cityPowerCompany_upload_modificationList").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 6){
                divArr = ["gaojing_over","gaojing_cityPowerCompany_upload_modificationList","gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_cityPowerCompany_upload","gaojing_cityPowerCompany_judgeRectification","gaojing_cityPowerCompany_handOut_modificationList"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_over").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_cityPowerCompany_upload" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_upload_cityPowerCompany_judgeRectification" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_judgeRectification_cityPowerCompany_handOut_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("cityPowerCompany_handOut_modificationList_cityPowerCompany_upload_modificationList" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            }
        } else if (powerLever >=500){
            if (flowChartProgress === 0){
                divArr = ["gaojing_monitor_overStandard"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_diankeyuan_handOut,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: orange; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">判断中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    }
                }
            } else if (flowChartProgress === 1){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_judgeMonitor_over500,#gaojing_jianxiu_upload,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 2){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_jianxiu_upload").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over500_jianxiu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_jianxiu_judgeRectification,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 45px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 3){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_jianxiu_upload"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_jianxiu_judgeRectification").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over500_jianxiu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_upload_jianxiu_judgeRectification" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_handOut,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: orange; padding: 2px; border-radius: 5px; margin-left: 110px;margin-top: 20px; font-size: x-small;">现场测试</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 4){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_jianxiu_upload","gaojing_jianxiu_judgeRectification"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_shebeibu_handOut").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over500_jianxiu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_upload_jianxiu_judgeRectification" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 110px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_judgeRectification_shebeibu_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_shebeibu_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 0; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 5){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_jianxiu_upload","gaojing_jianxiu_judgeRectification","gaojing_shebeibu_handOut"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_shebeibu_upload").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over500_jianxiu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_upload_jianxiu_judgeRectification" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 110px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_judgeRectification_shebeibu_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 0px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("shebeibu_handOut_shebeibu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_over,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: red; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">进行中</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            } else if (flowChartProgress === 6){
                divArr = ["gaojing_monitor_overStandard","gaojing_judgeMonitor_over220","gaojing_diankeyuan_handOut","gaojing_judgeMonitor_over500","gaojing_jianxiu_upload","gaojing_jianxiu_judgeRectification","gaojing_shebeibu_handOut","gaojing_shebeibu_upload","gaojing_over"];
                for ( var i = 0; i <divArr.length; i++){
                    document.getElementById(divArr[i]).style.backgroundColor = '#006565';
                }
                $("#gaojing_over").removeClass('dim-color');
                for (let con in nowFlow) {
                    if ("monitor_overStandard_judgeMonitor_over220" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over220_diankeyuan_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("diankeyuan_handOut_judgeMonitor_over500" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 200px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("judgeMonitor_over500_jianxiu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 45px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_upload_jianxiu_judgeRectification" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 110px;margin-top: 20px; font-size: x-small;">测试完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("jianxiu_judgeRectification_shebeibu_handOut" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 75px;margin-top: 0px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                    if ("shebeibu_handOut_shebeibu_upload" === con) {
                        $("#gaojing_cityPowerCompany_upload,#gaojing_cityPowerCompany_handOut,#gaojing_cityPowerCompany_judgeRectification,#gaojing_cityPowerCompany_handOut_modificationList,#gaojing_cityPowerCompany_upload_modificationList").addClass('dim-color');
                        connections[con].addOverlay(['Custom', {
                            create: function (component) {
                                return $(`<p style="color: white; background-color: lawngreen; padding: 2px; border-radius: 5px; margin-left: 150px;margin-top: 20px; font-size: x-small;">已完成</p>`);
                            },
                            location: 1,
                            id: con
                        }]);
                    };
                }
            }
        }
    }


    /**
     * 流程图点击事件
     */
    /**
     * 220kv以下
     */
    $("#gaojing_cityPowerCompany_handOut").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 1 && powerLever<220){
                    //先去校验下事务数据，以及文档文件
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransaction",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success: function (data) {
                            if (data.code === 200) {
                                window.location.href = '/pqs9300/transaction/downTransactionWord?supIndex='+flowChartSupIndex;
                            } else {
                                layer.msg(data.message, {icon: 2, time: 1000});
                            }
                            ityzl_CLOSE_LOAD_LAYER(i);
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_cityPowerCompany_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 2 && powerLever<220){
                    parent.layer.open({
                        type: 2,
                        title: '告警反馈单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_cityPowerCompany_judgeRectification").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 3 && powerLever<220){
                    parent.layer.open({
                        type: 2,
                        title: '现场测试单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })



    $("#gaojing_cityPowerCompany_handOut_modificationList").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 4 && powerLever<220){
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransactionNotice",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success: function (data) {
                            if (data.code === 200) {
                                window.location.href = '/pqs9300/transaction/downTransactionWordNotice?supIndex='+flowChartSupIndex;
                            } else {
                                layer.msg(data.message, {icon: 2, time: 1000});
                            }
                            ityzl_CLOSE_LOAD_LAYER(i);
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_cityPowerCompany_upload_modificationList").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 5 && powerLever<220){
                    parent.layer.open({
                        type: 2,
                        title: '整改反馈单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })

    $("#gaojing_cityPowerCompany_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever<220){
                    flowChartProgress = 2;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    $("#gaojing_cityPowerCompany_judgeRectification").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever<220){
                    flowChartProgress = 3;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    $("#gaojing_cityPowerCompany_upload_modificationList").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever<220){
                    flowChartProgress = 5;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })
    /**
     * 220kv以下结束
     */

    /**
     * 220kv-500kv
     */
    $("#gaojing_diankeyuan_handOut").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 1 && powerLever>=220 && powerLever<500){
                    //先去校验下事务数据，以及文档文件
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransaction",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success: function (data) {
                            if (data.code === 200) {
                                window.location.href = '/pqs9300/transaction/downTransactionWord?supIndex='+flowChartSupIndex;
                            } else {
                                layer.msg(data.message, {icon: 2, time: 1000});
                            }
                            ityzl_CLOSE_LOAD_LAYER(i);
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })

    $("#gaojing_cityPowerCompany_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 2 && powerLever>=220 && powerLever<500){
                    parent.layer.open({
                        type: 2,
                        title: '告警反馈单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_cityPowerCompany_judgeRectification").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 3 && powerLever>=220 && powerLever<500){
                    parent.layer.open({
                        type: 2,
                        title: '现场测试单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })



    $("#gaojing_cityPowerCompany_handOut_modificationList").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 4 && powerLever>=220 && powerLever<500){
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransactionNotice",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success: function (data) {
                            if (data.code === 200) {
                                window.location.href = '/pqs9300/transaction/downTransactionWordNotice?supIndex='+flowChartSupIndex;
                            } else {
                                layer.msg(data.message, {icon: 2, time: 1000});
                            }
                            ityzl_CLOSE_LOAD_LAYER(i);
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_cityPowerCompany_upload_modificationList").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 5 && powerLever>=220 && powerLever<500){
                    parent.layer.open({
                        type: 2,
                        title: '整改反馈单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_cityPowerCompany_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever>=220 && powerLever<500){
                    flowChartProgress = 2;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    $("#gaojing_cityPowerCompany_judgeRectification").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever>=220 && powerLever<500){
                    flowChartProgress = 3;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    $("#gaojing_cityPowerCompany_upload_modificationList").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever>=220 && powerLever<500){
                    flowChartProgress = 5;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })
    /**
     * 220kv-500kv结束
     */

    /**
     * 500kv以上
     */
    $("#gaojing_diankeyuan_handOut").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 1 && powerLever>=500){
                    //先去校验下事务数据，以及文档文件
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransaction",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success: function (data) {
                            if (data.code === 200) {
                                window.location.href = '/pqs9300/transaction/downTransactionWord?supIndex='+flowChartSupIndex;
                            } else {
                                layer.msg(data.message, {icon: 2, time: 1000});
                            }
                            ityzl_CLOSE_LOAD_LAYER(i);
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })

    $("#gaojing_jianxiu_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 1 && powerLever>=500){
                    //先去校验下事务数据，以及文档文件
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransaction",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success(data) {
                            var arr = data.split("k");
                            var powerLeverString = arr[0];
                            var powerLever = Number(powerLeverString);
                            if (flowChartProgress === 2 && powerLever>=220 && powerLever<500){
                                parent.layer.open({
                                    type: 2,
                                    title: '告警反馈单',
                                    maxmin : false,
                                    area : ['100%' , '100%'],
                                    content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                                    scrollbar: false,
                                    end:function () {
                                        type=2;
                                        progress=7;
                                        refresh();
                                    }
                                })
                            }
                        }
                    })
                }
            }
        })
    })



    $("#gaojing_jianxiu_judgeRectification").on("click",function () {
        refresh();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 3 && powerLever>=500){
                    //先去校验下事务数据，以及文档文件
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransaction",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success(data) {
                            var arr = data.split("k");
                            var powerLeverString = arr[0];
                            var powerLever = Number(powerLeverString);
                            if (flowChartProgress === 2 && powerLever>=220 && powerLever<500){
                                parent.layer.open({
                                    type: 2,
                                    title: '现场测试单',
                                    maxmin : false,
                                    area : ['100%' , '100%'],
                                    content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                                    scrollbar: false,
                                    end:function () {
                                        type=2;
                                        progress=7;
                                        refresh();
                                    }
                                })
                            }
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_shebeibu_handOut").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 4 && powerLever>=500){
                    var i;
                    $.ajax({
                        type: "post",
                        url: "/pqs9300/transaction/checkTransactionNotice",
                        dataType: "json",
                        data: {
                            supIndex: flowChartSupIndex
                        },
                        beforeSend: function () {
                            i = ityzl_SHOW_LOAD_DOWNLOAD();
                        },
                        success: function (data) {
                            if (data.code === 200) {
                                window.location.href = '/pqs9300/transaction/downTransactionWordNotice?supIndex='+flowChartSupIndex;
                            } else {
                                layer.msg(data.message, {icon: 2, time: 1000});
                            }
                            ityzl_CLOSE_LOAD_LAYER(i);
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })


    $("#gaojing_shebeibu_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 5 && powerLever>=500){
                    parent.layer.open({
                        type: 2,
                        title: '整改反馈单',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/transaction/excuteNextStep?supIndex='+flowChartSupIndex+"&excuteStep=1"+"&stepCount="+flowChartProgress,
                        scrollbar: false,
                        end:function () {
                            type=2;
                            progress=7;
                            refresh();
                        }
                    })
                }
            }
        })
    })

    $("#gaojing_jianxiu_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever>=500){
                    flowChartProgress = 2;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    $("#gaojing_jianxiu_judgeRectification").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever>=500){
                    flowChartProgress = 3;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    $("#gaojing_shebeibu_upload").on("click",function () {
        getProgress();
        $.ajax({
            type: "post", // 以post方式发起请求
            url: "/pqs9300/flowChart/getPowerLever",
            data: { // 提交数据
                flowChartSupIndex: flowChartSupIndex,
            },
            success(data) {
                var arr = data.split("k");
                var powerLeverString = arr[0];
                var powerLever = Number(powerLeverString);
                if (flowChartProgress === 6 && powerLever>=500){
                    flowChartProgress = 5;
                    parent.layer.open({
                        type: 2,
                        title: '文件信息',
                        maxmin : false,
                        area : ['100%' , '100%'],
                        content: '/pqs9300/flowChart/openFlowChartData?supIndex='+flowChartSupIndex+'&excuteStep=1'+'&stepCount='+flowChartProgress,
                        scrollbar: false,
                    });
                }
            }
        })
    })

    /**
     * 500kv以上结束
     */

    /**
     * 点击事件小手显示
     */
    function clickStyle(power,progress) {
        if (power<220){
            if (progress === 1){
                document.getElementById("gaojing_cityPowerCompany_handOut").style.cursor = 'pointer';
            } else if (progress === 2){
                document.getElementById("gaojing_cityPowerCompany_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = 'pointer';
            } else if (progress === 3){
                document.getElementById("gaojing_cityPowerCompany_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = 'pointer';
            } else if (progress === 4){
                document.getElementById("gaojing_cityPowerCompany_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_handOut_modificationList").style.cursor = 'pointer';
            } else if (progress === 5){
                document.getElementById("gaojing_cityPowerCompany_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_handOut_modificationList").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload_modificationList").style.cursor = 'pointer';
            } else if (progress === 6){
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = 'pointer';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = 'pointer';
                document.getElementById("gaojing_cityPowerCompany_upload_modificationList").style.cursor = 'pointer';
            }
        } else if (power>=220 && power<500){
            if (progress === 1){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = 'pointer';
            } else if (progress === 2){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = 'pointer';
            } else if (progress === 3){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = 'pointer';
            } else if (progress === 4){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_handOut_modificationList").style.cursor = 'pointer';
            } else if (progress === 5){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_handOut_modificationList").style.cursor = '';
                document.getElementById("gaojing_cityPowerCompany_upload_modificationList").style.cursor = 'pointer';
            } else if (progress === 6){
                document.getElementById("gaojing_cityPowerCompany_upload").style.cursor = 'pointer';
                document.getElementById("gaojing_cityPowerCompany_judgeRectification").style.cursor = 'pointer';
                document.getElementById("gaojing_cityPowerCompany_upload_modificationList").style.cursor = 'pointer';
            }
        } else if (power>=500){
            if (progress === 1){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = 'pointer';
            } else if (progress === 2){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_jianxiu_upload").style.cursor = 'pointer';
            } else if (progress === 3){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_jianxiu_upload").style.cursor = '';
                document.getElementById("gaojing_jianxiu_judgeRectification").style.cursor = 'pointer';
            } else if (progress === 4){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_jianxiu_upload").style.cursor = '';
                document.getElementById("gaojing_jianxiu_judgeRectification").style.cursor = '';
                document.getElementById("gaojing_shebeibu_handOut").style.cursor = 'pointer';
            } else if (progress === 5){
                document.getElementById("gaojing_diankeyuan_handOut").style.cursor = '';
                document.getElementById("gaojing_jianxiu_upload").style.cursor = '';
                document.getElementById("gaojing_jianxiu_judgeRectification").style.cursor = '';
                document.getElementById("gaojing_shebeibu_handOut").style.cursor = '';
                document.getElementById("gaojing_shebeibu_upload").style.cursor = 'pointer';
            } else if (progress === 6){
                document.getElementById("gaojing_jianxiu_upload").style.cursor = 'pointer';
                document.getElementById("gaojing_jianxiu_judgeRectification").style.cursor = 'pointer';
                document.getElementById("gaojing_shebeibu_upload").style.cursor = 'pointer';
            }
        }
    }


</script>
</body>
</html>
