<!--
 * @Date: 2023-06-18 10:09:15
 * @LastEditors: zhubj
 * @LastEditTime: 2023-06-19 17:04:11
 * @Description: 头部注释
 * @FilePath: \own-vue3-vuecli-template\src\App.vue
-->
<template>
  <div
    id="screen"
    class="windLife blueSty"
    :class="!swichTheme ? 'themeDark' : 'themeLight'"
  >
    <common-header
      v-if="showHeader"
      @headerName="headerName"
      @swichFn="swichFn"
    ></common-header>
    <div class="mainSty">
      <div
        class="elmenuSty"
        :style="!swichTheme ? 'background: #000;' : 'background: #123081;'"
        v-if="isShowMenu"
      >
        <el-scrollbar height="90%">
          <el-menu
            :default-active="$route.path"
            router
            :unique-opened="true"
            :collapse="isCollapse"
            :collapse-transition="false"
            text-color="#fff"
            :background-color="!swichTheme ? '#000' : '#123081'"
            active-text-color="#fff"
            :style="`height:100%;${
              showMenuData?.[0]?.width && !isCollapse
                ? `width: ${showMenuData?.[0]?.width}`
                : ''
            }`"
            @select="selectMenuItem"
          >
            <!-- 引入组件 -->
            <template v-for="menu in showMenuData">
              <el-sub-menu
                :key="menu.index"
                :index="menu.index"
                v-if="menu.children"
                :disabled="menu.index === '' ? true : false"
              >
                <template #title>
                  <!-- <template v-if="menu.svg">
                                    <div v-html="menu.svg" style="display:flex"></div>
                                </template>
                                <span style="margin-left: 10px" class="chSpna">{{menu.name}}</span> -->
                  <div class="elGrounpTitleAll" v-if="!isCollapse">
                    <div v-html="menu.svg" class="svgSty"></div>
                    <span style="margin-left: 10px" class="chSpna">{{
                      menu.name
                    }}</span>
                  </div>
                  <div class="elGrounpTitle" v-else>
                    <div v-html="menu.svg" class="svgSty"></div>
                  </div>
                </template>
                <el-menu-item-group
                  v-for="(menuitem, index) in menu.children"
                  :key="index"
                  class="elsubMenu"
                >
                  <el-menu-item :index="menuitem.index" class="grounpItem">
                    <span class="grounpItemSty"></span>
                    <span class="grounpItemSpan">{{ menuitem.name }}</span>
                  </el-menu-item>
                </el-menu-item-group>
              </el-sub-menu>
              <el-menu-item
                :key="menu.index"
                :index="menu.index"
                :route="menu.index"
                v-else
                class="noGrounpItem"
                :style="noGrounpItemFn(menu.index)"
              >
                <div class="elMenuTitle elMenuTitleAll" v-if="!isCollapse">
                  <div v-html="menu.svg" class="svgSty"></div>
                  <p style="margin-left: 10px">{{ menu.name }}</p>
                </div>
                <div class="elMenuTitle" v-else>
                  <div v-html="menu.svg" style="display: flex"></div>
                </div>
                <!-- <template #title>
                                <span style="margin-left: 10px">{{menu.name}}</span>
                            </template> -->
              </el-menu-item>
            </template>
          </el-menu>
        </el-scrollbar>

        <ul class="menu-list">
          <li class="menu-item" @click="isCollapseFn">
            <!-- <svg v-if="isCollapse" t="1711618760962" class="icon" viewBox="0 0 1024 1024" version="1.1"
                            xmlns="http://www.w3.org/2000/svg" p-id="97222" width="25" height="25">
                            <path
                                d="M937.387 488.107L772.267 372.48c-12.8-9.387-30.294-6.827-40.107 5.547-3.84 4.693-5.547 10.666-5.547 17.066v233.814c0 22.613 25.6 36.693 45.654 22.613l165.546-115.627c14.08-14.08 14.08-36.693-0.426-47.786z m-23.04-274.774H129.28c-18.773 0-34.133-15.36-34.133-34.133s15.36-34.133 34.133-34.133h785.067c18.773 0 34.133 15.36 34.133 34.133s-14.933 34.133-34.133 34.133z m0 665.6H129.28c-18.773 0-34.133-15.36-34.133-34.133s15.36-34.133 34.133-34.133h785.067c18.773 0 34.133 15.36 34.133 34.133s-14.933 34.133-34.133 34.133zM624.213 435.2H129.28c-18.773 0-34.133-15.36-34.133-34.133s15.36-34.134 34.133-34.134h494.933c18.774 0 34.134 15.36 34.134 34.134S643.413 435.2 624.213 435.2z m0.427 221.867H129.28c-18.773 0-34.133-15.36-34.133-34.134s15.36-34.133 34.133-34.133h495.36c18.773 0 34.133 15.36 34.133 34.133v0.427c-0.426 18.347-15.36 33.707-34.133 33.707z"
                                fill="#ffffff" p-id="97223"></path>
                        </svg>
                        <svg v-else t="1711618837526" class="icon" viewBox="0 0 1024 1024" version="1.1"
                            xmlns="http://www.w3.org/2000/svg" p-id="98352" width="25" height="25">
                            <path
                                d="M106.24 535.893L271.787 651.52c20.053 14.08 45.653 0 45.653-22.613V395.093c0-5.973-2.133-11.946-5.547-17.066-9.386-12.374-27.306-14.934-40.106-5.547L106.24 488.107c-14.08 11.093-14.08 33.706 0 47.786z m23.04-322.56h785.067c18.773 0 34.133-15.36 34.133-34.133s-15.36-34.133-34.133-34.133H129.28c-18.773 0-34.133 15.36-34.133 34.133s15.36 34.133 34.133 34.133z m0 665.6h785.067c18.773 0 34.133-15.36 34.133-34.133s-15.36-34.133-34.133-34.133H129.28c-18.773 0-34.133 15.36-34.133 34.133s15.36 34.133 34.133 34.133zM419.413 435.2h494.934c18.773 0 34.133-15.36 34.133-34.133s-15.36-34.134-34.133-34.134H419.413c-18.773 0-34.133 15.36-34.133 34.134s15.36 34.133 34.133 34.133z m0 221.867h495.36c18.774 0 34.134-15.36 34.134-34.134s-15.36-34.133-34.134-34.133h-495.36c-18.773 0-34.133 15.36-34.133 34.133v0.427c0 18.347 15.36 33.707 34.133 33.707z"
                                fill="#ffffff" p-id="98353"></path>
                        </svg> -->
            <div v-if="!swichTheme">
              <img :src="right_B" alt="" v-if="isCollapse" />
              <img :src="left_B" alt="" v-else />
            </div>
            <div v-else>
              <img :src="right_W" alt="" v-if="isCollapse" />
              <img :src="left_W" alt="" v-else />
            </div>
          </li>
        </ul>
      </div>
      <!-- :style="{ paddingLeft: fixed ? '65px' : 0 }"  :style="{ paddingLeft: isShowMenu ? '65px' : 0 }"-->
      <!-- :style="pagestyFn()"  :class="pageClaFn()" -->
      <div class="pageSty" :style="pagestyFn(routepath)">
        <router-view />
      </div>
    </div>
    <div class="appProgress" :class="showReadyProgress ? 'show' : 'hidden'">
      <el-progress
        :percentage="$store.state.readyProgress"
        :status="progressType"
        stroke-width="100%"
        :duration="30"
        striped
        striped-flow
      >
        <span>{{ progressFormat($store.state.readyProgress) }}</span>
      </el-progress>
    </div>
  </div>
</template>

<script>
import MenuTree from "@/components/menuTreeconfig.vue";
import commonHeader from "@/components/commonHeaders.vue";
// 发电能力分析
import gener_agcfx from "@/assets/menuImg/gener_agcfx.png";
import gener_dfpcfx from "@/assets/menuImg/gener_dfpcfx.png";
import gener_fdsjcl from "@/assets/menuImg/gener_fdsjcl.png";
import gener_fdsjzb from "@/assets/menuImg/gener_fdsjzb.png";
import gener_fxbg from "@/assets/menuImg/gener_fxbg.png";
import gener_glqxnhfx from "@/assets/menuImg/gener_glqxnhfx.png";
import gener_jjjfx from "@/assets/menuImg/gener_jjjfx.png";
import gener_mrlfx from "@/assets/menuImg/gener_mrlfx.png";
import gener_qxpclfx from "@/assets/menuImg/gener_qxpclfx.png";
import gener_ssdlfx from "@/assets/menuImg/gener_ssdlfx.png";
import gener_wdyglfx from "@/assets/menuImg/gener_wdyglfx.png";
import gener_wgxzfx from "@/assets/menuImg/gener_wgxzfx.png";
// 功率预测
import power_dlyc from "@/assets/menuImg/power_dlyc.png";
import power_glyc from "@/assets/menuImg/power_glyc.png";
import power_gy from "@/assets/menuImg/power_gy.png";
import power_qjgl from "@/assets/menuImg/power_qjgl.png";
import power_tjhz from "@/assets/menuImg/power_tjhz.png";
import power_tqyb from "@/assets/menuImg/power_tqyb.png";
// 智能报表
import report_bbjb from "@/assets/menuImg/report_bbjb.png";
import report_bbsb from "@/assets/menuImg/report_bbsb.png";
import report_czzybb from "@/assets/menuImg/report_czzybb.png";
import report_erp from "@/assets/menuImg/report_erp.png";
import report_gkjlb from "@/assets/menuImg/report_gkjlb.png";
import report_zhbb from "@/assets/menuImg/report_zhbb.png";
import report_yxqk from "@/assets/menuImg/report_yxqk.png";
import report_fyfsdl from "@/assets/menuImg/report_fyfsdl.png";
import report_fdscqk from "@/assets/menuImg/report_fdscqk.png";
import report_pjfs from "@/assets/menuImg/report_pjfs.png";
// 锁
import pro_suo from "@/assets/menuImg/pro_suo.png";
import pro_jie from "@/assets/menuImg/pro_jie.png";
//收缩展开
import right_B from "@/assets/images/headerCom/right_B.png";
import left_B from "@/assets/images/headerCom/left_B.png";
import right_W from "@/assets/images/headerCom/right_W.png";
import left_W from "@/assets/images/headerCom/left_W.png";

import dayjs from "dayjs";
import {
  alarm_history,
  fetchStationListAll,
  getAllStation,
} from "@/api/zhbj/index.js";
import { ElNotification } from "element-plus";

export default {
  components: {
    commonHeader,
    MenuTree,
  },
  data() {
    return {
      progressType: "primary",
      showReadyProgress: false,
      showHeader: false,
      isShowMenu: false,
      isCollapse: false,
      showMenuData: [],
      proSuo: pro_suo,
      proJie: pro_jie,
      right_B: right_B,
      right_W: right_W,
      left_B: left_B,
      left_W: left_W,
      powerPreDatas: [
        {
          index: "/powerPrediction/index",
          icon: "Coin",
          img: power_gy,
          svg: `<svg t="1711618295253" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="79792" width="25" height="25"><path d="M545.066667 420.373333a32 32 0 0 1-22.624-54.634666l197.024-197.013334a32 32 0 0 1 45.248 45.258667L567.690667 411.008a31.936 31.936 0 0 1-22.624 9.365333zM635.626667 510.933333a31.978667 31.978667 0 0 1-22.624-54.624l197.013333-197.013333a31.978667 31.978667 0 0 1 45.248 0 31.978667 31.978667 0 0 1 0 45.248l-197.013333 197.013333a31.904 31.904 0 0 1-22.624 9.376zM903.36 670.293333c0-0.32-0.106667-0.64-0.106667-0.96-0.213333-1.173333-0.426667-2.24-0.746666-3.306666-0.426667-1.386667-0.853333-2.773333-1.493334-4.16a8.074667 8.074667 0 0 0-0.96-1.92c-2.346667-4.693333-5.973333-8.853333-10.453333-11.84a9.216 9.216 0 0 0-1.706667-1.066667c-2.346667-1.493333-5.12-2.666667-8-3.413333l-339.413333-90.88-0.96-0.32h-0.213333c-1.066667-0.32-2.133333-0.533333-3.2-0.746667a32.256 32.256 0 0 0-15.146667 1.386667c-1.173333 0.32-2.24 0.746667-3.306667 1.28a39.658667 39.658667 0 0 0-6.933333 4.373333c-0.746667 0.746667-1.493333 1.386667-2.133333 2.026667a1.28 1.28 0 0 0-0.533334 0.533333L259.306667 810.026667c-0.32 0.32-0.533333 0.533333-0.746667 0.853333-0.96 0.96-1.813333 2.026667-2.56 3.093333-1.066667 1.386667-1.92 2.88-2.666667 4.373334-0.746667 1.493333-1.386667 3.093333-1.92 4.693333-0.533333 1.493333-0.853333 3.093333-1.066666 4.693333-0.32 1.706667-0.426667 3.306667-0.426667 4.906667 0 1.28 0.106667 2.453333 0.213333 3.733333 0.106667 1.173333 0.32 2.453333 0.64 3.626667 0.32 1.173333 0.64 2.346667 1.066667 3.52 0.426667 1.173333 0.96 2.346667 1.493333 3.413333 0.533333 1.173333 1.173333 2.24 1.813334 3.306667 0.746667 1.066667 1.493333 2.026667 2.346666 2.986667 0.853333 0.96 1.706667 1.92 2.666667 2.773333 0.96 0.96 2.026667 1.813333 3.093333 2.56 0.746667 0.533333 1.6 1.066667 2.346667 1.6 42.133333 30.186667 88.96 51.84 139.093333 64.853333C439.68 934.08 475.733333 938.666667 512 938.666667c14.186667 0 28.373333-0.746667 42.133333-2.026667 14.186667-1.493333 27.84-3.52 40.746667-6.08 32.213333-6.293333 63.466667-16.32 92.906667-29.76a426.133333 426.133333 0 0 0 212.693333-212.373333c0.213333-0.426667 0.426667-0.96 0.64-1.493334 0.533333-1.066667 0.96-2.24 1.173333-3.413333 0.32-0.746667 0.533333-1.493333 0.64-2.346667 0.32-1.066667 0.426667-2.24 0.533334-3.306666 0.213333-1.066667 0.213333-2.133333 0.213333-3.306667 0-1.493333-0.106667-2.88-0.32-4.266667z m-242.133333 172.266667a351.434667 351.434667 0 0 1-113.493334 30.293333c-41.493333 4.16-85.76 0.96-127.04-9.706666-30.933333-8.106667-60.48-20.16-88.106666-35.946667l208.106666-208.106667 284.266667 76.053334a362.368 362.368 0 0 1-163.733333 147.413333z" p-id="79793" fill="#33CAB7"></path><path d="M260.16 856a16.394667 16.394667 0 0 1-2.666667-2.773333c0.853333 0.96 1.706667 1.92 2.666667 2.773333zM506.773333 277.12a31.978667 31.978667 0 0 1-22.624-54.624l112.96-112.96a31.978667 31.978667 0 0 1 45.248 0 31.978667 31.978667 0 0 1 0 45.248l-112.96 112.96a31.904 31.904 0 0 1-22.624 9.376zM787.306667 551.466667a32 32 0 0 1-22.624-54.634667L871.466667 390.058667a32 32 0 0 1 45.248 45.258666l-106.784 106.773334a31.904 31.904 0 0 1-22.624 9.376zM472.32 487.893333c-0.213333-1.066667-0.426667-2.133333-0.746667-3.2v-0.213333l-0.32-0.96-90.88-339.413333-0.32-1.173334c-0.746667-2.453333-1.813333-4.8-3.093333-6.826666a9.216 9.216 0 0 0-1.066667-1.706667c0-0.106667-0.106667-0.213333-0.106666-0.213333-0.64-0.96-1.28-1.813333-2.133334-2.666667a31.36 31.36 0 0 0-10.026666-7.893333c-0.533333-0.213333-0.96-0.426667-1.493334-0.64-1.386667-0.64-2.666667-1.173333-4.16-1.493334-1.066667-0.32-2.133333-0.533333-3.306666-0.746666-0.32-0.106667-0.64-0.106667-0.96-0.106667-1.386667-0.213333-2.773333-0.32-4.266667-0.32-1.066667 0-2.24 0-3.306667 0.213333-1.066667 0.106667-2.24 0.213333-3.306666 0.533334l-1.6 0.32-1.173334 0.32c-1.706667 0.533333-3.306667 1.173333-4.8 1.92A426.56 426.56 0 0 0 123.2 336.213333a417.333333 417.333333 0 0 0-32.213333 106.666667c-1.706667 10.24-2.88 18.88-3.52 26.986667-1.386667 13.76-2.133333 27.946667-2.133334 42.133333 0 39.36 5.44 78.506667 16.106667 116.48 13.44 47.253333 34.666667 91.306667 63.146667 131.093333 0.64 0.96 1.28 1.92 2.133333 2.773334 0.533333 0.746667 1.173333 1.493333 1.813333 2.133333l0.213334 0.213333c1.493333 1.6 3.2 2.986667 5.013333 4.16 1.066667 0.64 2.133333 1.28 3.2 1.813334 1.173333 0.64 2.346667 1.066667 3.52 1.493333 1.066667 0.426667 2.346667 0.746667 3.52 1.066667 1.173333 0.32 2.453333 0.533333 3.626667 0.64 1.28 0.106667 2.453333 0.213333 3.733333 0.213333 1.386667 0 2.88-0.106667 4.266667-0.32 0.426667 0 0.746667-0.106667 1.066666-0.106667 1.386667-0.213333 2.88-0.64 4.266667-1.066666 1.6-0.533333 3.2-1.066667 4.693333-1.92 1.493333-0.746667 2.986667-1.6 4.373334-2.666667 0.853333-0.64 1.706667-1.28 2.453333-1.92 0.533333-0.426667 1.066667-0.96 1.493333-1.386667l248.746667-248.746666a1.28 1.28 0 0 0 0.533333-0.533334c0.64-0.64 1.28-1.386667 2.026667-2.133333a36.874667 36.874667 0 0 0 4.373333-6.933333c0.533333-1.066667 0.96-2.133333 1.28-3.306667 0.32-0.853333 0.533333-1.6 0.746667-2.453333 0.213333-0.853333 0.426667-1.706667 0.533333-2.56 0.533333-3.306667 0.64-6.72 0.106667-10.133334zM196.8 691.413333a362.133333 362.133333 0 0 1-33.813333-80.32C153.92 578.773333 149.333333 545.493333 149.333333 512c0-12.053333 0.64-24.106667 1.813334-36.16 0.533333-6.72 1.493333-13.76 2.986666-22.613333C159.146667 421.973333 168.32 391.466667 181.44 362.666667c31.146667-68.8 82.773333-125.866667 147.413333-163.626667l76.053334 284.266667-208.106667 208.106666zM902.933333 681.173333c0 0.533333-0.213333 1.066667-0.32 1.6-0.106667 0.213333-0.106667 0.533333-0.32 0.746667 0.32-0.746667 0.533333-1.493333 0.64-2.346667z" p-id="79794" fill="#33CAB7"></path><path d="M472.330667 118.997333m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z" p-id="79795" fill="#33CAB7"></path><path d="M906.666667 554.666667m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z" p-id="79796" fill="#33CAB7"></path></svg>`,
          name: "概要",
        },
        {
          index: "/powerPrediction/panoramicPower",
          icon: "DataBoard",
          img: power_qjgl,
          svg: `<svg t="1711618331892" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="81128" width="25" height="25"><path d="M640.064 298.432V54.848l35.328 3.776c184.512 19.648 311.424 64.576 316.48 135.36h0.128l-0.128 572.992 0.128 2.944c0 122.688-206.528 214.912-445.44 223.36l-17.472 0.512L512 993.92c-238.08 0-456.192-85.504-478.272-205.632l-1.28-9.024L32 769.92V194.048l0.256-0.064 0.128-2.56C39.808 126.72 150.08 84.032 312.96 62.72l35.648-4.16 35.392-3.776v243.584a1085.44 1085.44 0 0 0 256.128 0z m83.776 328.064l-199.68 199.808-109.376-109.312-170.56 170.624c67.712 23.488 152.896 39.488 242.88 41.984l24.64 0.32 16.448-0.128c174.848-3.2 330.56-57.152 381.952-117.12L723.84 626.56zM95.936 281.408v486.912l0.32 6.144c3.008 30.208 34.432 60.544 84.288 86.336l234.304-234.24 109.248 109.184 199.808-199.68 204.16 204.096-0.128-458.624c-45.44 27.392-112 50.112-190.528 65.92-16.96 3.584-34.56 6.72-52.48 9.536L640 363.328c-23.168 2.368-46.912 4.16-70.976 5.312l-36.224 1.216L512 370.048c-43.52 0-86.656-2.496-128.128-7.104l0.064 0.384-16.192-2.304a1017.088 1017.088 0 0 1-80.64-13.44c-78.72-15.872-145.664-38.656-191.168-66.176zM256 448a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m448-321.472v161.984l9.088-1.664c18.56-3.648 36.416-7.68 53.376-12.032 63.36-16.832 113.92-39.296 141.696-64.384l6.464-6.272 9.472-10.112h2.432c-11.264-18.112-87.744-46.272-195.712-63.552L704 126.528zM319.872 288.512V126.528l-11.264 1.6c-116.032 17.024-199.296 46.912-211.2 65.92h2.496l9.472 10.112c26.048 27.712 80.128 52.672 149.376 70.912 11.84 3.072 24.192 5.952 36.864 8.64l24.256 4.8z" fill="#33CAB7" p-id="81129"></path></svg>`,
          name: "全景功率",
        },
        {
          index: "/powerPrediction/power",
          icon: "DataAnalysis",
          img: power_glyc,
          svg: `<svg t="1711618562514" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="89904" width="25" height="25"><path d="M512 914.3c-230.9 0-418.7-187.8-418.7-418.7S281.1 77 512 77s418.7 187.8 418.7 418.7S742.9 914.3 512 914.3z m0-764c-190.4 0-345.3 154.9-345.3 345.3S321.6 841 512 841s345.3-154.9 345.3-345.3S702.4 150.3 512 150.3z" fill="#33CAB7" p-id="89905"></path><path d="M509.5 625.5c-0.8 0-1.5 0-2.3-0.1-11.7-0.7-22.4-7.1-28.7-17l-59.3-93.8L336 607c-13.6 15-36.7 16.3-51.8 2.7-15-13.6-16.2-36.7-2.7-51.8l115.7-128.4c7.7-8.5 19-12.9 30.4-12 11.4 1 21.8 7.2 27.9 16.9l58.1 91.9L635 379.1c7-8.4 17.3-13.3 28.3-13.3h52c20.3 0 36.7 16.4 36.7 36.7 0 20.3-16.4 36.7-36.7 36.7h-34.7l-142.7 173c-7.1 8.5-17.4 13.3-28.4 13.3z" fill="#33CAB7" p-id="89906"></path></svg>`,
          name: "功率预测",
        },
        {
          index: "/powerPrediction/batteryDiviner",
          icon: "DataLine",
          img: power_dlyc,
          svg: `<svg t="1711618583905" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="90211" width="25" height="25"><path d="M510.208 0.256C227.5072 0.256 0.256 230.0672 0.256 510.208c0 280.2176 229.7856 512.4608 509.952 512.4608 280.2176 0 512.4608-229.76 512.4608-512.4352C1022.6688 227.4816 792.9088 0.256 510.2336 0.256z m0 959.3088c-247.3984 0-449.3824-201.984-449.3824-449.3312 0-247.424 201.984-449.408 449.408-449.408 247.3472 0 449.28 201.984 449.28 449.408 0 247.3472-201.9328 449.28-449.28 449.28v0.0512z" fill="#33CAB7" p-id="90212"></path><path d="M732.3648 323.4048l-111.104 355.9168-78.2592-477.1328-63.104-2.56-68.1728 280.32h-52.992l-27.776 20.1728-17.664 52.992-50.4832-176.64-58.0608-2.56-42.88 105.984H131.4816v63.104h50.4832l30.2848-20.1728 15.1552-40.3712 50.5088 186.8032 60.544 2.56 42.9312-128.8192h52.992l30.336-25.216 40.32-153.984 75.776 454.4 60.6208 5.0432 121.1392-378.6752 20.224 75.6992 30.2848 22.7328h75.6992v-63.104h-50.432l-45.44-153.984z" fill="#33CAB7" p-id="90213"></path></svg>`,
          name: "电量预测",
        },
        {
          index: "/powerPrediction/statisticalSummary",
          icon: "Tickets",
          img: power_tjhz,
          svg: `<svg t="1711618680641" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="96088" width="25" height="25"><path d="M322.06 98.4m6.19 0l299.01 0q6.19 0 6.19 6.19l0 102.85q0 6.19-6.19 6.19l-299.01 0q-6.19 0-6.19-6.19l0-102.85q0-6.19 6.19-6.19Z" fill="#33CAB7" p-id="96089"></path><path d="M483.19 752.83c0-120.47 98.65-218.13 220.36-218.13a221.06 221.06 0 0 1 109 28.52c-0.38-181.64-0.5-367.3-0.5-367.3a22.24 22.24 0 0 0-22.19-22.17H670.39v54.65a22.25 22.25 0 0 1-22.2 22.18H307.31a22.25 22.25 0 0 1-22.19-22.18v-54.65H165.64a22.24 22.24 0 0 0-22.19 22.17v700.72a22.24 22.24 0 0 0 22.19 22.17h395c-47.42-40.01-77.45-99.52-77.45-165.98z m-215.8-366.06a10.33 10.33 0 0 1 10.3-10.3h400.12a10.33 10.33 0 0 1 10.3 10.3v54.9a10.33 10.33 0 0 1-10.3 10.3H277.69a10.33 10.33 0 0 1-10.3-10.3zM482.9 617.71A10.32 10.32 0 0 1 472.6 628H277.69a10.32 10.32 0 0 1-10.3-10.29V562.8a10.32 10.32 0 0 1 10.3-10.29H472.6a10.32 10.32 0 0 1 10.3 10.29z" fill="#33CAB7" p-id="96090"></path><path d="M703.55 768.1a15.36 15.36 0 0 1-15.44-15.27v-175c-90.81 7.69-162.11 83.1-162.11 175 0 97 79.48 175.71 177.52 175.71 92.83 0 169-70.55 176.83-160.44z" fill="#33CAB7" p-id="96091"></path><path d="M719 737.55h161.4C873 652.7 804.7 585.09 719 577.78z" fill="#33CAB7" p-id="96092"></path></svg>`,
          name: "统计汇总",
        },
        {
          index: "/powerPrediction/stationPowerContro",
          icon: "Tickets",
          img: power_tjhz,
          svg: `<svg t="1711617136510" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="53900" width="25" height="25"><path d="M768 960H128c-17.67 0-32-14.33-32-32V224c0-17.67 14.33-32 32-32h640c17.67 0 32 14.33 32 32v704c0 17.67-14.33 32-32 32z m-608-64h576V256H160v640z" p-id="53901" fill="#33CAB7"></path><path d="M896 864c-17.67 0-32-14.33-32-32V128H225c-17.67 0-32-14.33-32-32s14.33-32 32-32h671c17.67 0 32 14.33 32 32v736c0 17.67-14.33 32-32 32zM288 832h-64V608c0-17.67 14.33-32 32-32s32 14.33 32 32v224zM480 832h-64V672c0-17.67 14.33-32 32-32s32 14.33 32 32v160z" p-id="53902" fill="#33CAB7"></path><path d="M672 832h-64V544c0-17.67 14.33-32 32-32s32 14.33 32 32v288z" p-id="53903" fill="#33CAB7"></path><path d="M448.02 512c-9.07 0-18.03-3.84-24.31-11.18L352 417.17l-71.7 83.65c-11.5 13.42-31.7 14.97-45.12 3.47-13.42-11.5-14.97-31.7-3.47-45.12l96-112a32 32 0 0 1 24.3-11.17 32 32 0 0 1 24.3 11.17l77.55 90.47 168.41-112.27c14.7-9.8 34.57-5.83 44.38 8.88 9.8 14.71 5.83 34.57-8.88 44.38l-192 128a32.008 32.008 0 0 1-17.75 5.37z" p-id="53904" fill="#33CAB7"></path></svg>`,
          name: "长期预测",
        },
        {
          index: "/powerPrediction/detailedRules",
          icon: "Tickets",
          img: power_tjhz,
          svg: `<svg t="1711616550762" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="28474" width="25" height="25"><path d="M554.666667 341.333333v128h85.333333l-128 213.333334V554.666667h-85.333333l128-213.333334z m384 170.666667c0 234.666667-192 426.666667-426.666667 426.666667S85.333333 746.666667 85.333333 512 277.333333 85.333333 512 85.333333v128c-166.4 0-298.666667 132.266667-298.666667 298.666667s132.266667 298.666667 298.666667 298.666667 298.666667-132.266667 298.666667-298.666667h128z m-46.933334 42.666667h-42.666666c-21.333333 166.4-166.4 298.666667-337.066667 298.666666-187.733333 0-341.333333-153.6-341.333333-341.333333C170.666667 337.066667 302.933333 196.266667 469.333333 174.933333v-42.666666C277.333333 153.6 128 315.733333 128 512c0 213.333333 170.666667 384 384 384 196.266667 0 358.4-149.333333 379.733333-341.333333z m-89.6-106.666667l123.733334-29.866667C891.733333 256 763.733333 128 601.6 93.866667l-29.866667 123.733333c119.466667 29.866667 204.8 115.2 230.4 230.4z" fill="" p-id="28475"></path></svg>`,
          name: "双细则考核",
        },
        {
          index: "/powerPrediction/weather",
          icon: "Sunrise",
          img: power_tqyb,
          svg: `<svg t="1711618606884" class="icon" viewBox="0 0 1204 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="91447" width="25" height="25"><path d="M882.526316 286.796992q-17.323308 17.323308-42.345865 17.323308t-42.345865-17.323308q-18.285714-18.285714-18.285714-42.827068t18.285714-42.827068l42.345865-42.345865q17.323308-17.323308 42.345865-17.323308t42.345865 17.323308q18.285714 17.323308 18.285714 42.345865t-18.285714 43.308271zM250.225564 611.12782q-3.849624-16.360902-6.255639-33.684211t-2.406015-35.609023q0-61.593985 23.578947-116.451128t64.481203-95.278195 95.278195-64 116.932331-23.578947q72.180451 0 132.330827 30.796992t101.533835 82.766917q-31.759398 6.736842-61.593985 14.43609t-57.744361 23.097744q-24.06015-19.24812-52.451128-27.428571t-62.075188-8.180451q-38.496241 0-71.699248 14.43609t-58.225564 39.458647-39.458647 58.706767-14.43609 71.218045q0 27.909774 6.736842 49.082707-30.796992 0-58.706767 5.293233t-55.819549 14.917293zM541.834586 180.932331q-25.022556 0-42.827068-17.804511t-17.804511-42.827068l0-59.669173q0-25.022556 17.804511-42.827068t42.827068-17.804511 42.827068 17.804511 17.804511 42.827068l0 59.669173q0 25.022556-17.804511 42.827068t-42.827068 17.804511zM158.796992 244.451128q-18.285714-18.285714-18.285714-43.308271t18.285714-42.345865q17.323308-17.323308 42.345865-17.323308t42.345865 17.323308l42.345865 42.345865q18.285714 18.285714 18.285714 42.827068t-18.285714 42.827068q-17.323308 17.323308-42.345865 17.323308t-42.345865-17.323308zM853.654135 421.533835q69.293233 0 132.81203 27.428571t111.639098 74.105263 76.511278 109.233083 28.390977 131.849624q0 56.781955-12.511278 100.090226t-37.533835 88.541353q-12.511278 22.135338-27.909774 35.609023t-32.240602 21.654135-34.165414 11.067669-34.646617 2.887218l-783.398496 0q-21.172932 0-42.345865-13.954887t-38.496241-35.12782-27.909774-47.157895-10.586466-50.045113q0-103.93985 56.781955-159.759398t150.135338-55.819549q22.135338 0 39.458647 2.887218t32.240602 8.180451 29.834586 13.954887 32.240602 20.210526q10.586466-59.669173 42.345865-111.639098t82.285714-90.947368 117.894737-61.112782 149.172932-22.135338zM1024 905.62406q22.135338-6.736842 42.345865-42.345865t20.210526-99.12782q0-48.120301-17.323308-89.503759t-48.120301-71.218045-72.180451-46.676692-89.503759-16.842105-84.210526 7.699248-63.037594 19.24812-45.233083 25.984962-30.796992 26.947368q-12.511278 13.473684-25.022556 31.759398t-22.135338 38.496241-14.43609 40.421053-1.924812 35.609023q3.849624 27.909774-10.586466 47.157895t-37.052632 27.428571-47.639098 3.849624-42.345865-23.578947-41.864662-29.834586-61.112782-10.586466q-29.834586 0-48.601504 4.330827t-29.353383 13.473684-14.43609 23.097744-3.849624 32.240602q0 15.398496 6.736842 25.503759t17.804511 15.879699 24.541353 8.180451 26.947368 2.406015l712.180451 0zM179.969925 541.834586q0 25.022556-17.323308 42.827068t-42.345865 17.804511l-60.631579 0q-25.022556 0-42.345865-17.804511t-17.323308-42.827068 17.323308-42.345865 42.345865-17.323308l60.631579 0q25.022556 0 42.345865 17.323308t17.323308 42.345865z" p-id="91448" fill="#33CAB7"></path></svg>`,
          name: "天气预报",
        },
      ],
      intelligentReportDatas: [
        {
          icon: "ScaleToOriginal",
          index: "/intelligentReport/gkjlb",
          img: report_gkjlb,
          svg: `<svg t="1711617035449" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="48947" width="25" height="25"><path d="M248.32 845.312l61.44-81.92C242.688 707.072 199.68 622.08 199.68 527.36c0-169.472 137.728-307.2 307.2-307.2s307.2 137.728 307.2 307.2c0 94.72-43.008 179.712-110.592 236.032l61.44 81.92c92.16-75.264 151.04-189.44 151.04-317.952 0-226.304-183.296-409.6-409.6-409.6s-409.6 183.296-409.6 409.6c0.512 128 59.392 242.688 151.552 317.952z" fill="#33CAB7" p-id="48948"></path><path d="M199.68 527.36c0-169.472 137.728-307.2 307.2-307.2 63.488 0 122.368 19.456 171.52 52.224l60.928-82.432C672.768 144.384 592.896 117.76 506.88 117.76c-226.304 0-409.6 183.296-409.6 409.6 0 128 58.88 242.688 151.04 317.952l61.44-81.92C242.688 707.072 199.68 622.08 199.68 527.36z" fill="#33CAB7" p-id="48949"></path><path d="M563.712 561.664c5.632-7.68 9.216-15.872 11.776-24.576l169.472-361.984-286.72 278.528c-7.168 5.12-13.824 11.264-19.456 18.944-24.576 34.304-16.384 82.432 17.92 107.008 34.304 24.576 82.432 16.384 107.008-17.92z" fill="#33CAB7" p-id="48950"></path></svg>`,
          name: "关口计量表",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzhuang",
              index: "/intelligentReport/gkjlb?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/gkjlb?name=jiliangshan",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "zuozhuang",
              index: "/intelligentReport/gkjlb?name=zuozhuang",
            },
            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/gkjlb?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/gkjlb?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/gkjlb?name=leijiashan",
            },
          ],
        },
        {
          icon: "Memo",
          index: "/intelligentReport/zhbb?name=zhbb",
          img: report_zhbb,
          svg: `<svg t="1711617175108" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="55166" width="25" height="25"><path d="M800 32h-576a128 128 0 0 0-128 128v704a128 128 0 0 0 128 128h576a128 128 0 0 0 128-128v-704a128 128 0 0 0-128-128z m64 832a64 64 0 0 1-64 64h-576a64 64 0 0 1-64-64v-704a64 64 0 0 1 64-64h576a64 64 0 0 1 64 64v704z" fill="#33CAB7" p-id="55167"></path><path d="M736 736h-448a32 32 0 0 0 0 64h448a32 32 0 0 0 0-64zM736 576h-448a32 32 0 0 0 0 64h448a32 32 0 0 0 0-64zM736 192a64 64 0 0 0-64 64c0 5.568 1.792 10.496 3.136 15.616L591.616 355.136C586.496 353.792 581.568 352 576 352c-4.608 0-8.704 1.664-12.992 2.624l-53.632-53.632C510.336 296.704 512 292.608 512 288a64 64 0 1 0-128 0c0 5.568 1.792 10.496 3.136 15.616L303.616 387.136C298.496 385.792 293.568 384 288 384a64 64 0 1 0 0 128 64 64 0 0 0 64-64c0-5.568-1.792-10.496-3.136-15.616l83.52-83.52c5.12 1.344 10.048 3.136 15.616 3.136 5.248 0 9.856-1.792 14.72-3.008l52.288 52.288C513.792 406.144 512 410.752 512 416a64 64 0 1 0 128 0c0-5.568-1.792-10.496-3.136-15.616l83.52-83.52c5.12 1.344 10.048 3.136 15.616 3.136a64 64 0 1 0 0-128z" fill="#33CAB7" p-id="55168"></path></svg>`,
          // name: '新能源公司综合报表'
          name: "国能陕西新能源公司综合报表",
        },
        {
          icon: "Eleme",
          index: "/intelligentReport/erp",
          img: report_erp,
          svg: `<svg t="1711617091651" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="52731" width="25" height="25"><path d="M300.032 188.992c91.328-56 185.984-73.664 283.968-52.992 97.984 20.672 177.344 74.688 238.08 161.984l17.92 31.04v0.96a19.776 19.776 0 0 1 0.576 14.528 27.2 27.2 0 0 1-8.512 12.48L480 585.024a21.888 21.888 0 0 1-16 3.456 20.096 20.096 0 0 1-12.992-8.512l-18.048-27.968a54.016 54.016 0 0 1 16-75.008l225.024-147.008a19.328 19.328 0 0 0 9.472-12.992 21.888 21.888 0 0 0-3.456-16 9.6 9.6 0 0 0-4.032-4.992 267.712 267.712 0 0 0-154.496-60.032c-56.96-3.328-110.528 11.008-160.512 43.008-62.72 43.328-101.504 100.032-116.48 170.048-15.04 70.016-2.56 137.344 37.504 201.984 42.624 62.016 98.816 100.48 168.512 115.52 69.632 14.976 136.832 2.496 201.472-37.504a53.184 53.184 0 0 1 40.96-7.04 56 56 0 0 1 34.048 24l18.048 26.048a23.68 23.68 0 0 1 2.496 15.488 21.504 21.504 0 0 1-7.488 12.48 153.408 153.408 0 0 1-28.992 20.992c-91.328 56-186.048 73.664-284.032 52.992-97.984-20.672-177.28-75.008-238.016-163.008-56-91.328-73.472-185.984-52.48-283.968 20.992-98.048 75.52-177.344 163.456-238.08z m526.016 305.024a24.768 24.768 0 0 1 16-2.56c5.312 1.024 9.6 3.84 12.992 8.576l23.04 35.008c9.28 15.36 12.288 31.168 8.96 47.488a65.408 65.408 0 0 1-27.008 40.512l-36.032 23.04a17.536 17.536 0 0 1-14.976 2.944 26.752 26.752 0 0 1-14.08-8.96l-45.952-71.04a20.16 20.16 0 0 1-3.008-16 22.08 22.08 0 0 1 8.96-12.992l71.04-46.08z" fill="#33CAB7" p-id="52732"></path></svg>`,
          name: "ERP",
          children: [
            {
              // name: '01风电场',
              name: "新左风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/erp?name=xinzuo",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/erp?name=jiliangshan",
            },
            {
              // name: '03风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/erp?name=fanshigou",
            },
            {
              // name: '04风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/erp?name=caoshanliang",
            },
            {
              // name: '05风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/erp?name=leijiashan",
            },
          ],
        },
        {
          icon: "Eleme",
          index: "/intelligentReport/yxqk",
          img: report_yxqk,
          svg: `<svg t="1711617325629" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="60057" width="25" height="25"><path d="M288 503c0 53.019-42.981 96-96 96s-96-42.981-96-96c0-53.02 42.981-96 96-96s96 42.98 96 96z" fill="#33CAB7" p-id="60058"></path><path d="M512.101 223.743l32.324-18.916c75.778-44.344 146.627-68.882 204.207-74.627 57.777-5.765 94.715 7.657 116.022 28.964 20.246 20.245 33.373 54.605 29.683 107.546-1.843 25.007-7.528 53.754-18.075 86.347-10.033 31.005-24.021 63.686-41.797 97.198-18.11-25.919-38.059-51.757-59.753-77.222C792.771 355.577 804 331.1 804 304c0-53.02-42.981-96-96-96s-96 42.98-96 96c0 53.019 42.981 96 96 96 1.76 0 3.509-0.048 5.246-0.141 32.594 36.805 61.059 74.301 85.183 111.41-23.862 36.669-51.963 73.711-84.096 110.087A97.297 97.297 0 0 0 706 621c-53.019 0-96 42.98-96 96 0 53.019 42.981 96 96 96s96-42.981 96-96c0-26.211-10.504-49.968-27.532-67.292 21.773-25.523 41.793-51.421 59.965-77.403 17.681 33.38 31.602 65.932 41.597 96.82 32.673 100.967 18.683 165.026-11.598 195.307-11.826 11.825-28.803 21.166-51.118 26.214-17.812 3.943-39.224 5.128-64.682 2.587-57.58-5.745-128.429-30.282-204.207-74.627L527 808.409c-57.75-35.747-116.814-82.157-173.088-138.421l0.425-0.425a8 8 0 0 0-11.314 0l-33.941 33.941a8 8 0 0 0 0 11.314l-0.425 0.425c45.826 45.818 93.801 85.866 142.054 119.54-64.773 34.186-124.99 53.446-175.141 58.45-57.778 5.766-94.716-7.657-116.022-28.963-5.94-5.94-11.267-13.095-15.737-21.577-6.499-12.487-11.179-27.788-13.327-45.976-1.628-14.205-1.712-30.308 0.1-48.469 1.853-18.566 5.659-38.511 11.453-59.556a478.165 478.165 0 0 1 5.884-19.567c7.434-22.975 17.041-46.871 28.751-71.343A96.683 96.683 0 0 0 192 599c53.019 0 96-42.981 96-96 0-20.463-6.402-39.43-17.313-55.009 24.728-31.746 52.531-63.33 83.275-94.08l0.282 0.282a7.999 7.999 0 0 0 0-11.314l-33.941-33.941a8 8 0 0 0-11.313 0l-0.282-0.282c-33.132 33.137-63.246 67.398-90.115 102.075A96.029 96.029 0 0 0 192 407c-7.835 0-15.451 0.938-22.741 2.709-21.952-49.29-34.734-95.028-38.675-134.524-5.765-57.777 7.657-94.715 28.964-116.021 21.306-21.307 58.245-34.729 116.022-28.964 57.579 5.746 128.429 30.283 204.207 74.627l32.324 18.916zM120.422 566.975c-24.611 50.84-41.353 100.266-49.481 145.98-14.322 80.357-2.041 149.257 40.877 194.227l0.094-0.093c0.783 0.82 1.577 1.632 2.381 2.436 78.911 78.911 235.302 59.341 397.559-35.536C662.83 962.348 808.765 985.521 891.97 924.84a150.053 150.053 0 0 0 17.939-15.315c78.952-78.952 59.322-235.463-35.681-397.808 54.65-93.389 84.358-184.847 84.707-260.721 0.518-55.255-14.441-102.331-46.57-135.996l-0.698 0.697a134.63 134.63 0 0 0-1.758-1.788c-78.952-78.952-235.462-59.322-397.808 35.681-162.346-95.003-318.856-114.633-397.808-35.681-68.12 68.119-62.853 193.974 0.894 331.499C103.139 461.451 96 481.392 96 503c0 24.575 9.234 46.994 24.422 63.975zM512 592c-44.183 0-80-35.818-80-80 0-44.183 35.817-80 80-80s80 35.817 80 80c0 44.182-35.817 80-80 80z m0 64c79.529 0 144-64.471 144-144s-64.471-144-144-144-144 64.471-144 144 64.471 144 144 144z" fill="#33CAB7" p-id="60059"></path></svg>`,
          name: "运行情况日报表",
          children: [
            {
              // name: '01风电场',
              name: "左庄一期",
              nameEn: "zuozhuangyiqi",
              index: "/intelligentReport/yxqk?name=zuozhuangyiqi",
            },
            {
              // name: '02风电场',
              name: "左庄二期",
              nameEn: "zuozhuangerqi",
              index: "/intelligentReport/yxqk?name=zuozhuangerqi",
            },
            {
              // name: '03风电场',
              name: "新庄一期",
              nameEn: "xinzhuangyiqi",
              index: "/intelligentReport/yxqk?name=xinzhuangyiqi",
            },
            {
              // name: '04风电场',
              name: "新庄二期",
              nameEn: "xinzhuangerqi",
              index: "/intelligentReport/yxqk?name=xinzhuangerqi",
            },
          ],
        },
        {
          icon: "Eleme",
          index: "/intelligentReport/fyfsdl",
          img: report_fyfsdl,
          svg: `<svg t="1711617462671" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="66677" width="25" height="25"><path d="M897.024 634.368c-27.136-16.384-58.368-25.088-90.112-25.088-11.776 0-23.552 1.024-34.816 3.584-38.912 7.68-72.704 28.16-97.792 57.344-26.624 30.72-42.496 70.656-42.496 114.688 0 12.288 1.536 24.576 3.584 35.84 5.12 24.576 15.872 48.128 30.72 68.608 31.744 43.008 82.944 70.656 140.288 70.656s108.544-27.648 140.288-70.656c22.528-30.208 34.816-67.072 34.816-104.448 0.512-64-33.28-119.808-84.48-150.528zM768 902.656l24.576-99.328L727.04 793.6l112.64-122.88-18.432 95.744L890.88 773.12l-122.88 129.536zM150.016 812.544c-26.624 0-48.64-22.016-48.64-48.64v-197.632c0-26.624 22.016-48.64 48.64-48.64s48.64 22.016 48.64 48.64v197.632c0 27.136-22.016 48.64-48.64 48.64zM377.856 812.544c-26.624 0-48.64-22.016-48.64-48.64V412.672c0-26.624 22.016-48.64 48.64-48.64s48.64 22.016 48.64 48.64v351.232c0 27.136-21.504 48.64-48.64 48.64zM814.08 579.584c24.576 0 48.64 5.12 70.144 14.336V228.864c0-29.184-22.016-53.248-48.64-53.248s-48.64 23.552-48.64 53.248v352.768c9.216-1.536 17.92-2.048 27.136-2.048zM602.624 789.504c0-54.272 18.944-103.936 50.176-141.312V117.248c0-29.184-22.016-53.248-48.64-53.248s-48.64 23.552-48.64 53.248v642.048c0 29.184 21.504 52.736 48.128 53.248-0.512-7.68-1.024-15.36-1.024-23.04zM623.616 881.152H74.24c-17.92 0-32.768 14.848-32.768 32.768v5.12c0 17.92 14.848 32.768 32.768 32.768h604.672c-23.04-19.456-41.984-43.52-55.296-70.656z" p-id="66678" fill="#33CAB7"></path><path d="M373.76 65.536L266.24 253.44v104.448H196.096V254.464L91.648 65.536h79.872l55.296 111.616c1.024 2.048 3.584 9.728 7.68 23.04h1.024c1.536-8.704 4.096-16.384 7.168-22.528l56.832-112.128H373.76z" p-id="66679" fill="#33CAB7"></path></svg>`,
          name: "分月分时电量统计",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzhuang",
              index: "/intelligentReport/fyfsdl?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/fyfsdl?name=jiliangshan",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "zuozhuang",
              index: "/intelligentReport/fyfsdl?name=zuozhuang",
            },
            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/fyfsdl?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/fyfsdl?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/fyfsdl?name=leijiashan",
            },
          ],
        },
        {
          icon: "Eleme",
          index: "/intelligentReport/fdscqk",
          img: report_fdscqk,
          svg: `<svg t="1711617509853" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="66950" width="25" height="25"><path d="M541.184 705.536c0-16.896-13.824-30.72-30.72-30.72H174.08c-16.896 0-30.72-13.824-30.72-30.72V266.24c0-16.896 13.824-30.72 30.72-30.72h605.184c16.896 0 30.72 13.824 30.72 30.72v75.264c0 16.896 13.824 30.72 30.72 30.72s30.72-13.824 30.72-30.72V266.24c0-50.688-41.472-92.16-92.16-92.16H174.08c-50.688 0-92.16 41.472-92.16 92.16v377.856c0 50.688 41.472 92.16 92.16 92.16h336.384c16.896 0 30.72-13.824 30.72-30.72zM736.256 811.52H215.04c-16.896 0-30.72 13.824-30.72 30.72s13.824 30.72 30.72 30.72h521.216c16.896 0 30.72-13.824 30.72-30.72s-13.824-30.72-30.72-30.72z" p-id="66951" fill="#33CAB7"></path><path d="M741.376 379.904c-113.152 0-204.8 91.648-204.8 204.8s91.648 204.8 204.8 204.8 204.8-91.648 204.8-204.8c0-112.64-91.648-204.8-204.8-204.8z m0 358.4c-84.48 0-153.6-69.12-153.6-153.6s69.12-153.6 153.6-153.6 153.6 69.12 153.6 153.6-68.608 153.6-153.6 153.6zM202.24 496.128v111.616c0 14.336 11.264 25.6 25.6 25.6s25.6-11.264 25.6-25.6V496.128c0-14.336-11.264-25.6-25.6-25.6s-25.6 11.264-25.6 25.6zM317.44 408.064V609.28c0 14.336 11.264 25.6 25.6 25.6s25.6-11.264 25.6-25.6V408.064c0-14.336-11.264-25.6-25.6-25.6s-25.6 11.264-25.6 25.6zM435.2 327.68v281.6c0 14.336 11.264 25.6 25.6 25.6s25.6-11.264 25.6-25.6V327.68c0-14.336-11.264-25.6-25.6-25.6s-25.6 11.264-25.6 25.6z" p-id="66952" fill="#33CAB7"></path><path d="M785.92 565.76h-46.592l36.352-68.608c6.656-12.288 2.048-28.16-10.752-34.816-12.288-6.656-28.16-2.048-34.816 10.752l-55.808 106.496c-4.096 7.68-4.096 17.408 0.512 25.088s12.8 12.288 22.016 12.288h49.152l-30.208 64.512c-6.144 12.8-0.512 28.16 12.288 33.792 3.584 1.536 7.168 2.56 10.752 2.56 9.728 0 18.944-5.632 23.04-14.848l47.104-101.376c3.584-7.68 3.072-17.408-1.536-24.576-4.608-6.656-12.8-11.264-21.504-11.264z" p-id="66953" fill="#33CAB7"></path></svg>`,
          name: "发电生产情况快报表",
          children: [
            {
              // name: '01风电场',
              name: "新左风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/fdscqk?name=xinzuo",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/fdscqk?name=jiliangshan",
            },
            {
              // name: '03风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/fdscqk?name=fanshigou",
            },
            {
              // name: '04风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/fdscqk?name=caoshanliang",
            },
            {
              // name: '05风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/fdscqk?name=leijiashan",
            },
          ],
        },
        {
          icon: "Eleme",
          index: "/intelligentReport/pjfs",
          img: report_pjfs,
          svg: `<svg t="1711617537125" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="68613" width="25" height="25"><path d="M174.5 394.1h331.2c91 0 166-73.2 166.3-164.2 0.3-91-73.7-165.1-164.7-165.1-43.2 0-84 16.6-114.9 46.7-15.5 15.1-27.7 32.9-36.2 52.2-12.7 29.1 8.4 61.7 40.1 62.6 18.5 0.5 35.2-10.4 42.6-27.3 11.6-26.2 37.7-44.2 68.3-44.2 41.4 0 75.1 33.9 74.7 75.4-0.4 41.1-34.5 73.9-75.6 73.9H174.5c-24.9 0-45 20.1-45 45s20.2 45 45 45zM189.3 634.2l0.6 45-0.6-45zM682 626.9c-0.6 0-0.8 0-427.3 6.3-7.3 0.1-14.2 0.2-20.5 0.3-24.8 0.4-44.7 20.8-44.3 45.6 0.3 24.9 20.8 44.8 45.7 44.4 6.3-0.1 13.2-0.2 20.5-0.3 124.9-1.9 415.3-6.2 426.2-6.3 42.8 0.2 77.2 36.5 74.2 80-2.8 39.8-35.9 70-75.7 69.3-30.2-0.5-55.9-18.5-67.2-44.5-7.3-16.8-24.1-27.5-42.5-27-31.7 0.9-52.8 33.5-40.1 62.6 8.4 19.4 20.6 37.1 36.2 52.2 30.9 30.1 71.8 46.7 115 46.7 91.8-0.1 166.8-77 164.5-168.8-2.3-88.9-75.3-160.5-164.7-160.5z" p-id="68614" fill="#33CAB7"></path><path d="M856.6 240.3c-29-11.5-60.5 10.1-60.5 41.4v1.3c0 18 10.9 34.4 27.6 41.1 27.5 11 47 38 47 69.4 0 41.2-33.5 74.7-74.7 74.7H112.6c-24.9 0-45 20.1-45 45s20.1 45 45 45h683.5c90.8 0 164.7-73.9 164.7-164.7-0.1-69.5-43.3-129-104.2-153.2z" p-id="68615" fill="#33CAB7"></path></svg>`,
          name: "集控中心日平均风速统计表",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzhuang",
              index: "/intelligentReport/pjfs?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/pjfs?name=jiliangshan",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "zuozhuang",
              index: "/intelligentReport/pjfs?name=zuozhuang",
            },
            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/pjfs?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/pjfs?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/pjfs?name=leijiashan",
            },
          ],
        },
        {
          icon: "Memo",
          index: "/intelligentReport/czzyb?name=czzybb",
          img: report_czzybb,
          svg: `<svg t="1711617136510" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="53900" width="25" height="25"><path d="M768 960H128c-17.67 0-32-14.33-32-32V224c0-17.67 14.33-32 32-32h640c17.67 0 32 14.33 32 32v704c0 17.67-14.33 32-32 32z m-608-64h576V256H160v640z" p-id="53901" fill="#33CAB7"></path><path d="M896 864c-17.67 0-32-14.33-32-32V128H225c-17.67 0-32-14.33-32-32s14.33-32 32-32h671c17.67 0 32 14.33 32 32v736c0 17.67-14.33 32-32 32zM288 832h-64V608c0-17.67 14.33-32 32-32s32 14.33 32 32v224zM480 832h-64V672c0-17.67 14.33-32 32-32s32 14.33 32 32v160z" p-id="53902" fill="#33CAB7"></path><path d="M672 832h-64V544c0-17.67 14.33-32 32-32s32 14.33 32 32v288z" p-id="53903" fill="#33CAB7"></path><path d="M448.02 512c-9.07 0-18.03-3.84-24.31-11.18L352 417.17l-71.7 83.65c-11.5 13.42-31.7 14.97-45.12 3.47-13.42-11.5-14.97-31.7-3.47-45.12l96-112a32 32 0 0 1 24.3-11.17 32 32 0 0 1 24.3 11.17l77.55 90.47 168.41-112.27c14.7-9.8 34.57-5.83 44.38 8.88 9.8 14.71 5.83 34.57-8.88 44.38l-192 128a32.008 32.008 0 0 1-17.75 5.37z" p-id="53904" fill="#33CAB7"></path></svg>`,
          name: "场站自由报表",
        },
        {
          icon: "Memo",
          index: "/intelligentReport/fgztjqkb?name=fgztjqkb",
          img: report_czzybb,
          svg: `<svg t="1717059656545" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2615" width="25" height="25"><path d="M158.72 799.857778l357.831111-625.777778L707.128889 512a227.555556 227.555556 0 0 1 48.924444-5.12h14.222223L515.982222 60.302222l-455.111111 796.444445h459.662222a258.275556 258.275556 0 0 1-16.497777-56.888889z" p-id="2616"></path><path d="M487.537778 344.177778h56.32v227.555555h-56.32z" p-id="2617"></path><path d="M515.982222 687.217778m-56.888889 0a56.888889 56.888889 0 1 0 113.777778 0 56.888889 56.888889 0 1 0-113.777778 0Z" p-id="2618"></path><path d="M971.093333 807.253333v-24.462222-24.462222c-47.786667-18.773333-56.888889-44.373333-38.115555-90.453333a204.8 204.8 0 0 0-32.995556-33.564445c-46.648889 20.48-72.248889 9.671111-91.022222-37.546667a170.666667 170.666667 0 0 0-24.462222 0 176.924444 176.924444 0 0 0-24.462222 0c-18.773333 47.217778-43.804444 56.888889-90.453334 37.546667a184.32 184.32 0 0 0-32.995555 33.564445c20.48 46.08 9.671111 71.68-38.115556 90.453333a170.666667 170.666667 0 0 0 0 24.462222 176.924444 176.924444 0 0 0 0 24.462222c47.786667 18.773333 56.888889 43.804444 38.115556 90.453334a184.32 184.32 0 0 0 32.995555 33.564444c46.648889-20.48 71.68-10.24 90.453334 37.546667a176.924444 176.924444 0 0 0 24.462222 0 170.666667 170.666667 0 0 0 24.462222 0c18.773333-47.786667 44.373333-56.888889 91.022222-37.546667a204.8 204.8 0 0 0 32.995556-33.564444c-22.755556-44.373333-9.671111-71.68 38.115555-90.453334z m-186.595555 60.871111a85.333333 85.333333 0 1 1 85.333333-85.333333 85.333333 85.333333 0 0 1-85.333333 85.333333z" p-id="2619"></path></svg>`,
          name: "非故障停机情况表",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/fgztjqkb?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "jishanliang",
              index: "/intelligentReport/fgztjqkb?name=jishanliang",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/fgztjqkb?name=zuozhuang",
            },

            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/fgztjqkb?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/fgztjqkb?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/fgztjqkb?name=leijiashan",
            },
          ],
        },
        {
          icon: "Memo",
          index: "/intelligentReport/gztjqkb?name=gztjqkb",
          img: report_czzybb,
          svg: `<svg t="1720492799929" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1042" width="25" height="25"><path d="M570.81 930.78H191.75a40 40 0 0 1-39.9-39.94V120.72a40 40 0 0 1 39.9-39.94h643.89a40 40 0 0 1 39.9 39.94v282.56a25 25 0 0 1-50 0v-272.5H201.85v750h369a25 25 0 0 1 0 50z" p-id="1043"></path><path d="M580 433.06H316.18a27.65 27.65 0 0 0 0 55.29H580a27.65 27.65 0 0 0 0-55.29zM599.6 273.45H316.18a27.65 27.65 0 0 0 0 55.29H599.6a27.65 27.65 0 0 0 0-55.29zM489 607.58H316.18a27.65 27.65 0 0 0 0 55.29H489a27.65 27.65 0 0 0 0-55.29zM777.22 882.4c-113 0-205-92-205-205s92-205 205-205 205 92 205 205-91.97 205-205 205z m0-360c-85.47 0-155 69.53-155 155s69.53 155 155 155 155-69.54 155-155-69.54-155-155-155z" p-id="1044"></path><path d="M782.84 611.5c45.84 0 84.69 43.75 97.79 60.36a10.12 10.12 0 0 1 0 12.61c-13.1 16.62-52 60.36-97.79 60.36s-84.69-43.74-97.79-60.36a10.09 10.09 0 0 1 0-12.61c13.1-16.61 51.95-60.36 97.79-60.36z m0 35.9a30 30 0 0 0-27.71 19 31.31 31.31 0 0 0 6.5 33.52 29.44 29.44 0 0 0 32.69 6.67 30.78 30.78 0 0 0 18.52-28.42c0-17-13.43-30.77-30-30.77z" p-id="1045" fill="#33CAB7"></path></svg>`,
          name: "故障停机情况表",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/gztjqkb?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/gztjqkb?name=jishanliang",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/gztjqkb?name=zuozhuang",
            },
            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/gztjqkb?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/gztjqkb?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/gztjqkb?name=leijiashan",
            },
          ],
        },
        {
          icon: "Memo",
          index: "/intelligentReport/fdlrb?name=fdlrb",
          img: report_czzybb,
          svg: `<svg t="1720492799929" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1042" width="25" height="25"><path d="M570.81 930.78H191.75a40 40 0 0 1-39.9-39.94V120.72a40 40 0 0 1 39.9-39.94h643.89a40 40 0 0 1 39.9 39.94v282.56a25 25 0 0 1-50 0v-272.5H201.85v750h369a25 25 0 0 1 0 50z" p-id="1043"></path><path d="M580 433.06H316.18a27.65 27.65 0 0 0 0 55.29H580a27.65 27.65 0 0 0 0-55.29zM599.6 273.45H316.18a27.65 27.65 0 0 0 0 55.29H599.6a27.65 27.65 0 0 0 0-55.29zM489 607.58H316.18a27.65 27.65 0 0 0 0 55.29H489a27.65 27.65 0 0 0 0-55.29zM777.22 882.4c-113 0-205-92-205-205s92-205 205-205 205 92 205 205-91.97 205-205 205z m0-360c-85.47 0-155 69.53-155 155s69.53 155 155 155 155-69.54 155-155-69.54-155-155-155z" p-id="1044"></path><path d="M782.84 611.5c45.84 0 84.69 43.75 97.79 60.36a10.12 10.12 0 0 1 0 12.61c-13.1 16.62-52 60.36-97.79 60.36s-84.69-43.74-97.79-60.36a10.09 10.09 0 0 1 0-12.61c13.1-16.61 51.95-60.36 97.79-60.36z m0 35.9a30 30 0 0 0-27.71 19 31.31 31.31 0 0 0 6.5 33.52 29.44 29.44 0 0 0 32.69 6.67 30.78 30.78 0 0 0 18.52-28.42c0-17-13.43-30.77-30-30.77z" p-id="1045" fill="#33CAB7"></path></svg>`,
          name: "发电量日报表",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/fdlrb?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/fdlrb?name=jishanliang",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/fdlrb?name=zuozhuang",
            },
            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/fdlrb?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/fdlrb?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/fdlrb?name=leijiashan",
            },
          ],
        },
        {
          icon: "Memo",
          index: "/intelligentReport/swdlrb?name=swdlrb",
          img: report_czzybb,
          svg: `<svg t="1720492799929" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1042" width="25" height="25"><path d="M570.81 930.78H191.75a40 40 0 0 1-39.9-39.94V120.72a40 40 0 0 1 39.9-39.94h643.89a40 40 0 0 1 39.9 39.94v282.56a25 25 0 0 1-50 0v-272.5H201.85v750h369a25 25 0 0 1 0 50z" p-id="1043"></path><path d="M580 433.06H316.18a27.65 27.65 0 0 0 0 55.29H580a27.65 27.65 0 0 0 0-55.29zM599.6 273.45H316.18a27.65 27.65 0 0 0 0 55.29H599.6a27.65 27.65 0 0 0 0-55.29zM489 607.58H316.18a27.65 27.65 0 0 0 0 55.29H489a27.65 27.65 0 0 0 0-55.29zM777.22 882.4c-113 0-205-92-205-205s92-205 205-205 205 92 205 205-91.97 205-205 205z m0-360c-85.47 0-155 69.53-155 155s69.53 155 155 155 155-69.54 155-155-69.54-155-155-155z" p-id="1044"></path><path d="M782.84 611.5c45.84 0 84.69 43.75 97.79 60.36a10.12 10.12 0 0 1 0 12.61c-13.1 16.62-52 60.36-97.79 60.36s-84.69-43.74-97.79-60.36a10.09 10.09 0 0 1 0-12.61c13.1-16.61 51.95-60.36 97.79-60.36z m0 35.9a30 30 0 0 0-27.71 19 31.31 31.31 0 0 0 6.5 33.52 29.44 29.44 0 0 0 32.69 6.67 30.78 30.78 0 0 0 18.52-28.42c0-17-13.43-30.77-30-30.77z" p-id="1045" fill="#33CAB7"></path></svg>`,
          name: "上网电量日报表",
          children: [
            {
              // name: '01风电场',
              name: "新庄风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/swdlrb?name=xinzhuang",
            },
            {
              // name: '02风电场',
              name: "吉山梁风电场",
              nameEn: "xinzuo",
              index: "/intelligentReport/swdlrb?name=jishanliang",
            },
            {
              // name: '03风电场',
              name: "左庄风电场",
              nameEn: "jiliangshan",
              index: "/intelligentReport/swdlrb?name=zuozhuang",
            },
            {
              // name: '04风电场',
              name: "繁食沟风电场",
              nameEn: "fanshigou",
              index: "/intelligentReport/swdlrb?name=fanshigou",
            },
            {
              // name: '05风电场',
              name: "草山梁风电场",
              nameEn: "caoshanliang",
              index: "/intelligentReport/swdlrb?name=caoshanliang",
            },
            {
              // name: '06风电场',
              name: "雷家山风电场",
              nameEn: "leijiashan",
              index: "/intelligentReport/swdlrb?name=leijiashan",
            },
          ],
        },
        {
          icon: "Memo",
          index: "/intelligentReport/yxdtjb?name=yxdtjb",
          img: report_czzybb,
          svg: `<svg t="1720492799929" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1042" width="25" height="25"><path d="M570.81 930.78H191.75a40 40 0 0 1-39.9-39.94V120.72a40 40 0 0 1 39.9-39.94h643.89a40 40 0 0 1 39.9 39.94v282.56a25 25 0 0 1-50 0v-272.5H201.85v750h369a25 25 0 0 1 0 50z" p-id="1043"></path><path d="M580 433.06H316.18a27.65 27.65 0 0 0 0 55.29H580a27.65 27.65 0 0 0 0-55.29zM599.6 273.45H316.18a27.65 27.65 0 0 0 0 55.29H599.6a27.65 27.65 0 0 0 0-55.29zM489 607.58H316.18a27.65 27.65 0 0 0 0 55.29H489a27.65 27.65 0 0 0 0-55.29zM777.22 882.4c-113 0-205-92-205-205s92-205 205-205 205 92 205 205-91.97 205-205 205z m0-360c-85.47 0-155 69.53-155 155s69.53 155 155 155 155-69.54 155-155-69.54-155-155-155z" p-id="1044"></path><path d="M782.84 611.5c45.84 0 84.69 43.75 97.79 60.36a10.12 10.12 0 0 1 0 12.61c-13.1 16.62-52 60.36-97.79 60.36s-84.69-43.74-97.79-60.36a10.09 10.09 0 0 1 0-12.61c13.1-16.61 51.95-60.36 97.79-60.36z m0 35.9a30 30 0 0 0-27.71 19 31.31 31.31 0 0 0 6.5 33.52 29.44 29.44 0 0 0 32.69 6.67 30.78 30.78 0 0 0 18.52-28.42c0-17-13.43-30.77-30-30.77z" p-id="1045" fill="#33CAB7"></path></svg>`,
          name: "月限电统计报表",
        },
        {
          icon: "Memo",
          index: "/intelligentReport/jhdltb?name=jhdltb",
          img: report_czzybb,
          svg: `<svg t="1720492799929" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1042" width="25" height="25"><path d="M570.81 930.78H191.75a40 40 0 0 1-39.9-39.94V120.72a40 40 0 0 1 39.9-39.94h643.89a40 40 0 0 1 39.9 39.94v282.56a25 25 0 0 1-50 0v-272.5H201.85v750h369a25 25 0 0 1 0 50z" p-id="1043"></path><path d="M580 433.06H316.18a27.65 27.65 0 0 0 0 55.29H580a27.65 27.65 0 0 0 0-55.29zM599.6 273.45H316.18a27.65 27.65 0 0 0 0 55.29H599.6a27.65 27.65 0 0 0 0-55.29zM489 607.58H316.18a27.65 27.65 0 0 0 0 55.29H489a27.65 27.65 0 0 0 0-55.29zM777.22 882.4c-113 0-205-92-205-205s92-205 205-205 205 92 205 205-91.97 205-205 205z m0-360c-85.47 0-155 69.53-155 155s69.53 155 155 155 155-69.54 155-155-69.54-155-155-155z" p-id="1044"></path><path d="M782.84 611.5c45.84 0 84.69 43.75 97.79 60.36a10.12 10.12 0 0 1 0 12.61c-13.1 16.62-52 60.36-97.79 60.36s-84.69-43.74-97.79-60.36a10.09 10.09 0 0 1 0-12.61c13.1-16.61 51.95-60.36 97.79-60.36z m0 35.9a30 30 0 0 0-27.71 19 31.31 31.31 0 0 0 6.5 33.52 29.44 29.44 0 0 0 32.69 6.67 30.78 30.78 0 0 0 18.52-28.42c0-17-13.43-30.77-30-30.77z" p-id="1045" fill="#33CAB7"></path></svg>`,
          name: "计划电量填报",
        },
        {
          icon: "Finished",
          index: "/intelligentReport/reporting",
          img: report_bbsb,
          svg: `<svg t="1711617560802" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="69812" width="25" height="25"><path d="M495.7 495.2v-17.3H270.9c-6.7 0-18.2 14.1-18.2 21v7.5c0 6.8 11.6 23.4 18.2 23.4h172.9c12.6-19.4 33.2-22.3 51.9-34.6z" p-id="69813" fill="#33CAB7"></path><path d="M461.4 858.2H170.6c-13.4 0-20.8-3.4-20.8-17.2V183.9c0-13.7 3.9-17.3 17.3-17.3h518.7c13.4 0 17.4 8.7 17.4 22.5V426c16.6 1.4 33.5 0.6 51.9 0V166.6c0-27.4-25-51.9-51.7-51.9h-557c-26.7 0-48.4 22.2-48.4 49.6v693.8c0 27.4 25.2 52 51.9 52H513c-18.5-14.3-37.3-33.4-51.6-51.9z" p-id="69814" fill="#33CAB7"></path><path d="M409.3 650.8c0.6-5.1-1.7-12.4 0-17.3H270.9c-6.7 0-18.2 7.2-18.2 14v24.8c0 6.8 11.6 13.1 18.2 13.1h138.3c-0.2-9.4-1.7-19.4 0.3-28.8 0.1-0.4 0.8-16.6-0.2-5.8zM597.1 374.9l2.4-0.8v-17.3c0-6.8-10.6-17.3-17.3-17.3H270.9c-6.7 0-18.2 3.8-18.2 10.6v24.8c0 6.8 11.6 16.5 18.2 16.5h311.2c6.8 0 15-9.6 15-16.5zM712.9 564.4c-5.1-5.1-11.7-7.6-18.3-7.6-6.6 0-13.3 2.5-18.3 7.6l-97.8 97.8c-10.1 10.1-10.1 26.6 0 36.7 5.1 5.1 11.7 7.6 18.3 7.6 6.6 0 13.3-2.5 18.3-7.6l53.5-53.5v152.5c0 14.3 11.6 25.9 25.9 25.9 14.3 0 25.9-11.6 25.9-25.9V645.3l53.5 53.5c5.1 5.1 11.7 7.6 18.3 7.6 6.6 0 13.3-2.5 18.3-7.6 10.1-10.1 10.1-26.5 0-36.7l-97.6-97.7z" p-id="69815" fill="#33CAB7"></path><path d="M694.6 460.6c-128.9 0-233.4 104.5-233.4 233.4s104.5 233.4 233.4 233.4C823.5 927.5 928 822.9 928 694S823.5 460.6 694.6 460.6z m0 415C594.4 875.6 513 794.1 513 694s81.4-181.6 181.6-181.6c100.1 0 181.6 81.4 181.6 181.6s-81.5 181.6-181.6 181.6z" p-id="69816" fill="#33CAB7"></path></svg>`,
          name: "报表上报",
        },
        {
          icon: "Odometer",
          index: "/intelligentReport/scriptgeneration",
          img: report_bbjb,
          svg: `<svg t="1711617616189" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="71308" width="25" height="25"><path d="M787.4 918H238.8c-72 0-130.6-58.6-130.6-130.6V238.8c0-72 58.6-130.6 130.6-130.6h548.6c72 0 130.6 58.6 130.6 130.6v548.6c0 72-58.6 130.6-130.6 130.6zM238.8 168.2c-38.9 0-70.6 31.7-70.6 70.6v548.6c0 38.9 31.7 70.6 70.6 70.6h548.6c38.9 0 70.6-31.7 70.6-70.6V238.8c0-38.9-31.7-70.6-70.6-70.6H238.8z" p-id="71309" fill="#33CAB7"></path><path d="M451.1 728.8c-3.1 0-6.3-0.5-9.5-1.5-15.7-5.2-24.2-22.2-19-38l128-383.9c5.2-15.7 22.2-24.2 38-19 15.7 5.2 24.2 22.2 19 38l-128 383.9c-4.2 12.5-15.9 20.5-28.5 20.5zM643.1 661.9c-8.3 0-16.5-3.4-22.4-10.1-11-12.4-9.9-31.3 2.5-42.4l105.6-94-107.5-113c-11.4-12-10.9-31 1.1-42.4 12-11.4 31-10.9 42.4 1.1l128.8 135.6c5.6 5.9 8.6 13.8 8.2 21.9-0.3 8.1-4 15.7-10 21.2L663 654.3c-5.7 5.1-12.8 7.6-19.9 7.6zM385.9 661.9c-7.1 0-14.2-2.5-19.9-7.6L237.2 539.7c-6.1-5.4-9.7-13-10-21.2-0.3-8.1 2.6-16 8.2-21.9L364.2 361c11.4-12 30.4-12.5 42.4-1.1s12.5 30.4 1.1 42.4L300.2 515.5l105.6 94c12.4 11 13.5 30 2.5 42.4-5.9 6.6-14.2 10-22.4 10z" p-id="71310" fill="#33CAB7"></path></svg>`,
          name: "报表脚本",
        },
      ],
      generatingCapDatas: [
        {
          icon: "Coin",
          index: "/generatingCap/dataFilter/prepare",
          svg: `<svg t="1711612156671" class="icon" viewBox="0 0 1024 1024" version="1.1"
                                xmlns="http://www.w3.org/2000/svg" p-id="2759" width="25" height="25">
                                <path
                                    d="M512 668.224l369.696-184.832a32 32 0 0 1 28.608 57.216l-384 192a32 32 0 0 1-28.608 0l-384-192a32 32 0 0 1 28.608-57.216L512 668.224z"
                                    fill="#33CAB7" p-id="2760"></path>
                                <path
                                    d="M512 860.224l369.696-184.832a32 32 0 0 1 28.608 57.216l-384 192a32 32 0 0 1-28.608 0l-384-192a32 32 0 0 1 28.608-57.216L512 860.224zM113.696 348.64a32 32 0 0 1 0-57.28l384-192a32 32 0 0 1 28.608 0l384 192a32 32 0 0 1 0 57.28l-384 192a32 32 0 0 1-28.608 0l-384-192zM512 476.224L824.448 320 512 163.776 199.552 320 512 476.224z"
                                    fill="#33CAB7" p-id="2761"></path>
                            </svg>`,
          img: gener_fdsjzb,
          name: "风电数据准备",
        },
        {
          icon: "DataAnalysis",
          index: "/generatingCap/dataFilter/process",
          img: gener_fdsjcl,
          svg: `<svg t="1711615881402" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4941" width="25" height="25"><path d="M884.38619844 385.57820094L534.26209813 32.02571281H305.41721469a57.85404375 57.85404375 0 0 0-42.85484719 17.14193906 57.85404375 57.85404375 0 0 0-17.14193906 42.85484719v731.53223906a58.28259188 58.28259188 0 0 0 59.56823812 59.13968907h521.11494a57.85404375 57.85404375 0 0 0 42.85484719-17.14193907 56.56839844 56.56839844 0 0 0 17.57048719-42.85484718V385.57820094zM534.26209813 110.45008345l273.41392406 275.12811749H539.40467938c-3.42838781 0-4.71403313 0-4.71403313-5.14258125z m296.55554156 713.10465468c0 3.42838781 0 5.14258125-4.71403313 5.14258125H305.41721469c-3.42838781 0-4.71403313 0-4.71403313-5.14258125V91.16540187c0-3.42838781 0-5.14258125 4.71403313-5.14258124H480.26499031v294.41279906a58.71114094 58.71114094 0 0 0 16.71339094 42.85484719 56.99694656 56.99694656 0 0 0 42.85484719 17.14193812h291.84150843zM196.99445187 937.54863125h-5.14258218V141.30557281a56.99694656 56.99694656 0 0 0-37.28371688 16.71339 57.85404375 57.85404375 0 0 0-17.14193812 42.8548472V931.97750094a58.28259188 58.28259188 0 0 0 59.56823719 59.99678625h520.68639187a57.85404375 57.85404375 0 0 0 42.85484719-17.14193907 56.13984937 56.13984937 0 0 0 17.14193812-36.85516875H196.99445187z" p-id="4942"></path></svg>`,
          name: "风电数据处理",
        },
        {
          icon: "Operation",
          index: "/generatingCap/dataAnalysis/combine",
          img: gener_glqxnhfx,
          svg: `<svg t="1711616142393" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="12350" width="25" height="25"><path d="M873.65 550.87a41.17 41.17 0 0 1 40.49 47.66C878.86 819.5 675 984.13 438.37 955.26c-191.86-23.41-347.41-179-370.8-371-28.85-236.71 135.71-440.61 356.59-475.9a41.16 41.16 0 0 1 47.64 40.51v402zM492.26 877c154.61 0 286.94-100.4 330.63-244.6H390.3V199.64C231.59 247.93 127.72 404 148.49 574.44c18.87 154.87 144.9 281 299.75 299.87a364.06 364.06 0 0 0 44 2.7z" fill="#949DA6" p-id="12351"></path><path d="M960.23 466.79a41.14 41.14 0 0 1-40.94 43.31H512.56V103.18a41.11 41.11 0 0 1 43.29-40.93c218.08 11.51 392.87 186.37 404.38 404.54zM874 428.56C848.72 285.1 736.21 172.88 594.06 148.28v280.28z" fill="#949DA6" p-id="12352"></path></svg>`,
          name: "功率曲线拟合",
        },
        {
          icon: "DataLine",
          index: "/generatingCap/dataAnalysis/lineAnalysis",
          img: gener_qxpclfx,
          svg: `<svg t="1711616215524" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13469" width="25" height="25"><path d="M979.2 1017.6H89.6c-44.8 0-83.2-38.4-83.2-83.2V51.2C6.4 32 25.6 12.8 44.8 12.8s38.4 19.2 38.4 38.4v889.6l896 6.4c19.2 0 38.4 19.2 38.4 38.4s-19.2 32-38.4 32z" p-id="13470"></path><path d="M179.2 832v-128c0-19.2 19.2-38.4 38.4-38.4s38.4 19.2 38.4 38.4v128c0 19.2-19.2 38.4-38.4 38.4s-38.4-12.8-38.4-38.4zM377.6 832V601.6c0-19.2 19.2-38.4 38.4-38.4s38.4 19.2 38.4 38.4V832c0 19.2-19.2 38.4-38.4 38.4-25.6 0-38.4-12.8-38.4-38.4zM569.6 832v-128c0-19.2 19.2-38.4 38.4-38.4s38.4 19.2 38.4 38.4v128c0 19.2-19.2 38.4-38.4 38.4s-38.4-12.8-38.4-38.4zM768 832v-192c0-19.2 19.2-38.4 38.4-38.4s38.4 19.2 38.4 38.4v192c0 19.2-19.2 38.4-38.4 38.4s-38.4-12.8-38.4-38.4zM800 102.4h-140.8c-19.2 0-38.4 19.2-38.4 38.4s19.2 38.4 38.4 38.4h57.6L531.2 364.8 460.8 294.4c-12.8-19.2-38.4-19.2-57.6-6.4L192 505.6c-12.8 12.8-12.8 38.4 0 51.2 12.8 19.2 38.4 19.2 51.2 0l185.6-185.6 64 64 6.4 6.4V448c12.8 12.8 38.4 12.8 51.2 0L768 236.8v57.6c0 19.2 19.2 38.4 38.4 38.4s38.4-19.2 38.4-38.4V147.2c0-19.2-19.2-44.8-44.8-44.8z" p-id="13471"></path></svg>`,
          name: "曲线偏差率分析",
        },
        {
          icon: "Odometer",
          index: "/generatingCap/dataAnalysis/hotAnalysis",
          img: gener_wdyglfx,
          svg: `<svg t="1711616258471" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="14608" width="25" height="25"><path d="M793.6 640c-19.2-32-51.2-64-89.6-83.2V128c0-70.4-51.2-128-121.6-128C512 0 460.8 57.6 460.8 128v435.2c-38.4 12.8-64 44.8-89.6 76.8-25.6 38.4-38.4 83.2-38.4 134.4 0 64 25.6 128 70.4 172.8S518.4 1024 582.4 1024c64 0 128-25.6 172.8-70.4s70.4-108.8 70.4-172.8c6.4-51.2-6.4-96-32-140.8z m-211.2 339.2c-115.2 0-204.8-96-204.8-204.8 0-76.8 44.8-147.2 115.2-185.6l12.8-6.4V128c0-44.8 38.4-83.2 83.2-83.2 44.8 0 83.2 38.4 83.2 83.2v460.8l12.8 6.4c70.4 38.4 115.2 108.8 115.2 185.6-6.4 108.8-102.4 198.4-217.6 198.4z" p-id="14609"></path><path d="M620.8 665.6V262.4c0-19.2-19.2-38.4-38.4-38.4s-38.4 19.2-38.4 38.4v403.2c-44.8 12.8-70.4 57.6-70.4 102.4 0 57.6 51.2 108.8 108.8 108.8s108.8-51.2 108.8-108.8c0-44.8-25.6-89.6-70.4-102.4zM352 185.6H153.6c-25.6 0-38.4-12.8-38.4-38.4 0-19.2 12.8-38.4 38.4-38.4h204.8c19.2 0 38.4 19.2 38.4 38.4-6.4 25.6-19.2 38.4-44.8 38.4zM352 307.2h-128c-19.2 0-38.4-19.2-38.4-38.4s19.2-38.4 38.4-38.4h128c19.2 0 38.4 19.2 38.4 38.4 0 25.6-12.8 38.4-38.4 38.4zM352 435.2h-38.4c-19.2 0-38.4-19.2-38.4-38.4s19.2-38.4 38.4-38.4h44.8c19.2 0 38.4 19.2 38.4 38.4-6.4 19.2-19.2 38.4-44.8 38.4z" p-id="14610"></path></svg>`,
          name: "温度与功率分析",
        },
        {
          icon: "ScaleToOriginal",
          index: "/generatingCap/dataAnalysis/rateAnalysis",
          img: gener_dfpcfx,
          svg: `<svg t="1711616084528" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10256" width="25" height="25"><path d="M819.2 256h-102.4v460.8h102.4z m-256-102.4H460.8v563.2h102.4zM307.2 358.4H204.8v358.4h102.4z m-204.8 409.6v102.4h819.2v-102.4z" fill="" p-id="10257"></path></svg>`,
          name: "对风偏差分析",
        },
        {
          icon: "ScaleToOriginal",
          index: "/generatingCap/dataAnalysis/cftRateAnalysis",
          img: gener_dfpcfx,
          svg: `<svg t="1711616084528" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10256" width="25" height="25"><path d="M819.2 256h-102.4v460.8h102.4z m-256-102.4H460.8v563.2h102.4zM307.2 358.4H204.8v358.4h102.4z m-204.8 409.6v102.4h819.2v-102.4z" fill="" p-id="10257"></path></svg>`,
          name: "测风塔对风偏差分析",
        },
        {
          icon: "Suitcase",
          index: "/generatingCap/dataAnalysis/angleAnalysis",
          img: gener_jjjfx,
          svg: `<svg t="1711616690183" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="35383" width="25" height="25"><path d="M167.68 753.92V1.28h-64v816.64h816.64v-64z" fill="#33CAB7" p-id="35384"></path><path d="M395.52 327.68L193.28 124.16v90.88l157.44 157.44zM481.28 674.56l44.8-44.8-122.88-122.88 75.52-75.52 139.52 139.52 64-64L828.16 652.8l44.8-44.8-145.92-145.92L856.32 332.8v62.72h64V224H748.8v64h62.72l-193.28 192-139.52-139.52L193.28 625.92V716.8L358.4 551.68z" fill="#33CAB7" p-id="35385"></path></svg>`,
          name: "桨距角分析",
        },
        {
          icon: "Finished",
          index: "/generatingCap/dataAnalysis/windAnalysis",
          img: gener_ssdlfx,
          svg: `<svg t="1711616550762" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="28474" width="25" height="25"><path d="M554.666667 341.333333v128h85.333333l-128 213.333334V554.666667h-85.333333l128-213.333334z m384 170.666667c0 234.666667-192 426.666667-426.666667 426.666667S85.333333 746.666667 85.333333 512 277.333333 85.333333 512 85.333333v128c-166.4 0-298.666667 132.266667-298.666667 298.666667s132.266667 298.666667 298.666667 298.666667 298.666667-132.266667 298.666667-298.666667h128z m-46.933334 42.666667h-42.666666c-21.333333 166.4-166.4 298.666667-337.066667 298.666666-187.733333 0-341.333333-153.6-341.333333-341.333333C170.666667 337.066667 302.933333 196.266667 469.333333 174.933333v-42.666666C277.333333 153.6 128 315.733333 128 512c0 213.333333 170.666667 384 384 384 196.266667 0 358.4-149.333333 379.733333-341.333333z m-89.6-106.666667l123.733334-29.866667C891.733333 256 763.733333 128 601.6 93.866667l-29.866667 123.733333c119.466667 29.866667 204.8 115.2 230.4 230.4z" fill="" p-id="28475"></path></svg>`,
          name: "损失电量分析",
        },
        {
          icon: "SetUp",
          index: "/generatingCap/dataAnalysis/spaceAnalysis",
          svg: `<svg t="1711616350515" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17550" width="25" height="25"><path d="M361.39008 444.68224l-47.20128 78.69952c-0.78848-0.08192-1.73056-0.08192-2.51392-0.08192-4.5568 0-8.87808 0.71168-12.95872 1.96608l-32.44032-32.44032a43.776 43.776 0 0 0 1.96608-12.95872c0-23.95648-19.4816-43.43296-43.43808-43.43296s-43.42784 19.4816-43.42784 43.43296c0 8.33024 2.3552 16.0256 6.36416 22.62528l-47.2832 78.6944c-0.78848-0.0768-1.73056-0.0768-2.51392-0.0768-23.95648 0-43.43296 19.47648-43.43296 43.43296s19.4816 43.43296 43.43296 43.43296 43.43296-19.4816 43.43296-43.43296a43.4176 43.4176 0 0 0-6.35904-22.62016l47.27808-78.78656a43.9296 43.9296 0 0 0 15.47264-1.87904l32.44032 32.44032a43.71968 43.71968 0 0 0-1.96608 12.9536c0 23.9616 19.4816 43.43296 43.43296 43.43296s43.35616-19.47648 43.35616-43.43296c0-8.32512-2.3552-16.02048-6.35904-22.61504 0 0 49.00352-78.62272 49.79712-78.62272l-37.07904-20.73088z" fill="#575757" p-id="17551"></path><path d="M363.71968 521.51296l47.2832-78.78656a43.91936 43.91936 0 0 0 15.46752-1.87904l131.66592 131.66592a43.94496 43.94496 0 0 0-1.96608 12.95872c0 23.95648 19.4816 43.43296 43.43296 43.43296 23.9616 0 43.36128-19.4816 43.36128-43.43296a43.3152 43.3152 0 0 0-6.36416-22.62016l47.2832-78.70464c0.78336 0.08192 1.72544 0.08192 2.51392 0.08192 23.95648 0 43.43296-19.4816 43.43296-43.43296s-19.4816-43.35616-43.43296-43.35616c-23.95648 0-43.43296 19.4816-43.43296 43.43296 0 8.32512 2.3552 16.0256 6.35904 22.62016l-47.2064 78.70464c-0.78336-0.08192-1.73056-0.08192-2.51392-0.08192-4.5568 0-8.87296 0.70656-12.9536 1.96096L454.9888 412.416a43.94496 43.94496 0 0 0 1.96096-12.95872c0-23.95648-19.4816-43.43296-43.43296-43.43296s-43.43296 19.4816-43.43296 43.43296a43.4176 43.4176 0 0 0 6.36416 22.62528s-49.01376 78.61248-49.80224 78.61248l37.07392 20.81792z" fill="#575757" p-id="17552"></path><path d="M780.20608 704.46592l139.57632 140.04224c12.8768 12.20096 12.8768 32.93184 0.44544 45.3632-12.42112 12.90752-33.14688 13.35296-45.60384 0.45056l-140.49792-140.26752c-27.17184 22.57408-57.5744 41.2416-90.74688 54.81984a350.37696 350.37696 0 0 1-135.67488 27.20256c-103.42912 0-202.0096-45.85984-269.27616-125.33248-33.86368-39.59808 17.51552-76.68224 56.20736-34.06848 54.8352 60.11904 131.77344 94.19776 213.0688 94.19776 39.38816 0 76.70272-7.82336 110.55104-21.87264a286.208 286.208 0 0 0 93.52192-62.18752l0.47104-0.47104c26.49088-26.72128 48.14848-58.48576 62.88384-93.97248 13.81888-33.39776 21.66272-70.9376 21.66272-110.336a290.7904 290.7904 0 0 0-21.21728-108.9536l-0.45056-1.3824a286.98112 286.98112 0 0 0-61.27104-92.37504l-1.6128-1.59744c-26.9568-26.49088-58.74688-48.13312-93.98784-62.44352-33.60768-14.49472-71.15264-22.08256-110.55104-22.08256-117.69344 0-219.03872 71.85408-263.74656 172.49792-5.5296 11.99104-16.58368 19.12832-29.72672 19.12832h-0.20992c-11.52 0-20.96128-5.53984-27.19232-14.73024-6.21056-9.46176-6.912-20.51584-2.29376-31.12448C240.27648 209.92 367.43168 124.22656 507.6992 124.22656c47.6672 0 93.52704 9.6768 135.68 27.17184 43.30496 17.75104 82.44736 44.24704 114.69824 76.47744l1.82272 1.63328c31.80544 32.4608 57.14432 70.7072 74.87488 113.1008l0.68608 1.82272c17.04448 41.48224 26.27072 86.13888 26.27072 133.59616a350.45888 350.45888 0 0 1-26.9568 134.97856 356.87936 356.87936 0 0 1-54.56896 91.45856z" fill="#575757" p-id="17553"></path></svg>`,
          img: gener_mrlfx,
          name: "毛容量分析",
        },
        {
          icon: "Coordinate",
          index: "/generatingCap/dataAnalysis/posAnalysis",
          img: gener_wgxzfx,
          svg: `<svg t="1711616583232" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="29559" width="25" height="25"><path d="M560 304a48 48 0 1 0-48 48 48 48 0 0 0 48-48z m64 0a112 112 0 1 1-112-112 112 112 0 0 1 112 112z" fill="#33CAB7" p-id="29560"></path><path d="M256 314.24A253.44 253.44 0 0 1 512 64a253.44 253.44 0 0 1 256 250.24 248.96 248.96 0 0 1-128 216l-101.12 97.92a42.24 42.24 0 0 1-58.88 0l-105.6-102.4A248 248 0 0 1 256 314.24z m239.68 267.84z m32 0zM512 567.36L602.88 480l3.84-1.92a185.6 185.6 0 0 0 96-162.24A189.12 189.12 0 0 0 512 128a189.12 189.12 0 0 0-192 186.24 184.96 184.96 0 0 0 91.52 160l3.2 1.92 2.88 2.56z" fill="#33CAB7" p-id="29561"></path><path d="M787.52 608H704a32 32 0 0 1 0-64h106.56a32 32 0 0 1 32 21.76l85.44 256A32 32 0 0 1 896 864H128a32 32 0 0 1-32-42.24l85.44-256a32 32 0 0 1 32-21.76H320a32 32 0 0 1 0 64h-83.52l-64 192h679.04z" fill="#33CAB7" p-id="29562"></path><path d="M416 736a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64z" fill="#33CAB7" p-id="29563"></path></svg>`,
          name: "微观选址分析",
        },
        {
          icon: "Monitor",
          index: "/generatingCap/dataAnalysis/agcAnalysis",
          img: gener_agcfx,
          svg: `<svg t="1711616917725" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="45545" width="25" height="25"><path d="M638.995 802.956c16.764 0 30.354 13.592 30.354 30.359 0 13.185-8.405 24.407-20.148 28.6a1.071 1.071 0 0 1-0.334 0.23c-87.33 38.321-186.824 38.57-274.379 2.033-0.21-0.088-0.515-0.317-0.896-0.67-10.607-4.811-17.983-15.493-17.983-27.897 0-3.795 0.69-7.429 1.952-10.782 0.312-1.12 0.766-2.174 1.38-3.145l0.045-0.066c5.08-9.87 15.368-16.621 27.231-16.621a30.464 30.464 0 0 1 15.281 4.082c70.323 28.991 149.962 28.908 220.577-1.296l2.035-0.881-0.364 0.157a30.21 30.21 0 0 1 15.25-4.103z m-379.208-223.69c67.814 0 122.787 54.973 122.787 122.787 0 67.813-54.973 122.787-122.787 122.787C191.973 824.84 137 769.866 137 702.053c0-67.814 54.973-122.787 122.787-122.787z m504.328 0c67.813 0 122.787 54.973 122.787 122.787 0 67.813-54.974 122.787-122.787 122.787-67.814 0-122.788-54.974-122.788-122.787 0-67.814 54.974-122.787 122.788-122.787zM260.056 641.66c-33.502 0-60.661 27.16-60.661 60.662 0 33.503 27.159 60.661 60.661 60.661 33.503 0 60.662-27.158 60.662-60.661s-27.159-60.662-60.662-60.662z m504.328 0c-33.503 0-60.662 27.16-60.662 60.662 0 33.503 27.159 60.661 60.662 60.661 33.502 0 60.661-27.158 60.661-60.661s-27.159-60.662-60.661-60.662zM310.708 247.875c4.658-3.238 34.112-13.926 48.521 7.75 14.41 21.677-11.859 41.577-16.758 45.016-74.074 51.988-119.76 136.65-121.357 228.12l-0.075 4.27c0.765 8.194-2.187 16.141-8.097 21.946-4.9 5.096-12.405 8.692-21.142 10.084l-0.82 0.168-0.816-0.015c-14.245-0.248-26.67-11.19-29.588-25.967l-0.166-0.912 0.186-10.631c1.954-111.977 58.58-216.194 150.112-279.829z m397.975 1.313c92.63 62.028 151.065 165.24 154.973 277.166l0.371 10.627-0.15 0.914c-2.66 14.825-14.892 25.983-29.13 26.48l-0.816 0.029-0.823-0.154c-8.76-1.24-16.327-4.704-21.314-9.713-6.01-5.701-9.1-13.596-8.48-21.802l-0.148-4.268c-3.193-91.428-50.35-175.28-125.32-225.967-4.958-3.352-31.57-22.79-17.541-44.716 14.03-21.925 43.665-11.752 48.378-8.596zM510.897 132c67.814 0 122.787 54.973 122.787 122.787 0 67.814-54.973 122.787-122.787 122.787-67.814 0-122.787-54.973-122.787-122.787C388.11 186.973 443.083 132 510.897 132z m0.269 62.395c-33.503 0-60.662 27.159-60.662 60.661 0 33.503 27.16 60.662 60.662 60.662 33.503 0 60.662-27.159 60.662-60.662 0-33.502-27.16-60.661-60.662-60.661z" fill="#33CAB7" p-id="45546"></path></svg>`,
          name: "AGC曲线偏差分析",
        },
        {
          icon: "Files",
          index: "/generatingCap/dataAnalysis/analysisReport",
          img: gener_fxbg,
          imgEn: gener_jjjfx,
          svg: `<svg t="1711616966536" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="47716" width="25" height="25"><path d="M256.97 256.36m31.26 0l318.04 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-318.04 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47717"></path><path d="M256.97 449.38m31.26 0l445.41 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-445.41 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47718"></path><path d="M256.97 643.55m31.26 0l194.56 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-194.56 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47719"></path><path d="M704.64 256.36m31.26 0l0.29 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-0.29 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47720"></path><path d="M767.59 98.2H254.2a127.35 127.35 0 0 0-127.35 127.35v575.08A127.35 127.35 0 0 0 254.2 928h321.49A31.35 31.35 0 0 0 607 896.63v-1.3A31.34 31.34 0 0 0 575.69 864H254.2a63.35 63.35 0 0 1-63.35-63.35v-575.1a63.35 63.35 0 0 1 63.35-63.35h513.39a63.35 63.35 0 0 1 63.35 63.35V832a32 32 0 0 1-15.78 27.57 31.77 31.77 0 0 0-15.91 27.28v1.49c0 23.81 25.61 39.13 46.39 27.51a96.08 96.08 0 0 0 49.3-83.85V225.55A127.35 127.35 0 0 0 767.59 98.2z" fill="#33CAB7" p-id="47721"></path></svg>`,
          name: "能效分析报告",
        },
        {
          icon: "Document",
          index: "/generatingCap/dataAnalysis/yhjyReport",
          img: gener_fxbg,
          imgEn: gener_jjjfx,
          svg: `<svg t="1711618680641" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="96088" width="25" height="25"><path d="M322.06 98.4m6.19 0l299.01 0q6.19 0 6.19 6.19l0 102.85q0 6.19-6.19 6.19l-299.01 0q-6.19 0-6.19-6.19l0-102.85q0-6.19 6.19-6.19Z" fill="#33CAB7" p-id="96089"></path><path d="M483.19 752.83c0-120.47 98.65-218.13 220.36-218.13a221.06 221.06 0 0 1 109 28.52c-0.38-181.64-0.5-367.3-0.5-367.3a22.24 22.24 0 0 0-22.19-22.17H670.39v54.65a22.25 22.25 0 0 1-22.2 22.18H307.31a22.25 22.25 0 0 1-22.19-22.18v-54.65H165.64a22.24 22.24 0 0 0-22.19 22.17v700.72a22.24 22.24 0 0 0 22.19 22.17h395c-47.42-40.01-77.45-99.52-77.45-165.98z m-215.8-366.06a10.33 10.33 0 0 1 10.3-10.3h400.12a10.33 10.33 0 0 1 10.3 10.3v54.9a10.33 10.33 0 0 1-10.3 10.3H277.69a10.33 10.33 0 0 1-10.3-10.3zM482.9 617.71A10.32 10.32 0 0 1 472.6 628H277.69a10.32 10.32 0 0 1-10.3-10.29V562.8a10.32 10.32 0 0 1 10.3-10.29H472.6a10.32 10.32 0 0 1 10.3 10.29z" fill="#33CAB7" p-id="96090"></path><path d="M703.55 768.1a15.36 15.36 0 0 1-15.44-15.27v-175c-90.81 7.69-162.11 83.1-162.11 175 0 97 79.48 175.71 177.52 175.71 92.83 0 169-70.55 176.83-160.44z" fill="#33CAB7" p-id="96091"></path><path d="M719 737.55h161.4C873 652.7 804.7 585.09 719 577.78z" fill="#33CAB7" p-id="96092"></path></svg>`,
          name: "优化建议报告",
        },
        {
          icon: "Document",
          index: "/generatingCap/dataAnalysis/jjyxReport",
          img: gener_fxbg,
          imgEn: gener_jjjfx,
          svg: `<svg t="1711616966536" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="47716" width="25" height="25"><path d="M256.97 256.36m31.26 0l318.04 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-318.04 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47717"></path><path d="M256.97 449.38m31.26 0l445.41 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-445.41 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47718"></path><path d="M256.97 643.55m31.26 0l194.56 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-194.56 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47719"></path><path d="M704.64 256.36m31.26 0l0.29 0q31.26 0 31.26 31.26l0 0.01q0 31.26-31.26 31.26l-0.29 0q-31.26 0-31.26-31.26l0-0.01q0-31.26 31.26-31.26Z" fill="#33CAB7" p-id="47720"></path><path d="M767.59 98.2H254.2a127.35 127.35 0 0 0-127.35 127.35v575.08A127.35 127.35 0 0 0 254.2 928h321.49A31.35 31.35 0 0 0 607 896.63v-1.3A31.34 31.34 0 0 0 575.69 864H254.2a63.35 63.35 0 0 1-63.35-63.35v-575.1a63.35 63.35 0 0 1 63.35-63.35h513.39a63.35 63.35 0 0 1 63.35 63.35V832a32 32 0 0 1-15.78 27.57 31.77 31.77 0 0 0-15.91 27.28v1.49c0 23.81 25.61 39.13 46.39 27.51a96.08 96.08 0 0 0 49.3-83.85V225.55A127.35 127.35 0 0 0 767.59 98.2z" fill="#33CAB7" p-id="47721"></path></svg>`,
          name: "经济运行分析报告",
        },
      ],
      zhbjDatas: [
        // {
        //   icon: "HelpFilled",
        //   index: "/integratedAlarm",
        //   svg: ` <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="25" height="25">
        //             <path
        //               fill="#33CAB7"
        //               d="M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"
        //             ></path>
        //           </svg>`,
        //   img: gener_fdsjzb,
        //   name: "首页",
        //   width: "276px",
        // },
        {
          icon: "Coin",
          svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="25" height="25"><path fill="#33CAB7" d="M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"></path><path fill="#33CAB7" d="M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"></path><path fill="#33CAB7" d="M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"></path></svg>`,
          img: gener_fdsjzb,
          name: "综合报警",
          index: "/integratedAlarm/realwarning",
          width: "276px",
          children: [
            {
              name: "实时报警",
              index: "/integratedAlarm/realwarning",
            },
            {
              name: "预警查询",
              index: "/integratedAlarm/customWarning",
            },
            {
              name: "报警查询",
              index: "/integratedAlarm/historyWarning",
            },
            // {
            //   name: "停机查询",
            //   index: "/integratedAlarm/stopQuery",
            // },
            // {
            //   name: "数据查询",
            //   index: "/integratedAlarm/dataSearch",
            // },
          ],
        },
        {
          icon: "Coin",
          svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="25" height="25"><path fill="#33CAB7" d="M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"></path></svg>`,
          img: gener_fdsjzb,
          name: "可靠性分析",
          index: "/integratedAlarm/customAnalyse",
          children: [
            {
              name: "预警分析",
              index: "/integratedAlarm/customAnalyse",
            },
            {
              name: "报警分析",
              index: "/integratedAlarm/historyAnalyse",
            },
          ],
        },
        {
          icon: "Coin",
          svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="25" height="25"><path fill="#33cab8" d="M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"></path></svg>`,
          img: gener_fdsjzb,
          name: "报警配置",
          index: "/integratedAlarm/historyConfig",
          children: [
            {
              name: "预警配置",
              index: "/integratedAlarm/customConfig",
            },
            {
              name: "报警配置",
              index: "/integratedAlarm/historyConfig",
            },
            {
              name: "预警排查方案",
              index: "/integratedAlarm/earlyWarning",
            },
            {
              name: "规则修改日志",
              index: "/integratedAlarm/logs",
            },
          ],
        },
        {
          icon: "Coin",
          svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="25" height="25"><path fill="#33cab7" d="M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"></path></svg>`,
          img: gener_fdsjzb,
          name: "设备模型配置",
          index: "/integratedAlarm/deviceConfig",
        },
      ],
      memuCloseTimeout: null,
      fixed: false,
      // swichTheme: false,
      swichTheme: true, // 默认白色版本
      x: null,
      y: null,
      alarmConfigArray: [],
      //请求参数
      requestAlarmHistoryParams: [
        {
          alarmType: "booststation",
          deviceType: "",
        },
        {
          alarmType: "inverter",
          deviceType: "",
        },
        {
          alarmType: "windturbine",
          deviceType: "",
        },
        {
          alarmType: "custom",
          deviceType: "inverter",
        },
        {
          alarmType: "custom",
          deviceType: "windturbine",
        },
      ],
      alarmList: [
        {
          tsName: "06-11 12:00:00",
          wpName: "风电场1",
          deviceName: "#36",
          description: "变频器报告电网已接入",
          isClose: true,
        },
        {
          tsName: "06-11 12:00:00",
          wpName: "风电场2",
          deviceName: "#58",
          description: "风机等待运行就绪",
          isClose: false,
        },
      ],
      dialogList: [],
      realList: [],
      audioElement: null,
      routepath: "",
    };
  },
  watch: {
    // $route: {
    //   handler: function (route) {
    //     this.showHeader = route.path === "/login" ? false : true;
    //     this.isShowMenu =
    //       route.path === "/login" || route.path === "/home" ? false : true;
    //         //
    //   },
    //   immediate: true,
    // },
    $route(to, from) {
      // 当路由发生变化时，更新 currentPath
      this.routepath = to.path;
      this.showHeader = to.path === "/login" ? false : true;
      this.isShowMenu =
        to.path === "/login" || to.path === "/home" ? false : true;
      this.pagestyFn(to.path);
    },
  },

  async created() {
    await this.initWebSocket();
    await this.getAllStation();
    this.getAlarmConfig();
    this.x = 80;
    this.y = 80;
    let requestResult = [];
    this.requestAlarmHistoryParams.forEach(({ alarmType, deviceType }) => {
      requestResult.push(this.getAlarmHistory(alarmType, deviceType));
    });

    Promise.all(requestResult)
      .then((promiseResult) => {
        this.alarmList = [];
        promiseResult.forEach(({ data }) => {
          data?.ls?.forEach((ele) => {
            this.pushALarmItem(ele);
          });
        });
        this.dialogList.sort((a, b) => {
          return b.ts - a.ts;
        });
        this.realList.sort((a, b) => {
          return b.ts - a.ts;
        });
        this.$store.commit("changeAlarmlist", this.alarmList);
        this.$store.commit("setWarning", this.dialogList);
        this.$store.commit("setWarningList", this.realList);
        // if (!this.socketLeaveFlag) {
        //   // 没有离开——重连
        //   // websocket重连
        //   this.socketReconnect1();
        // }
      })
      .catch(() => {
        requestResult.forEach((ele, index) => {
          ele
            .then(({ data }) => {
              data?.ls?.forEach((ele) => {
                this.pushALarmItem(ele);
              });
            })
            .catch((error) => {
              ElNotification({
                type: "error",
                title: "查询历史未处理报警请求出错！",
                dangerouslyUseHTMLString: true,
                message: `<div class="currentRequestErrorNotification">
                                <p><span>主要参数：</p>
                                <p style="color:var(--el-color-primary)"><span class="errorTitle">alarmType:</span><span class="errorDesc">"${this.requestAlarmHistoryParams[index].alarmType}"</span></p>
                                <p style="color:var(--el-color-primary)"><span class="errorTitle">deviceType:</span><span class="errorDesc">"${this.requestAlarmHistoryParams[index].deviceType}"</span></p>
                                <p style="color:var(--el-color-danger)"><span class="errorTitle">错误正文:</span><span class="errorDesc">${error}</span></p>
                             </div>`,
              });
              throw error;
            });
        });
      });
  },

  mounted() {
    // if (!JSON.parse(window.sessionStorage.getItem("theme"))) {
    //   document.getElementById("app").style.background = "#040c0b";
    // } else {
    //   this.swichTheme = JSON.parse(window.sessionStorage.getItem("theme"));
    //   if (!this.swichTheme) {
    //     document.getElementById("app").style.background = "#0F0F0F";
    //   } else {
    //     document.getElementById("app").style.background = "#5473E8";
    //   }
    //   this.$emit("swichFn", this.switchTheme);
    // }
    this.fixed = window.sessionStorage.getItem("menufixed");
    this.isShowMenu = window.sessionStorage.getItem("isShowMenu");

    // if (window.sessionStorage.getItem('headerRoute')) {
    //     let str = window.sessionStorage.getItem('headerRoute')
    let str = window.location.href;
    if (str.indexOf("powerPrediction") > -1) {
      this.showMenuData = this.powerPreDatas;
    } else if (str.indexOf("intelligentReport") > -1) {
      this.showMenuData = this.intelligentReportDatas;
    } else if (str.indexOf("generatingCap") > -1) {
      this.showMenuData = this.generatingCapDatas;
    } else if (str.indexOf("integratedAlarm") > -1) {
      this.showMenuData = this.zhbjDatas;
    } else {
      this.showMenuData = this.generatingCapDatas;
    }
    // }
    window.getSocketData = this.getSocketData;
    window.addEventListener("onmessageWS", this.getSocketData);
  },

  unmounted() {
    this.$websocket.close();
  },
  methods: {
    // 获取全部场站（不分风电光伏）
    async getAllStation() {
      const { data: datas } = await getAllStation();
      // const { data: datas } = await fetchStationListAll();
      if (datas) {
        this.$store.commit("changeStationAll", datas);
      } else {
        this.$store.commit("changeStationAll", []);
      }
    },

    //获取报警配置
    getAlarmConfig() {
      if (localStorage.getItem("alarmConfigArray")) {
        this.alarmConfigArray = JSON.parse(
          localStorage.getItem("alarmConfigArray")
        );
      } else {
        this.alarmConfigArray = [
          {
            id: "1",
            alarmLevel: 1,
            isAlart: false,
            isAlarmSound: false,
            isContinuousAlarm: false,
          },
          {
            id: "2",
            alarmLevel: 2,
            isAlart: false,
            isAlarmSound: false,
            isContinuousAlarm: false,
          },
          {
            id: "3",
            alarmLevel: 3,
            isAlart: false,
            isAlarmSound: false,
            isContinuousAlarm: false,
          },
          {
            id: "4",
            alarmLevel: 4,
            isAlart: true,
            isAlarmSound: true,
            isContinuousAlarm: false,
          },
          {
            id: "5",
            alarmLevel: 5,
            isAlart: true,
            isAlarmSound: true,
            isContinuousAlarm: true,
          },
        ];
        localStorage.setItem(
          "alarmConfigArray",
          JSON.stringify(this.alarmConfigArray)
        );
      }
    },

    pushALarmItem(alarmItem, type) {
      const configItem = this.getConfigItem(alarmItem.rank);
      const alarmOption = {
        id: alarmItem.id ? alarmItem.id : alarmItem.tbname,
        lv: alarmItem.rank,
        modelId: alarmItem.modelId,
        lvName: this.getLvName(alarmItem),
        rank: alarmItem.rank,
        confirmed: alarmItem.confirmed,
        class: `animate__bounceInRight lv${alarmItem.rank}`,
        deviceId: alarmItem.deviceId,
        faultCause: alarmItem.faultCause,
        resolvent: alarmItem.resolvent,
        characteristic: alarmItem.characteristic,
        code: alarmItem.code,
        wpName: alarmItem.stationName
          ? alarmItem.stationName
          : alarmItem.wpName,
        stationId: alarmItem.stationId ? alarmItem.stationId : alarmItem.wpId,
        isClose: alarmItem.closeTime ? true : alarmItem.endts ? true : false,
        isCloseName: alarmItem.closeTime
          ? "已解除"
          : alarmItem.endts
          ? "已解除"
          : "未解除",
        alarmId: alarmItem.alarmId,
        alarmType: alarmItem.alarmType,
        alarmName: this.getAlarmName(alarmItem),
        description: alarmItem.description,
        deviceType: alarmItem.deviceType,
        oval: alarmItem.oval,
        triggerType: alarmItem.triggerType,
        ts: alarmItem.ts
          ? dayjs(alarmItem.ts).valueOf()
          : dayjs(alarmItem.updateTime).valueOf(),
        endts: alarmItem.endts
          ? dayjs(alarmItem.endts).format("YYYY-MM-DD HH:mm:ss")
          : null,
        closeTime: alarmItem.closeTime
          ? dayjs(alarmItem.closeTime).format("YYYY-MM-DD HH:mm:ss")
          : null,
        deviceName: alarmItem.deviceName
          ? alarmItem.deviceName
          : alarmItem.code,
        tsName: alarmItem.ts
          ? new Date(alarmItem.ts).formatDate("MM-dd hh:mm:ss")
          : new Date(alarmItem.updateTime).formatDate("MM-dd hh:mm:ss"),
        fullTsName: alarmItem.ts
          ? new Date(alarmItem.ts).formatDate("yyyy-MM-dd hh:mm:ss")
          : new Date(alarmItem.updateTime).formatDate("yyyy-MM-dd hh:mm:ss"),
      };
      if (
        alarmOption.alarmType == "booststation" &&
        alarmOption.deviceType != "custom"
      ) {
        if (
          configItem.isAlarmSound ||
          configItem.isAlart ||
          configItem.isContinuousAlarm
        ) {
          let a = {};
          a[`${alarmOption.stationId}`] =
            alarmOption.closeTime || alarmOption.confirmed ? false : true;
          this.alarmList.push(a);
          this.alarmList = [
            ...new Set(this.alarmList.map((t) => JSON.stringify(t))),
          ].map((s) => JSON.parse(s));
        }
      }
      if (
        configItem.isAlarmSound ||
        configItem.isAlart ||
        configItem.isContinuousAlarm
      ) {
        if (type && type == "ws") {
          this.dialogList.unshift(alarmOption);
        } else {
          this.dialogList.push(alarmOption);
        }
      }
      if (type && type == "ws") {
        this.realList.unshift(alarmOption);
      } else {
        this.realList.push(alarmOption);
      }

      //    && alarmOption.deviceType != "custom"
      this.playAudioEffect();
    },

    playAudioEffect() {
      const lv1Config = this.getConfigItem(1);
      let lv1Play = false;
      if (lv1Config.isAlarmSound) {
        lv1Play = this.dialogList.some((ele) => {
          return ele.lv === 1 && !ele.confirm;
        });
      }
      const lv2Config = this.getConfigItem(2);
      let lv2Play = false;
      if (lv2Config.isAlarmSound) {
        lv2Play = this.dialogList.some((ele) => {
          return ele.lv === 2 && !ele.confirm;
        });
      }
      const lv3Config = this.getConfigItem(3);
      let lv3Play = false;
      if (lv3Config.isAlarmSound) {
        lv3Play = this.dialogList.some((ele) => {
          return ele.lv === 3 && !ele.confirm;
        });
      }
      const lv4Config = this.getConfigItem(4);
      let lv4Play = false;
      if (lv4Config.isAlarmSound) {
        lv4Play = this.dialogList.some((ele) => {
          return ele.lv === 4 && !ele.confirm;
        });
      }
      const lv5Config = this.getConfigItem(5);
      let lv5Play = false;
      if (lv5Config.isAlarmSound) {
        lv5Play = this.dialogList.some((ele) => {
          return ele.lv === 5 && !ele.confirm;
        });
      }
      //   console.log(lv1Play, lv2Play, lv3Play, lv4Play, lv5Play);
      if (lv5Play && !this.seriousWarning) {
        this.seriousWarning = true;
        this.audioElement = new Audio();
        this.audioElement.src = "./static/sound/lv5.mp3";
        this.audioElement.loop = true;
        false && this.audioElement?.play();
      } else if (
        (lv1Play || lv2Play || lv3Play || lv4Play) &&
        !this.seriousWarning
      ) {
        this.audioElement = new Audio();
        this.audioElement.src = "./static/sound/lv4.mp3";
        this.audioElement.addEventListener("ended", () => {
          this.audioElement?.removeEventListener(
            "ended",
            this.stopPlayAudioEffect
          );
        });
        false && this.audioElement?.play();
      } else {
        if (!this.seriousWarning) {
          this.stopPlayAudioEffect();
        }
      }
    },

    stopPlayAudioEffect() {
      this.seriousWarning = false;
      if (this.audioElement) {
        this.audioElement.pause();
        this.audioElement.currentTime = 0;
        this.audioElement.loop = false;
      }
      this.audioElement = null;
    },

    //查历史报警
    getAlarmHistory(alarmType, deviceType) {
      let params = {
        pageNum: 1,
        pageSize: 50,
        alarmId: "",
        alarmType,
        deviceType,
        stationid: "",
        deviceid: "",
        modelId: "",
        components: "",
        description: "",
        isclose: false,
        // begin: dayjs().add(-1, "hour").format("YYYY-MM-DD HH:mm:ss"),
        // end: dayjs().format("YYYY-MM-DD HH:mm:ss"),
        begin: `${dayjs().add(-1, "hour").format("YYYY-MM-DD")} 00:00:00`,
        end: `${dayjs().format("YYYY-MM-DD")} 23:59:59`,
      };
      if (params.alarmType == "windturbine") {
        params.stationid = "";
      } else if (params.alarmType == "inverter") {
        params.stationid = "";
      }
      return alarm_history(params, 12000);
    },

    getConfigItem(lv) {
      return (
        this.alarmConfigArray.find((ele) => {
          return ele.alarmLevel === lv;
        }) || {}
      );
    },

    getAlarmName(alarmItem) {
      let alarmName = "";
      if (alarmItem.deviceType === "booststation") {
        alarmName = "升压站报警";
      } else if (alarmItem.deviceType === "inverter") {
        alarmName = "光伏报警";
      } else if (alarmItem.deviceType === "windturbine") {
        alarmName = "设备报警";
      } else if (alarmItem.deviceType === "station") {
        alarmName = "场站";
      }

      if (alarmItem.alarmType === "custom") {
        alarmName = "自定义报警";
      }
      return alarmName;
    },

    getLvName(alarmItem) {
      if (alarmItem.rank === 1) {
        return "低级";
      } else if (alarmItem.rank === 2) {
        return "低中级";
      } else if (alarmItem.rank === 3) {
        return "中级";
      } else if (alarmItem.rank === 4) {
        return "中高级";
      } else if (alarmItem.rank === 5) {
        return "高级";
      }
    },

    progressFormat(value) {
      return `${
        value < 100 ? "数据处理中..." + parseInt(value) + "%" : "数据处理完成"
      }`;
    },

    async initWebSocket() {
      this.$ws.initWebSocket();
    },

    getSocketData({ detail }) {
      const res = detail.data;
      if (res.type === "message") {
        this.showReadyProgress = true;
        this.$store.commit("setReadyProgress", Number(res.content.data) * 100);
        if (res.content.code === 2001) {
          this.progressType = "success";
        } else {
          this.progressType = "primary";
        }
      } else if (
        res.type === "connection" &&
        this.$store.state.readyProgress === 0
      ) {
        this.showReadyProgress = false;
        this.progressType = "primary";
      }
    },

    selectMenuItem(index, indexPath, item, routeResult) {
      // console.log("index====>>>>", index);
      // console.log("indexPath====>>>>", indexPath);
      // console.log("item====>>>>", item);
      // console.log("routeResult====>>>>", routeResult);
    },
    isCollapseFn() {
      this.isCollapse = !this.isCollapse;
    },
    noGrounpItemFn(path) {
      let str = "66px";
      if (!this.isCollapse) {
        if (path.indexOf("generatingCap") > -1) {
          str = "width: 200px";
        } else if (path.indexOf("powerPrediction") > -1) {
          str = "width: 160px";
        } else if (path.indexOf("integratedAlarm") > -1) {
          str = "width: 300px";
        }
      } else {
        str = "width: 66px";
      }
      return str;
    },
    pagestyFn(path) {
      let str = "";
      if (path) {
        if (path.indexOf("home") > -1) {
          str = "width:100%;height:100vh";
        } else {
          if (!this.isCollapse) {
            if (path.indexOf("generatingCap") > -1) {
              str = "width: calc(100% - 200px);height:100vh";
            } else if (path.indexOf("powerPrediction") > -1) {
              str = "width: calc(100% - 160px);height:100vh";
            } else if (path.indexOf("integratedAlarm") > -1) {
              str = "width: calc(100% - 300px);height:100vh";
            }
          } else {
            str = "width: calc(100% - 66px);height:100vh";
          }
        }
      }
      return str;
    },
    headerName(name) {
      this.showMenuData = [];
      if (name === "功率预测") {
        this.showMenuData = this.powerPreDatas;
      } else if (name === "智能报表") {
        this.showMenuData = this.intelligentReportDatas;
      } else if (name === "发电能力分析") {
        this.showMenuData = this.generatingCapDatas;
      } else if (name === "综合报警") {
        this.showMenuData = this.zhbjDatas;
      }
    },
    swichFn(val) {
      this.swichTheme = val;
      if (!this.swichTheme) {
        document.getElementById("app").style.background = "#0F0F0F";
      } else {
        document.getElementById("app").style.background = "#5473E8";
      }
      // this.$router.go(0);
    },
    openReportDetail(index, name) {
      this.$router.push({
        // path: "/home"
        path: index,
        query: {
          name: name,
        },
      });
    },
    imgEnter(menu) {
      menu.chImg = false;
      if (menu.imgEn) {
        menu.chImg = true;
      }
    },
    imgLeave(menu) {
      menu.chImg = false;
    },
    showMenu() {
      if (!this.fixed) {
        this.isShowMenu = true;
        window.sessionStorage.setItem("isShowMenu", this.isShowMenu);
        clearTimeout(this.memuCloseTimeout);
        this.memuCloseTimeout = null;
      }
    },
    hideMenu() {
      if (!this.fixed) {
        this.memuCloseTimeout = setTimeout(() => {
          this.isShowMenu = true;
          window.sessionStorage.setItem("isShowMenu", this.isShowMenu);
        }, 500);
      }
    },
    handleNodeClick(index, indexPath) {
      this.$router.push({
        path: index,
      });
    },
    handleClickFixed() {
      this.fixed = !this.fixed;
      window.sessionStorage.setItem("menufixed", JSON.stringify(this.fixed));
      if (this.fixed) {
        this.isShowMenu = true;
        window.sessionStorage.setItem("isShowMenu", this.isShowMenu);
      }
    },
  },
};
</script>

<style lang="less" scoped>
.el-popover {
  .menuChildren {
    p {
      // :hover {
      //     color: #4b55ae;
      // }
    }
  }
}
</style>
<style lang="less">
@import "~@/assets/styles/font.less";
#screen.greenSty {
  @import "~@/assets/styles/main.less";
}
@import "~@/assets/styles/blueStyle/blueSty.less";
#screen.blueSty {
  @import "~@/assets/styles/blueStyle/main.less";
}

#screen {
  .appProgress {
    z-index: 1000;
    position: absolute;
    left: 310px;
    top: 18px;
    overflow: hidden;

    .el-progress__text {
      color: #fff;
      margin-left: 12px;
      font-size: 16px;
    }

    &.show {
      width: 200px;
      transition: 0.5s;
    }
    &.hidden {
      width: 0;
      transition: 0.5s;
    }
  }
}

.windLife {
  height: 100%;

  .mainSty {
    display: flex;

    .menu-body {
      position: absolute;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;

      flex: 0 0 63px;
      width: 63px;
      height: calc(100% - 60px);
      top: 60px;
      background-color: fade(#21192a, 75%);
      z-index: 2002;

      &:hover {
        opacity: 1;
        transition: opacity 0.2s;
        transition-timing-function: ease-out;
        transform: translate(0);
      }

      .menu-list {
        margin: 0;
        padding: 0;
        list-style: none;

        img {
          width: 25px;
          height: 25px;
        }

        .menu-item {
          display: flex;
          text-align: center;
          line-height: 2;
          padding: 12px 0;
          width: 25px;
          height: 25px;

          .el-tooltip__trigger {
            color: #fff;
          }

          a {
            display: flex;
            width: 100%;
            height: 100%;
            font-size: 14px;
            text-decoration: unset;
            white-space: nowrap;
          }

          &.active {
            background: #323e70;
          }

          & + .menu-item {
            border-top: 1px solid fade(#606769, 40);
          }
        }
      }

      .lockpage {
        position: absolute;
        bottom: 20px;

        .el-icon {
          color: #fff;

          svg {
            width: 25px;
            height: 25px;
          }
        }
      }
    }

    .elmenuSty {
      height: 100vh;
      position: relative;
      z-index: 1000;

      img {
        width: 25px;
        height: 25px;
      }

      .menu-list {
        width: 100%;
        height: 40px;
        line-height: 40px;
        position: absolute;
        bottom: 50px;

        .menu-item {
          height: 40px;
          line-height: 40px;
          display: flex;
          justify-content: center;
          align-items: center;

          img {
            width: 25px;
            height: 25px;
          }
        }
      }

      .el-menu {
        min-width: 66px;
        border-right: transparent;

        .el-sub-menu {
          margin: 0 5px;

          .el-sub-menu__title {
            background: none;

            .elGrounpTitleAll {
              display: flex;
              height: 45px;
              line-height: 45px;
              position: relative;
              left: -5px;

              .svgSty {
                line-height: 45px;
                position: relative;
                top: -10px;
              }
            }

            .elGrounpTitle {
              .svgSty {
                line-height: 45px;
                position: relative;
                top: -10px;
                left: -5px;
              }
            }
          }
        }

        .is-opened {
          .el-sub-menu__title {
            border-radius: 8px 8px 0 0;
            background: #001d53;

            .elMenuTitleAll {
              display: flex;
              position: relative;
              left: -5px;

              .svgSty {
                line-height: 45px;
                position: relative;
                top: -10px;
              }
            }
          }

          .el-menu {
            border-radius: 0 0 8px 8px;
            padding: 10px 0 10px 0;
            background: #001d53;

            .elsubMenu {
              width: 180px;
              height: 30px;
              margin: 10px 0;
              position: relative;
              left: 50px;

              .grounpItem {
                height: 30px;
                position: relative;
                top: -13px;

                .grounpItemSty {
                  width: 7px;
                  height: 7px;
                  background: #b1b8cb;
                  border-radius: 50%;
                  position: relative;
                  left: -60px;
                }

                .grounpItemSpan {
                  position: relative;
                  left: -30px;
                }
              }

              .is-active {
                background: rgba(0, 70, 199, 0.4);
                border: 1px solid #115fc8;

                .grounpItemSty {
                  background: #1c99ff;
                  position: relative;
                  left: -61px;
                }
              }
            }
          }
        }

        .noGrounpItem {
          // padding: 0px 20px;
          background: none;
          position: relative;
          // left: 5px;

          .elMenuTitleAll {
            display: flex;
            height: 45px;
            line-height: 45px;

            .svgSty {
              line-height: 45px;
              position: relative;
              top: -10px;
            }
          }
        }

        .is-active {
          .elMenuTitle {
            background: #001d53;
            border-radius: 8px;
            padding: 5px;
            position: relative;
            left: -5px;
          }

          .elMenuTitleAll {
            display: flex;
            width: 100%;
          }
        }
      }
    }

    .pageSty {
      width: 100%;
      height: 100vh;
    }

    .menuBs {
      opacity: 0;
      transition: opacity 0.2s;
      transition-timing-function: ease-in;
    }
  }
}

@import "./assets/css/main.css";
@import "./assets/css/eleCss/el-popperW.less";
@import "./assets/css/eleCss/index.less";

.themeDark {
  @import "./assets/css/eleCss/el-dialogB.less";
  @import "./assets/css/eleCss/el-tableB.less";
  @import "./assets/css/eleCss/el-inputB.less";
  @import "./assets/css/eleCss/el-treeB.less";
  @import "./assets/css/eleCss/el-popper.less";
  background-image: url("@/assets/images/headerCom/headerBack_B1.png");
  background-repeat: no-repeat;

  .mainSty {
    .elmenuSty {
      .el-menu {
        .el-sub-menu {
          .el-sub-menu__title {
            color: #757575;

            svg {
              path {
                fill: #757575;
              }
            }
          }

          .el-sub-menu__title:hover,
          .is-active {
            color: #1c99ff;

            svg {
              path {
                fill: #1c99ff;
              }
            }
          }
        }

        .el-menu-item {
          color: #757575;

          svg {
            path {
              fill: #757575;
            }
          }
        }

        .el-menu-item:hover,
        .is-active {
          color: #1c99ff;

          svg {
            path {
              fill: #1c99ff;
            }
          }
        }
      }
    }
  }
}

.themeLight {
  @import "./assets/css/eleCss/el-input.less";
  @import "./assets/css/eleCss/el-dialogW.less";
  @import "./assets/css/eleCss/el-tableW.less";
  @import "./assets/css/eleCss/el-treeW.less";
  background-image: url("@/assets/images/headerCom/headerBack_W.png");
  background-repeat: no-repeat;

  .toolSty {
    .el-popper {
      width: 50% !important;
    }
  }

  .mainSty {
    .elmenuSty {
      .el-menu {
        .el-sub-menu {
          .el-sub-menu__title {
            color: #96a0b4;

            svg {
              path {
                fill: #96a0b4;
              }
            }
          }

          .el-sub-menu__title:hover,
          .is-active {
            color: #33cab7;

            svg {
              path {
                fill: #33cab7;
              }
            }
          }
        }

        .el-menu-item {
          color: #96a0b4;

          svg {
            path {
              fill: #96a0b4;
            }
          }
        }

        .el-menu-item:hover,
        .is-active {
          color: #33cab7;

          svg {
            path {
              fill: #33cab7;
            }
          }
        }
      }
    }
  }
}

// #app {
//     background: #040c0b;
// }
</style>