<template>
  <h1>组件示例</h1>
  <tab :data="tabData" @select="select" />
  <!-- 图表 -->
  <el-scrollbar v-if="currTab == 1" style="height: 85%">
    <h2>图表</h2>
    <h2>07-16新增</h2>
    <scatter-line-chart
      :lineData="scatterLineData.lineData"
      :data="scatterLineData.data"
      :height="'250px'"
    />

    <h2>07-12新增</h2>
    <h3>折现: zoom-line-chart</h3>
    <zoom-line-chart :height="'250px'" :smooth="false" :showLegend="true" />

    <h3>组合: area-line-chart</h3>
    <area-line-chart @areaClick="areaBarChartClick" :showLegend="true" />

    <h2>07-08新增</h2>
    <h3>组合: 时间区域 area-bar-chart</h3>
    <area-bar-chart @areaClick="areaBarChartClick" :showLegend="true" />

    <h3>组合: 柱线图 multiple-bar-line-chart</h3>
    <multiple-bar-line-chart :height="'250px'" />

    <h3>散点图 normal-scatter-chart</h3>
    <normal-scatter-chart :data="scatterData" />

    <h2>07-07新增</h2>
    <h3>柱状图：multiple-y-line-chart</h3>
    <multiple-y-line-chart :height="'300px'" />

    <h2>old</h2>

    <h3>柱状图：horizontal-bar-chart</h3>
    <horizontal-bar-chart :height="'300px'" />

    <h3>柱状图：horizontal-bar-chart</h3>
    <hover-bar-chart :list="HoverBarChart" :height="'200px'" />

    <h3>柱状图：list-bar-chart-2</h3>
    <list-bar-chart-2 :list="ListBarChart" :height="'200px'" />

    <h3>柱状图：multiple-bar-chart</h3>
    <multiple-bar-chart :list="MultipleBarChart" :height="'200px'" />

    <h3>柱状图：multiple-hover-bar-chart</h3>
    <multiple-hover-bar-chart :height="'200px'" />

    <h3>柱状图：percent-bar</h3>
    <percent-bar />

    <h3>柱状图：single-bar-chart</h3>
    <single-bar-chart />

    <h3>柱状图：thermometer</h3>
    <thermometer />

    <h3>组合：bar-line-chart</h3>
    <bar-line-chart :height="'300px'" :pageSize="10" />

    <h3>vertival-bar-line-chart</h3>
    <vertival-bar-line-chart :height="'300px'" />

    <h3>折线图：double-line-chart</h3>
    <double-line-chart :height="'200px'" />

    <h3>折线图：multiple-line-chart</h3>
    <multiple-line-chart :height="'200px'" />

    <h3>折线图：multi-arrow-line-chart</h3>
    <multi-arrow-line-chart :height="'200px'" />

    <h3>折线图：normal-line-chart</h3>
    <normal-line-chart />

    <h3>折线图：simple-line-chart</h3>
    <simple-line-chart />

    <h3>折线图：table-line-chart</h3>
    <table-line-chart />

    <h3>饼图：dash-pie-chart</h3>
    <div style="width: 350px">
      <dash-pie-chart />
    </div>

    <h3>饼图：dual-pie-chart</h3>
    <div style="width: 350px">
      <dual-pie-chart />
    </div>

    <h3>饼图：normal-pie-chart</h3>
    <div style="width: 350px">
      <normal-pie-chart />
    </div>

    <h3>饼图：percent-pie-chart</h3>
    <div style="width: 350px">
      <percent-pie-chart />
    </div>

    <h3>饼图：direction-radar-chart</h3>
    <div style="height: 500px">
      <direction-radar-chart :height="'500px'" />
    </div>

    <h3>饼图：normal-radar-chart</h3>
    <div style="height: 500px">
      <normal-radar-chart :height="'500px'" />
    </div>

    <h3>饼图：radar-chart</h3>
    <div style="height: 500px">
      <radar-chart :height="'500px'" />
    </div>
  </el-scrollbar>
  <!-- 组件 -->
  <el-scrollbar v-if="currTab == 2" style="height: 85%">
    <h3>panel</h3>
    <panel :title="'title 标题'"> 带标题title </panel>
    <br />
    <panel> 无标题title </panel>

    <h3>panel-2</h3>
    <panel-2 :title="'panel -2'"> panel 2 </panel-2>

    <h3>panel-3</h3>
    <panel-3> panel-3 </panel-3>

    <h3>toolbar-panel</h3>
    <toolbar-panel title="toolbar-panel">
      <template v-slot:tools>
        <div class="tools">
          <div class="tool-block">
            <div class="legend bg-green"></div>
            <div class="legend-text">实际电量</div>
          </div>
          <div class="tool-block">
            <div class="legend bg-orange"></div>
            <div class="legend-text">计划检修损失</div>
          </div>
          <div class="tool-block">
            <div class="legend bg-yellow"></div>
            <div class="legend-text">非计划检修损失</div>
          </div>
          <div class="tool-block">
            <div class="legend bg-red"></div>
            <div class="legend-text">限电损失</div>
          </div>
          <div class="tool-block">
            <div class="legend bg-purple"></div>
            <div class="legend-text">受累损失</div>
          </div>
          <div class="tool-block">
            <div class="legend bg-blue"></div>
            <div class="legend-text">性能损失</div>
          </div>
        </div>
      </template>
      <bar-line-chart :height="'calc(100vh - 200px)'" :color="barColor" />
    </toolbar-panel>

    <h3>btn-group-double</h3>
    <btn-group-double :btnGroups="btnGroups" @select="btnGroupDoubleSelect" />

    <h3>card-1</h3>
    <card-1 />

    <h3>percent-card</h3>
    <percent-card :value="25" :title="'标题'" />

    <h3>percent-card-2</h3>
    <percent-card-2 />

    <h3>collapse-list</h3>
    <div style="width: 200px">
      <collapse-list />
    </div>

    <h3>list</h3>
    <div style="width: 200px">
      <list />
    </div>
  </el-scrollbar>

  <!-- Table 组件 -->
  <el-scrollbar v-if="currTab == 3" style="height: 85%">
    <h2>07-09更新</h2>
    <h3>table-2</h3>
    <h3>组件说明:</h3>
    <p>与原组件使用方式基本相同 原table组件满足的情况下，不更换新组件也可以</p>
    <p>新table支持原table所有特性,优化了props及column, 支持更多功能</p>
    <p>现支持 文本省略及鼠标浮动显示</p>
    <p>
      * 原有template 及第三方标签实现方式更改 删除了column 中的
      template、type及props
    </p>
    <h3>props说明:</h3>
    <p>
      height : string 高度 指定列表高度 自动判断是否显示滚动条,
      不进行设置则为最大宽度且没有滚动条
    </p>
    <p>pageSize : number 分页个数 若不传 pagesize 不进行分页处理</p>
    <p>@onPagging : method 分页回调</p>
    <p>data : Object 数据源 { column: [] , data:[] , total: number }</p>
    <h3>column说明:</h3>
    <p>
      { name: "风机名称", field: "name", width:'', click:function(){ }
      ,sortable:fasle, slot:false, fixed:false, align:"center" }
    </p>
    <p>name : string 列名</p>
    <p>field : string 对应数据项 同时使用于具名插槽的name值</p>
    <p>
      width : 列宽 可自定与每列宽度 如果想设置横向滚动条 需手动设置列宽
      满足各列宽度和大于屏幕宽度
    </p>
    <p>click : 点击事件 与原有table相同</p>
    <p>sortable : 排序</p>
    <p>
      slot: 开启插槽 为true时, 可在HTML中添加 插槽模板 添加自定义内容 为false时,
      默认对应显示值, 示例参考代码中template
    </p>
    <p>fixed: 固定列</p>
    <p>align: 默认文本居中 left | center| right</p>
    <table-2
      :data="tableData2"
      :height="'200px'"
      :pageSize="10"
      @onPagging="tableonPagging"
    >
      <!-- v-slot:[field] 对应列嵌入自定义内容 包括第三方标签 -->
      <!-- 同时需要在 colum 中设置 slot:true  -->
      <!-- 如果只设置 slot:true 不写模板 列不存在内容 -->
      <!-- scope 内容 scope.column 传入的 col 值, scope.row 数据值 -->
      <template v-slot:lqf="scope">
        {{ scope.column.name }}:{{ scope.row.lqf }}
      </template>
      <template v-slot:action="scope">
        <a
          style="cursor: pointer; color: green; margin-right: 8px"
          @click="tableAction(scope)"
        >
          点击查看组件点击事件返回信息
        </a>
        <a style="cursor: pointer; color: green; margin-right: 8px">
          {{ scope.column.name }}2
        </a>
        <a style="cursor: pointer; color: green; margin-right: 8px">
          {{ scope.column.name }}3
        </a>
      </template>
    </table-2>

    <h3>table</h3>
    <Table
      :data="tableData"
      :height="'200px'"
      :canScroll="true"
      :pageSize="40"
      :showHover="false"
      @onPagging="tableonPagging"
    />
    <h3>table</h3>
    <check-table
      :data="tableData"
      :height="'200px'"
      :canScroll="true"
      :pageSize="40"
      :showHover="false"
      @onPagging="tableonPagging"
      @check="CheckTableonCheck"
    />

    <h3>el-table</h3>
    <el-table
      class="custom-table"
      :data="eltableData"
      max-height="200"
      stripe
      style="width: 100%"
      border="false"
    >
      <el-table-column prop="date" label="日期" width="150"> </el-table-column>
      <el-table-column label="配送信息">
        <el-table-column prop="name" label="姓名" width="120">
        </el-table-column>
        <el-table-column label="地址">
          <el-table-column prop="province" label="省份" width="120">
          </el-table-column>
          <el-table-column prop="city" label="市区" width="120">
          </el-table-column>
          <el-table-column prop="address" label="地址"> </el-table-column>
          <el-table-column prop="zip" label="邮编" width="120">
          </el-table-column>
        </el-table-column>
      </el-table-column>
    </el-table>

    <div>
      <el-table
        class="custom-table"
        :data="treeTableData"
        style="width: 100%; margin-bottom: 20px"
        row-key="id"
        border
        default-expand-all
        :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
      >
        <el-table-column prop="date" label="日期" sortable width="180">
        </el-table-column>
        <el-table-column prop="name" label="姓名" sortable width="180">
        </el-table-column>
        <el-table-column prop="address" label="地址"> </el-table-column>
      </el-table>
    </div>
  </el-scrollbar>

  <!--  icon -->
  <el-scrollbar v-if="currTab == 4" style="height: 85%">
    <i class="svg-icon svg-icon-sm mg-r-16">
      <svg-icon :svgid="'svg-wind-site'" />
    </i>
    <i class="svg-icon svg-icon-green mg-r-16">
      <svg-icon :svgid="'svg-wind-site'" />
    </i>
    <i class="svg-icon svg-icon-lg svg-icon-red mg-r-16">
      <svg-icon :svgid="'svg-wind-site'" />
    </i>
  </el-scrollbar>

  <!-- el-compoments -->

  <el-scrollbar v-if="currTab == 5" style="height: 85%">
    <el-button type="text" @click="dialogTableVisible = true"
      >打开 Dialog</el-button
    >
    <el-tree
      :data="elTreeData.data"
      :props="elTreeData.defaultProps"
      @node-click="handleNodeClick"
    ></el-tree>

    <el-cascader
      :options="cascader.options"
      :props="cascader.props"
      clearable
    ></el-cascader>
  </el-scrollbar>

  <!-- 表格合并 -->

  <div v-if="currTab == 6" style="height: 70%">
    <el-button type="text" @click="()=>{ tableMergeStyleShow = !tableMergeStyleShow; BASE.showMsg({type:'success',msg:'表格样式已切换'}); }">切换表格样式</el-button>
    <el-button type="text" @click="()=>{ BASE.showMsg({type:'success',msg:'数据已刷新'}); createMergeTable(createSum); }">刷新表格数据</el-button>
    <el-button type="text" @click="()=>{ createSum = !createSum; BASE.showMsg({type:createSum ? 'success' : 'warning',msg:`合计行已${createSum ? '显示' : '隐藏'}`}); createMergeTable(createSum); }">{{createSum ? "隐藏" : "显示"}}表格合计</el-button>
    <el-table
      style="width: 100%"
      height="100%"
      :class="tableMergeStyleShow ? 'custom-table' : ''"
      :data="tableMergeData"
      :span-method="tableMergeArraySpanMethod"
      :show-summary="createSum"
      :summary-method="tableMergeDataSumMethod"
      sum-text="总计"
    >
      <el-table-column prop="fpName" label="名称" width="150" />
      <el-table-column prop="sd" label="时段" align="center" />
      <el-table-column label="时间">
        <el-table-column prop="sj1" label="2020-02-01" align="center" />
        <el-table-column prop="sj2" label="2020-02-02" align="center" />
        <el-table-column prop="sj3" label="2020-02-03" align="center" />
        <el-table-column prop="sj4" label="2020-02-04" align="center" />
        <el-table-column prop="sj5" label="2020-02-05" align="center" />
        <el-table-column prop="sj6" label="2020-02-06" align="center" />
        <el-table-column prop="sj7" label="2020-02-07" align="center" />
        <el-table-column prop="sj8" label="2020-02-08" align="center" />
        <el-table-column prop="sj9" label="2020-02-09" align="center" />
        <el-table-column prop="sj10" label="2020-02-10" align="center" />
      </el-table-column>
    </el-table>
  </div>

  <el-dialog custom-class="modal" title="收货地址" v-model="dialogTableVisible">
    <el-tree
      :data="elTreeData.data"
      :props="elTreeData.defaultProps"
      @node-click="handleNodeClick"
    ></el-tree>
  </el-dialog>
</template>

<script>
import horizontalBarChart from "../components/chart/bar/horizontal-bar-chart.vue";
import HoverBarChart from "../components/chart/bar/hover-bar-chart.vue";
import ListBarChart2 from "../components/chart/bar/list-bar-chart2.vue";
import MultipleBarChart from "../components/chart/bar/multiple-bar-chart.vue";
import MultipleHoverBarChart from "../components/chart/bar/multiple-hover-bar-chart.vue";
import PercentBar from "../components/chart/bar/percent-bar.vue";
import SingleBarChart from "../components/chart/bar/single-bar-chart.vue";
import Thermometer from "../components/chart/bar/thermometer.vue";
import AreaBarChart from "../components/chart/combination/area-bar-chart.vue";
import BarLineChart from "../components/chart/combination/bar-line-chart.vue";
import MultipleBarLineChart from "../components/chart/combination/multiple-bar-line-chart.vue";
import VertivalBarLineChart from "../components/chart/combination/vertival-bar-line-chart.vue";
import DoubleLineChart from "../components/chart/line/double-line-chart.vue";
import MultipleLineChart from "../components/chart/line/multiple-line-chart.vue";
import MultipleYLineChart from "../components/chart/line/multiple-y-line-chart.vue";
import NormalLineChart from "../components/chart/line/normal-line-chart.vue";
import SimpleLineChart from "../components/chart/line/simple-line-chart.vue";
import TableLineChart from "../components/chart/line/table-line-chart.vue";
import DashPieChart from "../components/chart/pie/dash-pie-chart.vue";
import DualPieChart from "../components/chart/pie/dual-pie-chart.vue";
import NormalPieChart from "../components/chart/pie/normal-pie-chart.vue";
import PercentPieChart from "../components/chart/pie/percent-pie-chart.vue";
import DirectionRadarChart from "../components/chart/radar/direction-radar-chart.vue";
import NormalRadarChart from "../components/chart/radar/normal-radar-chart.vue";
import RadarChart from "../components/chart/radar/radar-chart.vue";
import NormalScatterChart from "../components/chart/scatter/normal-scatter-chart.vue";
import BtnGroupDouble from "../components/coms/btn/btn-group-double.vue";
import Card1 from "../components/coms/cards/card-1.vue";
import PercentCard2 from "../components/coms/cards/percent-card-2.vue";
import PercentCard from "../components/coms/cards/percent-card.vue";
import CollapseList from "../components/coms/collapse/collapse-list.vue";
import SvgIcon from "../components/coms/icon/svg-icon.vue";
import List from "../components/coms/list/list.vue";
import Panel from "../components/coms/panel/panel.vue";
import Panel2 from "../components/coms/panel/panel2.vue";
import Panel3 from "../components/coms/panel/panel3.vue";
import ToolbarPanel from "../components/coms/panel/toolbar-panel.vue";
import CheckTable from "../components/coms/table/check-table.vue";
import Table from "../components/coms/table/table.vue";
import Table2 from "../components/coms/table/table2.vue";
import Tab from "../components/coms/tabs/tab.vue";
import multiArrowLineChart from "../components/chart/line/multi-arrow-line-chart.vue";
import ZoomLineChart from "../components/chart/line/zoom-line-chart.vue";
import AreaLineChart from "../components/chart/combination/area-line-chart.vue";
import ScatterLineChart from "../components/chart/combination/scatter-line-chart.vue";

export default {
  components: {
    horizontalBarChart,
    HoverBarChart,
    ListBarChart2,
    MultipleBarChart,
    MultipleHoverBarChart,
    PercentBar,
    SingleBarChart,
    Thermometer,
    BarLineChart,
    VertivalBarLineChart,
    DoubleLineChart,
    MultipleLineChart,
    NormalLineChart,
    SimpleLineChart,
    TableLineChart,
    DashPieChart,
    DualPieChart,
    NormalPieChart,
    PercentPieChart,
    DirectionRadarChart,
    NormalRadarChart,
    RadarChart,
    Tab,
    BtnGroupDouble,
    Card1,
    PercentCard,
    PercentCard2,
    CollapseList,
    List,
    Panel,
    Panel2,
    Panel3,
    ToolbarPanel,
    Table,
    CheckTable,
    SvgIcon,
    MultipleYLineChart,
    NormalScatterChart,
    AreaBarChart,
    MultipleBarLineChart,
    Table2,
    multiArrowLineChart,
    ZoomLineChart,
    AreaLineChart,
    ScatterLineChart,
  },
  methods: {
    select(data) {
      this.currTab = parseInt(data.id);
    },
    btnGroupDoubleSelect(param) {
      console.log("btn-group-double");
      console.log(param);
    },
    tableonPagging(param) {
      console.log("table pagging event");
      console.log(param);
      this.tableData.data = [
        {
          index: 1,
          name: "MG01-01",
          lqf: "0.1000",
          yggl: "0.1000",
          yyy: "0.10",
          pcspp: "0.1000",
          u1: "0.1000",
          u2: "0.1000",
          v1: "0.1000",
          v2: "0.1000",
          w1: "0.1000",
          w2: "0.1000",
          zca: "0.1000",
          zcb: "0.1000",
          clx: "0.1000",
          clx1: "0.1000",
          clx2: "0.1000",
          jc: "0.1000",
          hh: "0.1000",
          hj: "0.1000",
          is_light: false,
        },
      ];
      let index = 0;
      for (let i = param.start; i < param.end; i++) {
        this.tableData.data.push(
          JSON.parse(JSON.stringify(this.tableData.data[0]))
        );
        this.tableData.data[index].index = i + 1;
        index++;
      }
    },
    CheckTableonCheck(param) {
      console.log("table check event");
      console.log(param);
    },
    areaBarChartClick(param) {
      console.log(param);
    },
    tableAction(param) {
      console.log(param);
    },
    createMergeTable(createSum = false) {
      let tableMergeData = [];

      let tableNum = this.BASE.randomNum(30, 50);

      const sd = [{ title: "上午" }, { title: "中午" }, { title: "下午" }];

      let hjFlg = false;
      let cellSumIdx = 0;
      for (let i = 0; i < tableNum; i++) {
        const sdNum = this.BASE.randomNum(0, 3);
        hjFlg = sdNum > 0 ? true : false;
        const fpName = this.BASE.randomNum(0, 1)
          ? `风电场 - (${this.BASE.randomNum(1000, 99999)})`
          : `光伏电站 - (${this.BASE.randomNum(1000, 99999)})`;
        for (let j = 0; j < sdNum; j++) {
          tableMergeData.push({
            fpName,
            sd: sd[j].title,
            sj1: this.BASE.randomNum(1, 9999),
            sj2: this.BASE.randomNum(1, 9999),
            sj3: this.BASE.randomNum(1, 9999),
            sj4: this.BASE.randomNum(1, 9999),
            sj5: this.BASE.randomNum(1, 9999),
            sj6: this.BASE.randomNum(1, 9999),
            sj7: this.BASE.randomNum(1, 9999),
            sj8: this.BASE.randomNum(1, 9999),
            sj9: this.BASE.randomNum(1, 9999),
            sj10: this.BASE.randomNum(1, 9999),
            cellArray: j ? [j, 0] : [sdNum + (createSum ? 1 : 0), 1],
            cellIndex: j,
            cellSumIdx,
          });
        }
        if (hjFlg && createSum) {
          let sj1 = 0;
          let sj2 = 0;
          let sj3 = 0;
          let sj4 = 0;
          let sj5 = 0;
          let sj6 = 0;
          let sj7 = 0;
          let sj8 = 0;
          let sj9 = 0;
          let sj10 = 0;
          tableMergeData.forEach((ele) => {
            if (cellSumIdx === ele.cellSumIdx) {
              sj1 += ele.sj1;
              sj2 += ele.sj2;
              sj3 += ele.sj3;
              sj4 += ele.sj4;
              sj5 += ele.sj5;
              sj6 += ele.sj6;
              sj7 += ele.sj7;
              sj8 += ele.sj8;
              sj9 += ele.sj9;
              sj10 += ele.sj10;
            }
          });
          tableMergeData.push({
            fpName,
            sd: "合计",
            sj1,
            sj2,
            sj3,
            sj4,
            sj5,
            sj6,
            sj7,
            sj8,
            sj9,
            sj10,
            cellArray: [0, 0],
            cellIndex: -1,
          });
        }
        cellSumIdx++;
      }
      this.tableMergeData = tableMergeData;
    },
    tableMergeArraySpanMethod(row) {
      if (!row.columnIndex) {
        if (row.row.cellArray[0]) {
          return row.row.cellArray;
        } else if (
          row.row.cellArray[0] &&
          row.rowIndex & (row.row.cellArray[0] === row.row.cellIndex)
        ) {
          return [0, 0];
        } else if (row.row.cellIndex === -1) {
          return [0, 0];
        }
      }
    },
    tableMergeDataSumMethod() {
      let sj1 = 0;
      let sj2 = 0;
      let sj3 = 0;
      let sj4 = 0;
      let sj5 = 0;
      let sj6 = 0;
      let sj7 = 0;
      let sj8 = 0;
      let sj9 = 0;
      let sj10 = 0;
      this.tableMergeData.forEach((ele) => {
        if (ele.cellIndex !== -1) {
          sj1 += ele.sj1;
          sj2 += ele.sj2;
          sj3 += ele.sj3;
          sj4 += ele.sj4;
          sj5 += ele.sj5;
          sj6 += ele.sj6;
          sj7 += ele.sj7;
          sj8 += ele.sj8;
          sj9 += ele.sj9;
          sj10 += ele.sj10;
        }
      });
      return ["总计", "", sj1, sj2, sj3, sj4, sj5, sj6, sj7, sj8, sj9, sj10];
    },
  },
  data() {
    return {
      currTab: 1,
      tabData: [
        {
          id: "1",
          text: "图表",
        },
        {
          id: "2",
          text: "组件",
        },
        {
          id: "3",
          text: "表格",
        },
        {
          id: "4",
          text: "图标",
        },
        {
          id: "5",
          text: "element 组件",
        },
        {
          id: "6",
          text: "表格合并",
        },
      ],
      tableData: {
        column: [
          {
            name: "",
            field: "index",
            width: "50px",
            is_num: false,
            is_light: false,
          },
          {
            name: "名称",
            field: "name",
            is_num: false,
            is_light: false,
            click: function (event, data) {
              console.log(event);
              console.log(data);
            },
          },
          {
            name: "理论发电量",
            field: "lqf",
            is_num: false,
            is_light: false,
            slot: true,
          },
          {
            name: "SCADA发电量",
            field: "yggl",
            is_num: false,
            is_light: false,
          },
          {
            name: "风速",
            field: "yyy",
            is_num: false,
            is_light: false,
          },
          {
            name: "非计划检修",
            field: "pcspp",
            is_num: false,
            is_light: false,
          },
          {
            name: "计划检修",
            field: "u1",
            is_num: false,
            is_light: false,
          },
          {
            name: "受累",
            field: "u2",
            is_num: false,
            is_light: true,
          },
          {
            name: "限电",
            field: "v1",
            is_num: false,
            is_light: false,
          },
          {
            name: "性能",
            field: "v2",
            is_num: false,
            is_light: false,
          },
          {
            name: "风能率用率%",
            field: "w1",
            is_num: false,
            is_light: false,
          },
        ],
        data: [
          {
            index: 1,
            id: "",
            name: "MG01-01",
            lqf: "0.1000",
            yggl: "0.1000",
            yyy: "0.10",
            pcspp: "0.1000",
            u1: "0.1000",
            u2: "0.1000",
            v1: "0.1000",
            v2: "0.1000",
            w1: "0.1000",
            w2: "0.1000",
            zca: "0.1000",
            zcb: "0.1000",
            clx: "0.1000",
            clx1: "0.1000",
            clx2: "0.1000",
            jc: "0.1000",
            hh: "0.1000",
            hj: "0.1000",
            is_light: false,
          },
        ],
        total: 100,
      },
      tableData2: {
        column: [
          {
            name: "",
            field: "index",
            width: 50,
            sortable: true,
          },
          {
            name: "名称",
            field: "name",
            width: 200,
            click: function (event, data) {
              console.log(event);
              console.log(data);
            },
            align: "left",
            resizable: true,
          },
          {
            name: "理论发电量",
            width: 200,
            field: "lqf",
            slot: true,
          },
          {
            width: 200,
            name: "SCADA发电量",
            field: "yggl",
          },
          {
            name: "风速",
            width: 80,
            field: "yyy",
            sortable: true,
            align: "right",
          },
          {
            name: "非计划检修",
            field: "pcspp",
            width: 200,
          },
          {
            name: "计划检修",
            width: 200,
            field: "u1",
          },
          {
            name: "受累",
            width: 200,
            field: "u2",
          },
          {
            name: "限电",
            field: "v1",
            width: 200,
          },
          {
            name: "性能",
            width: 200,
            field: "v2",
          },
          {
            name: "风能率用率%",
            width: 200,
            field: "w1",
          },
          {
            name: "操作",
            field: "action",
            width: 400,
            slot: true,
          },
        ],
        data: [
          {
            index: 1,
            id: "123",
            name: "MG01-01",
            lqf: "0.1000",
            yggl: "0.1000",
            yyy: "0.10",
            pcspp: "0.1000",
            u1: "0.1000",
            u2: "0.1000",
            v1: "0.1000",
            v2: "0.1000",
            w1: "0.1000",
            w2: "0.1000",
            zca: "0.1000",
            zcb: "0.1000",
            clx: "0.1000",
            clx1: "0.1000",
            clx2: "0.1000",
            jc: "0.1000",
            hh: "0.1000",
            hj: "0.1000",
            is_light: false,
          },
        ],
        total: 100,
      },
      // 柱状图：horizontal-bar-chart data
      HorizontalBarChart: {
        area: [
          "新荣区",
          "平城区",
          "云冈区",
          "云州区",
          "阳高县",
          "天镇县",
          "广灵县",
          "浑源县",
          "左云县",
        ],
        legend: ["因病", "因残", "因学", "因灾", "缺土地", "缺水"],
        data: [
          [1320, 1302, 901, 634, 1390, 1330, 1320, 1000, 500],
          [320, 302, 301, 334, 390, 330, 320, 100, 50],
          [320, 302, 301, 334, 390, 330, 320, 100, 50],
          [320, 302, 301, 334, 390, 330, 320, 100, 50],
          [320, 302, 301, 334, 390, 330, 320, 100, 50],
          [320, 302, 301, 334, 390, 330, 320, 100, 50],
        ],
      },
      // 柱状图：horizontal-bar-chart data
      HoverBarChart: [
        {
          text: "1",
          value: 1,
        },
        {
          text: "2",
          value: 2,
        },
        {
          text: "3",
          value: 1,
        },
        {
          text: "4",
          value: 3,
        },
        {
          text: "5",
          value: 3,
        },
        {
          text: "6",
          value: 3,
        },
        {
          text: "7",
          value: 3,
        },
        {
          text: "8",
          value: 3,
        },
        {
          text: "9",
          value: 3,
        },
        {
          text: "10",
          value: 3,
        },
        {
          text: "11",
          value: 3,
        },
        {
          text: "12",
          value: 3,
        },
        {
          text: "13",
          value: 3,
        },
        {
          text: "14",
          value: 3,
        },
        {
          text: "15",
          value: 3,
        },
        {
          text: "16",
          value: 3,
        },
        {
          text: "17",
          value: 3,
        },
        {
          text: "18",
          value: 3,
        },
        {
          text: "19",
          value: 3,
        },
        {
          text: "20",
          value: 3,
        },
        {
          text: "21",
          value: 3,
        },
        {
          text: "22",
          value: 3,
        },
        {
          text: "23",
          value: 3,
        },
        {
          text: "24",
          value: 3,
        },
        {
          text: "25",
          value: 3,
        },
        {
          text: "26",
          value: 3,
        },
        {
          text: "27",
          value: 3,
        },
        {
          text: "28",
          value: 3,
        },
        {
          text: "29",
          value: 3,
        },
        {
          text: "30",
          value: 3,
        },
        {
          text: "31",
          value: 3,
        },
      ],
      // list-bar-chart-2 data
      ListBarChart: [
        {
          name: "当日预测电量",
          value: 103.62,
          total: 150,
        },
        {
          name: "实际发电量",
          value: 98.62,
          total: 100,
        },
        {
          name: "当月预测电量",
          value: 113.27,
          total: 150,
        },
        {
          name: "实际发电量",
          value: 136.72,
          total: 150,
        },
      ],
      // multiple-bar-chart data
      MultipleBarChart: [
        {
          title: "日发电量",
          yAxisIndex: 0,
          value: [
            {
              text: "1日",
              value: 1,
            },
            {
              text: "2日",
              value: 2,
            },
            {
              text: "3日",
              value: 1,
            },
            {
              text: "4日",
              value: 3,
            },
            {
              text: "5日",
              value: 3,
            },
            {
              text: "6日",
              value: 3,
            },
            {
              text: "7日",
              value: 3,
            },
          ],
        },
        {
          title: "上网电量",
          yAxisIndex: 0,
          value: [
            {
              text: "1日",
              value: 1,
            },
            {
              text: "2日",
              value: 2,
            },
            {
              text: "3日",
              value: 1,
            },
            {
              text: "4日",
              value: 3,
            },
            {
              text: "5日",
              value: 3,
            },
            {
              text: "6日",
              value: 3,
            },
            {
              text: "7日",
              value: 3,
            },
          ],
        },
        {
          title: "购网电量",
          yAxisIndex: 0,
          value: [
            {
              text: "1日",
              value: 1,
            },
            {
              text: "2日",
              value: 2,
            },
            {
              text: "3日",
              value: 1,
            },
            {
              text: "4日",
              value: 3,
            },
            {
              text: "5日",
              value: 3,
            },
            {
              text: "6日",
              value: 3,
            },
            {
              text: "7日",
              value: 3,
            },
          ],
        },
        {
          title: "风速",
          yAxisIndex: 1,
          value: [
            {
              text: "1日",
              value: 1,
            },
            {
              text: "2日",
              value: 2,
            },
            {
              text: "3日",
              value: 1,
            },
            {
              text: "4日",
              value: 3,
            },
            {
              text: "5日",
              value: 3,
            },
            {
              text: "6日",
              value: 3,
            },
            {
              text: "7日",
              value: 3,
            },
          ],
        },
      ],
      // btnGroups
      btnGroups: [
        {
          icon: "fa fa-fire",
          btns: [
            {
              text: "某某风场",
              code: "mmfdc1",
            },
            {
              text: "某某风场",
              code: "mhsfc",
            },
            {
              text: "某某风场",
              code: "mmfdc2",
            },
            {
              text: "某某风场",
              code: "mmfdc3",
            },
            {
              text: "某某风场",
              code: "mmfdc4",
            },
          ],
        },
        {
          icon: "fa fa-fire-extinguisher",
          btns: [
            {
              text: "某某风场",
              code: "mmgf1",
            },
            {
              text: "某某风场",
              code: "mmgf2",
            },
            {
              text: "某某风场",
              code: "mmgf3",
            },
            {
              text: "某某风场",
              code: "mmgf4",
            },
          ],
        },
      ],
      eltableData: [
        {
          date: "2016-05-03",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-02",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-08",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-06",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
        {
          date: "2016-05-07",
          name: "王小虎",
          province: "上海",
          city: "普陀区",
          address: "上海市普陀区金沙江路 1518 弄",
          zip: 200333,
        },
      ],
      elTreeData: {
        data: [
          {
            label: "一级 1",
            children: [
              {
                label: "二级 1-1",
                children: [
                  {
                    label: "三级 1-1-1",
                  },
                ],
              },
            ],
          },
          {
            label: "一级 2",
            children: [
              {
                label: "二级 2-1",
                children: [
                  {
                    label: "三级 2-1-1",
                  },
                ],
              },
              {
                label: "二级 2-2",
                children: [
                  {
                    label: "三级 2-2-1",
                  },
                ],
              },
            ],
          },
          {
            label: "一级 3",
            children: [
              {
                label: "二级 3-1",
                children: [
                  {
                    label: "三级 3-1-1",
                  },
                ],
              },
              {
                label: "二级 3-2",
                children: [
                  {
                    label: "三级 3-2-1",
                  },
                ],
              },
            ],
          },
        ],
        defaultProps: {
          children: "children",
          label: "label",
        },
      },
      scatterLineData: {
        data: [
          {
            title: "男",
            value: [
              [14.49, 1537.0],
              [5.78, 368.0],
              [5.08, 247.0],
              [4.79, 171.0],
              [4.05, 120.0],
              [3.17, 49.0],
              [2.45, 5.0],
              [2.93, 28.0],
              [2.55, 6.0],
              [2.39, -6.0],
              [1.51, 0.0],
              [1.21, 0.0],
              [9.85, 1233.0],
              [11.21, 1540.0],
              [11.15, 1554.0],
              [11.64, 1534.0],
              [11.44, 1531.0],
              [10.96, 1522.0],
              [10.23, 1540.0],
              [11.26, 816.0],
              [12.43, 673.0],
              [10.37, 693.0],
              [10.83, 715.0],
              [12.66, 718.0],
              [13.49, 739.0],
              [14.78, 732.0],
              [13.16, 1414.0],
              [14.48, 1532.0],
              [12.24, 1539.0],
              [11.48, 1535.0],
              [12.82, 1538.0],
              [11.93, 1547.0],
              [10.42, 1410.0],
              [10.05, 1532.0],
              [10.05, 1497.0],
              [10.07, 1486.0],
              [9.67, 1454.0],
              [11.3, 1419.0],
              [11.14, 1510.0],
              [10.77, 1538.0],
              [10.55, 1542.0],
              [10.43, 1517.0],
              [12.58, 1541.0],
              [11.05, 1551.0],
              [10.85, 1535.0],
              [11.87, 1540.0],
              [13.79, 1530.0],
              [13.63, 1537.0],
              [12.01, 1535.0],
              [12.12, 1532.0],
              [11.53, 1524.0],
              [10.62, 1541.0],
              [10.23, 1409.0],
              [10.89, 1541.0],
              [10.45, 1541.0],
              [11.59, 1536.0],
              [12.1, 1544.0],
              [11.83, 1534.0],
              [12.57, 1544.0],
              [10.88, 1538.0],
              [11.15, 1539.0],
              [11.37, 1536.0],
              [11.62, 1546.0],
              [11.98, 1537.0],
              [11.72, 1533.0],
              [10.92, 1530.0],
              [11.77, 1547.0],
              [10.46, 1414.0],
              [10.08, 1308.0],
              [10.82, 1487.0],
              [9.68, 1485.0],
              [10.13, 1279.0],
            ],
          },
        ],
        lineData: {
          xTitle: "风速",
          yTitle: "功率",
          legends: [],
          data: [
            [
              0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
              19, 20, 21, 22, 23, 24, 25,
            ],
            [
              0, 0, 0, 93.67, 98.38, 165, 295.84, 471.84, 648.28, 871.72,
              1124.84, 1296.42, 1448.63, 1548, 1548, 1548, 1548, 1548, 1548,
              1548, 1548, 1548, 1548, 1548, 1548, 1548,
            ],
          ],
        },
      },
      scatterData: [
        {
          title: "风资源分析",
          value: [
            {
              title: "风资源分析",
              value: [
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [3.23, 0.11],
                [4.24, 2.28],
                [5.28, 5.47],
                [0.0, 4.62],
                [4.27, 2.54],
                [0.0, 2.57],
                [0.0, 0.0],
                [0.0, 3.82],
                [0.0, 0.0],
                [0.0, 3.96],
                [0.0, 2.94],
                [5.28, 6.48],
                [0.0, 7.49],
                [0.0, 4.25],
                [4.26, 6.63],
                [5.35, 11.28],
                [0.0, 6.94],
                [0.0, 7.99],
                [0.0, 7.87],
                [0.0, 5.81],
                [0.0, 7.96],
                [0.0, 5.81],
                [0.0, 4.62],
                [4.34, 5.61],
                [5.34, 9.88],
                [0.0, 7.85],
                [0.0, 9.89],
                [6.41, 15.84],
                [5.4, 8.28],
                [6.45, 14.09],
                [0.0, 11.05],
                [5.44, 7.84],
                [0.0, 11.15],
                [6.45, 8.96],
                [5.42, 12.3],
                [6.49, 11.18],
                [5.45, 7.79],
                [0.0, 8.92],
                [6.51, 10.34],
                [0.0, 10.37],
                [5.5, 7.11],
                [0.0, 6.0],
                [0.0, 4.94],
                [0.0, 5.96],
                [0.0, 5.94],
                [0.0, 0.0],
                [0.0, 4.93],
                [4.49, 2.86],
                [3.49, 1.84],
                [0.0, 0.0],
                [0.0, 3.86],
                [4.5, 4.89],
                [0.0, 5.91],
                [0.0, 6.92],
                [0.0, 7.93],
                [5.53, 0.0],
                [0.0, 9.01],
                [0.0, 0.0],
                [0.0, 10.06],
                [0.0, 9.06],
                [0.0, 0.0],
                [0.0, 7.98],
                [0.0, 6.89],
                [0.0, 5.88],
                [0.0, 0.0],
                [4.52, 4.84],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 5.87],
                [0.0, 4.86],
                [0.0, 0.0],
                [0.0, 3.81],
                [0.0, 0.0],
                [0.0, 2.79],
                [0.0, 0.0],
                [0.0, 0.0],
                [3.51, 1.77],
                [2.49, 0.77],
                [0.0, 0.0],
                [1.49, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [2.55, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.0],
                [3.57, 1.05],
                [0.0, 1.05],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 0.05],
                [0.0, 0.0],
                [0.0, 0.0],
                [0.0, 1.08],
                [0.0, 0.0],
                [0.0, 0.0],
                [2.5, 0.0],
                [0.0, 0.05],
                [0.0, 0.0],
                [3.55, 0.0],
                [0.0, 1.07],
                [0.0, 0.0],
                [2.51, 0.0],
                [3.52, 0.0],
                [0.0, 1.28],
                [4.52, 1.32],
                [3.48, 1.26],
                [0.0, 2.36],
                [4.48, 4.79],
                [5.52, 7.94],
                [4.48, 3.7],
                [0.0, 2.66],
                [3.43, 1.66],
                [0.0, 0.0],
                [4.44, 3.72],
                [0.0, 2.68],
                [2.4, 0.61],
                [0.0, 0.0],
                [4.44, 1.7],
                [3.41, 1.68],
                [0.0, 0.57],
                [0.0, 1.68],
                [0.0, 2.68],
                [0.0, 0.6],
                [2.4, 0.0],
                [3.41, 0.0],
                [4.41, 2.05],
                [3.4, 1.02],
              ],
            },
          ],
        },
      ],
      dialogTableVisible: false,
      cascader: {
        props: { multiple: true },
        options: [
          {
            value: 1,
            label: "东南",
            children: [
              {
                value: 2,
                label: "上海",
                children: [
                  { value: 3, label: "普陀" },
                  { value: 4, label: "黄埔" },
                  { value: 5, label: "徐汇" },
                ],
              },
              {
                value: 7,
                label: "江苏",
                children: [
                  { value: 8, label: "南京" },
                  { value: 9, label: "苏州" },
                  { value: 10, label: "无锡" },
                ],
              },
              {
                value: 12,
                label: "浙江",
                children: [
                  { value: 13, label: "杭州" },
                  { value: 14, label: "宁波" },
                  { value: 15, label: "嘉兴" },
                ],
              },
            ],
          },
          {
            value: 17,
            label: "西北",
            children: [
              {
                value: 18,
                label: "陕西",
                children: [
                  { value: 19, label: "西安" },
                  { value: 20, label: "延安" },
                ],
              },
              {
                value: 21,
                label: "新疆维吾尔族自治区",
                children: [
                  { value: 22, label: "乌鲁木齐" },
                  { value: 23, label: "克拉玛依" },
                ],
              },
            ],
          },
        ],
      },
      treeTableData: [
        {
          id: 1,
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          id: 2,
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          id: 3,
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
          children: [
            {
              id: 31,
              date: "2016-05-01",
              name: "王小虎",
              address: "上海市普陀区金沙江路 1519 弄",
            },
            {
              id: 32,
              date: "2016-05-01",
              name: "王小虎",
              address: "上海市普陀区金沙江路 1519 弄",
            },
          ],
        },
        {
          id: 4,
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
      tableMergeData: [],
      createSum: false,
      tableMergeStyleShow:true,
    };
  },
  created() {
    for (let i = 1; i < 21; i++) {
      this.tableData.data.push(
        JSON.parse(JSON.stringify(this.tableData.data[0]))
      );
      this.tableData.data[i].index = i + 1;

      this.tableData2.data.push(
        JSON.parse(JSON.stringify(this.tableData.data[0]))
      );
      this.tableData2.data[i].index = i + 1;
      this.tableData2.data[i].yyy = i * 0.01 * Math.random();
    }
    this.createMergeTable(this.createSum);
  },
  mounted() {},
};
</script>

<style lang="less" scoped>
.tools {
  display: flex;
  line-height: 3.4259vh;

  .tool-block {
    display: flex;
    align-items: center;
    margin-left: 0.741vh;

    .legend {
      flex: auto;
      width: 0.741vh;
      height: 0.741vh;
      margin-right: 0.741vh;

      &.long {
        width: 2.963vh;
        height: 0.37vh;
      }
    }

    .legend-text {
      color: @gray-l;
      font-size: @fontsize-s;
    }
  }
}
</style>
