<template>
  <div>
    <el-row>
      <el-col :span="24">
        <el-form :inline="true" class="demo-form-inline">
          <el-form-item>
            <Area @click="handleNodeClick" ref="area" class="box"></Area>
          </el-form-item>

          <el-form-item>
            <Timeinterval :interval="3" ref="interval"></Timeinterval>
          </el-form-item>

          <el-form-item>
            <el-button
              type="primary"
              class="ml10"
              icon="el-icon-search"
              @click="researchFn"
              >查询</el-button
            >
            <el-button type="primary" icon="el-icon-download">导出</el-button>
          </el-form-item>
        </el-form>
        <el-table
          stripe
          :data="
            dailyData.slice(
              (currentPage - 1) * pageSize,
              currentPage * pageSize
            )
          "
          :height="height"
          border
          style="width: 100%"
          v-loading="isLoading"
          header-cell-class-name="table_header"
        >
          <template v-for="(item, index) in tableHeaderDaily">
            <el-table-column
              :prop="item.prop"
              :label="item.label"
              :width="150"
              :key="index"
            >
              <template v-for="(item, index) in item.children">
                <el-table-column
                  :prop="item.prop"
                  :label="item.label"
                  :width="90"
                  :key="index"
                >
                  <template v-for="(item, index) in item.children">
                    <el-table-column
                      :prop="item.prop"
                      :label="item.label"
                      :key="index"
                    ></el-table-column>
                  </template>
                </el-table-column>
              </template>
            </el-table-column>
          </template>
        </el-table>
        <el-pagination
          background
          align="right"
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="currentPage"
          :page-sizes="[9, 18, 36, 72, 144]"
          :page-size="pageSize"
          layout="total, sizes, prev, pager, next, jumper"
          :total="dailyData.length"
          class="mt10"
        >
        </el-pagination>
      </el-col>
    </el-row>
  </div>
</template>
  
  <script>
import { getDailyData } from "@/api/Distributionnetwork-analysis/StatisticalReport/Steadystate/Steadystate";
import Area from "@/views/components/Area/Area.vue";
import Timeinterval from "../../../../components/Timeinterval.vue";
export default {
  components: { Area, Timeinterval },
  data() {
    return {
      vh: "",
      height: null,
      isLoading: false,
      //稳态指标监测点日报
      tableHeaderDaily: [
        { prop: "time", label: "时间" },
        { prop: "company", label: "单位" },
        { prop: "substation", label: "所属变电站" },
        { prop: "line", label: "所属线路" },
        { prop: "area", label: "所属台区" },
        { prop: "number", label: "监测点编号" },
        { prop: "name", label: "监测点名称" },
        {
          prop: "activePower",
          label: "总有功功率(kW)",
          children: [
            { prop: "apmaximum", label: "最大值" },
            { prop: "apminimum", label: "最小值" },
            { prop: "apaverage", label: "平均值" },
          ],
        },
        {
          prop: "reactivePower",
          label: "总无功功率(kvar)",
          children: [
            { prop: "rpmaximum", label: "最大值" },
            { prop: "rpminimum", label: "最小值" },
            { prop: "rpaverage", label: "平均值" },
          ],
        },
        {
          prop: "apparentPower",
          label: "视在功率(kVA)",
          children: [
            { prop: "apMaximum", label: "最大值" },
            { prop: "apMinimum", label: "最小值" },
            { prop: "apAverage", label: "平均值" },
          ],
        },
        { prop: "powerFactor", label: "功率因数" },
        {
          prop: "fundamentalVoltage",
          label: "基波电压(kV)",
          children: [
            {
              prop: "fvmaximum",
              label: "最大值",
              children: [
                { prop: "fvmaxA", label: "A相" },
                { prop: "fvmaxB", label: "B相" },
                { prop: "fvmaxC", label: "C相" },
              ],
            },
            {
              prop: "fvminimum",
              label: "最小值",
              children: [
                { prop: "fvminA", label: "A相" },
                { prop: "fvminB", label: "B相" },
                { prop: "fvminC", label: "C相" },
              ],
            },
            {
              prop: "fvmverage",
              label: "平均值",
              children: [
                { prop: "fvmverageA", label: "A相" },
                { prop: "fvmverageB", label: "B相" },
                { prop: "fvmverageC", label: "C相" },
              ],
            },
            {
              prop: "nineFive",
              label: "CP95值",
              children: [
                { prop: "fvnineFiveA", label: "A相" },
                { prop: "fvnineFiveB", label: "B相" },
                { prop: "fvnineFiveC", label: "C相" },
              ],
            },
          ],
        },
        {
          prop: "fundamentalCurrent",
          label: "基波电流(A)",
          children: [
            {
              prop: "fcmaximum",
              label: "最大值",
              children: [
                { prop: "fcmaxA", label: "A相" },
                { prop: "fcmaxB", label: "B相" },
                { prop: "fcmaxC", label: "C相" },
              ],
            },
            {
              prop: "fcminimum",
              label: "最小值",
              children: [
                { prop: "fcminA", label: "A相" },
                { prop: "fcminB", label: "B相" },
                { prop: "fcminC", label: "C相" },
              ],
            },
            {
              prop: "fcmverage",
              label: "平均值",
              children: [
                { prop: "fcmverageA", label: "A相" },
                { prop: "fcmverageB", label: "B相" },
                { prop: "fcmverageC", label: "C相" },
              ],
            },
            {
              prop: "nineFive",
              label: "CP95值",
              children: [
                { prop: "fcnineFiveA", label: "A相" },
                { prop: "fcnineFiveB", label: "B相" },
                { prop: "fcnineFiveC", label: "C相" },
              ],
            },
          ],
        },
        {
          prop: "positiveDeviation",
          label: "电压正偏差(%)",
          children: [
            { prop: "pdmaxA", label: "A相最大值" },
            { prop: "pdmaxB", label: "B相最大值" },
            { prop: "pdmaxC", label: "C相最大值" },
          ],
        },
        {
          prop: "negativeDeviation",
          label: "电压负偏差(%)",
          children: [
            { prop: "ndmaxA", label: "A相最大值" },
            { prop: "ndmaxB", label: "B相最大值" },
            { prop: "ndmaxC", label: "C相最大值" },
          ],
        },
        { prop: "frequencyDeviation", label: "频率偏差(Hz)" },
        { prop: "totalHarmonic", label: "电压总谐波畸变率(%)" },
        {
          prop: "threePhase",
          label: "三相电压不平衡度(%)",
          children: [
            { prop: "tpmaximum", label: "最大值" },
            { prop: "tpmaximumLimit", label: "最大限值" },
            { prop: "tpnineFive", label: "CP95值" },
            { prop: "tpnineFiveLimit", label: "CP95限值" },
          ],
        },
        {
          prop: "negativeSequence",
          label: "负序电流(A)",
          children: [
            { prop: "nsmaximum", label: "最大值" },
            { prop: "nsmaximumLimit", label: "最大限值" },
            { prop: "nsnineFive", label: "CP95值" },
            { prop: "nsnineFiveLimit", label: "CP95限值" },
          ],
        },
        {
          prop: "harmonicVoltage",
          label: "谐波电压含有率(%)",
          children: [
            {
              prop: "two",
              label: "2次",
              children: [
                { prop: "hvtwoA", label: "A相" },
                { prop: "hvtwoB", label: "B相" },
                { prop: "hvtwoC", label: "C相" },
              ],
            },
            {
              prop: "three",
              label: "3次",
              children: [
                { prop: "hvthreeA", label: "A相" },
                { prop: "hvthreeB", label: "B相" },
                { prop: "hvthreeC", label: "C相" },
              ],
            },
            {
              prop: "four",
              label: "4次",
              children: [
                { prop: "hvfourA", label: "A相" },
                { prop: "hvfourB", label: "B相" },
                { prop: "hvfourC", label: "C相" },
              ],
            },
            {
              prop: "five",
              label: "5次",
              children: [
                { prop: "hvfiveA", label: "A相" },
                { prop: "hvfiveB", label: "B相" },
                { prop: "hvfiveC", label: "C相" },
              ],
            },
            {
              prop: "six",
              label: "6次",
              children: [
                { prop: "hvsixA", label: "A相" },
                { prop: "hvsixB", label: "B相" },
                { prop: "hvsixC", label: "C相" },
              ],
            },
            {
              prop: "seven",
              label: "7次",
              children: [
                { prop: "hvsevenA", label: "A相" },
                { prop: "hvsevenB", label: "B相" },
                { prop: "hvsevenC", label: "C相" },
              ],
            },
            {
              prop: "eight",
              label: "8次",
              children: [
                { prop: "hveightA", label: "A相" },
                { prop: "hveightB", label: "B相" },
                { prop: "hveightC", label: "C相" },
              ],
            },
            {
              prop: "nine",
              label: "9次",
              children: [
                { prop: "hvnineA", label: "A相" },
                { prop: "hvnineB", label: "B相" },
                { prop: "hvnineC", label: "C相" },
              ],
            },
            {
              prop: "ten",
              label: "10次",
              children: [
                { prop: "hvtenA", label: "A相" },
                { prop: "hvtenB", label: "B相" },
                { prop: "hvtenC", label: "C相" },
              ],
            },
            {
              prop: "eleven",
              label: "11次",
              children: [
                { prop: "hvelevenA", label: "A相" },
                { prop: "hvelevenB", label: "B相" },
                { prop: "hvelevenC", label: "C相" },
              ],
            },
            {
              prop: "twelve",
              label: "12次",
              children: [
                { prop: "hvtwelveA", label: "A相" },
                { prop: "hvtwelveB", label: "B相" },
                { prop: "hvtwelveC", label: "C相" },
              ],
            },
            {
              prop: "thirteen",
              label: "13次",
              children: [
                { prop: "hvthirteenA", label: "A相" },
                { prop: "hvthirteenB", label: "B相" },
                { prop: "hvthirteenC", label: "C相" },
              ],
            },
            {
              prop: "fourteen",
              label: "14次",
              children: [
                { prop: "hvfourteenA", label: "A相" },
                { prop: "hvfourteenB", label: "B相" },
                { prop: "hvfourteenC", label: "C相" },
              ],
            },
            {
              prop: "fifteen",
              label: "15次",
              children: [
                { prop: "hvfifteenA", label: "A相" },
                { prop: "hvfifteenB", label: "B相" },
                { prop: "hvfifteenC", label: "C相" },
              ],
            },
            {
              prop: "sixteen",
              label: "16次",
              children: [
                { prop: "hvsixteenA", label: "A相" },
                { prop: "hvsixteenB", label: "B相" },
                { prop: "hvsixteenC", label: "C相" },
              ],
            },
            {
              prop: "seventeen",
              label: "17次",
              children: [
                { prop: "hvseventeenA", label: "A相" },
                { prop: "hvseventeenB", label: "B相" },
                { prop: "hvseventeenC", label: "C相" },
              ],
            },
            {
              prop: "eighteen",
              label: "18次",
              children: [
                { prop: "hveighteenA", label: "A相" },
                { prop: "hveighteenB", label: "B相" },
                { prop: "hveighteenC", label: "C相" },
              ],
            },
            {
              prop: "nineteen",
              label: "19次",
              children: [
                { prop: "hvnineteenA", label: "A相" },
                { prop: "hvnineteenB", label: "B相" },
                { prop: "hvnineteenC", label: "C相" },
              ],
            },
            {
              prop: "twenty",
              label: "20次",
              children: [
                { prop: "hvtwentyA", label: "A相" },
                { prop: "hvtwentyB", label: "B相" },
                { prop: "hvtwentyC", label: "C相" },
              ],
            },
            {
              prop: "twentyone",
              label: "21次",
              children: [
                { prop: "hvtwentyoneA", label: "A相" },
                { prop: "hvtwentyoneB", label: "B相" },
                { prop: "hvtwentyoneC", label: "C相" },
              ],
            },
            {
              prop: "twentytwo",
              label: "22次",
              children: [
                { prop: "hvtwentytwoA", label: "A相" },
                { prop: "hvtwentytwoB", label: "B相" },
                { prop: "hvtwentytwoC", label: "C相" },
              ],
            },
            {
              prop: "twentythree",
              label: "23次",
              children: [
                { prop: "hvtwentythreeA", label: "A相" },
                { prop: "hvtwentythreeB", label: "B相" },
                { prop: "hvtwentythreeC", label: "C相" },
              ],
            },
            {
              prop: "twentyfour",
              label: "24次",
              children: [
                { prop: "hvtwentyfourA", label: "A相" },
                { prop: "hvtwentyfourB", label: "B相" },
                { prop: "hvtwentyfourC", label: "C相" },
              ],
            },
            {
              prop: "twentyfive",
              label: "25次",
              children: [
                { prop: "hvtwentyfiveA", label: "A相" },
                { prop: "hvtwentyfiveB", label: "B相" },
                { prop: "hvtwentyfiveC", label: "C相" },
              ],
            },
          ],
        },
        {
          prop: "harmonicCurrent",
          label: "谐波电流含有率(%)",
          children: [
            {
              prop: "two",
              label: "2次",
              children: [
                { prop: "hctwoA", label: "A相" },
                { prop: "hctwoB", label: "B相" },
                { prop: "hctwoC", label: "C相" },
              ],
            },
            {
              prop: "three",
              label: "3次",
              children: [
                { prop: "hcthreeA", label: "A相" },
                { prop: "hcthreeB", label: "B相" },
                { prop: "hcthreeC", label: "C相" },
              ],
            },
            {
              prop: "four",
              label: "4次",
              children: [
                { prop: "hcfourA", label: "A相" },
                { prop: "hcfourB", label: "B相" },
                { prop: "hcfourC", label: "C相" },
              ],
            },
            {
              prop: "five",
              label: "5次",
              children: [
                { prop: "hcfiveA", label: "A相" },
                { prop: "hcfiveB", label: "B相" },
                { prop: "hcfiveC", label: "C相" },
              ],
            },
            {
              prop: "six",
              label: "6次",
              children: [
                { prop: "hcsixA", label: "A相" },
                { prop: "hcsixB", label: "B相" },
                { prop: "hcsixC", label: "C相" },
              ],
            },
            {
              prop: "seven",
              label: "7次",
              children: [
                { prop: "hcsevenA", label: "A相" },
                { prop: "hcsevenB", label: "B相" },
                { prop: "hcsevenC", label: "C相" },
              ],
            },
            {
              prop: "eight",
              label: "8次",
              children: [
                { prop: "hceightA", label: "A相" },
                { prop: "hceightB", label: "B相" },
                { prop: "hceightC", label: "C相" },
              ],
            },
            {
              prop: "nine",
              label: "9次",
              children: [
                { prop: "hcnineA", label: "A相" },
                { prop: "hcnineB", label: "B相" },
                { prop: "hcnineC", label: "C相" },
              ],
            },
            {
              prop: "ten",
              label: "10次",
              children: [
                { prop: "hctenA", label: "A相" },
                { prop: "hctenB", label: "B相" },
                { prop: "hctenC", label: "C相" },
              ],
            },
            {
              prop: "eleven",
              label: "11次",
              children: [
                { prop: "hcelevenA", label: "A相" },
                { prop: "hcelevenB", label: "B相" },
                { prop: "hcelevenC", label: "C相" },
              ],
            },
            {
              prop: "twelve",
              label: "12次",
              children: [
                { prop: "hctwelveA", label: "A相" },
                { prop: "hctwelveB", label: "B相" },
                { prop: "hctwelveC", label: "C相" },
              ],
            },
            {
              prop: "thirteen",
              label: "13次",
              children: [
                { prop: "hcthirteenA", label: "A相" },
                { prop: "hcthirteenB", label: "B相" },
                { prop: "hcthirteenC", label: "C相" },
              ],
            },
            {
              prop: "fourteen",
              label: "14次",
              children: [
                { prop: "hcfourteenA", label: "A相" },
                { prop: "hcfourteenB", label: "B相" },
                { prop: "hcfourteenC", label: "C相" },
              ],
            },
            {
              prop: "fifteen",
              label: "15次",
              children: [
                { prop: "hcfifteenA", label: "A相" },
                { prop: "hcfifteenB", label: "B相" },
                { prop: "hcfifteenC", label: "C相" },
              ],
            },
            {
              prop: "sixteen",
              label: "16次",
              children: [
                { prop: "hcsixteenA", label: "A相" },
                { prop: "hcsixteenB", label: "B相" },
                { prop: "hcsixteenC", label: "C相" },
              ],
            },
            {
              prop: "seventeen",
              label: "17次",
              children: [
                { prop: "hcseventeenA", label: "A相" },
                { prop: "hcseventeenB", label: "B相" },
                { prop: "hcseventeenC", label: "C相" },
              ],
            },
            {
              prop: "eighteen",
              label: "18次",
              children: [
                { prop: "hceighteenA", label: "A相" },
                { prop: "hceighteenB", label: "B相" },
                { prop: "hceighteenC", label: "C相" },
              ],
            },
            {
              prop: "nineteen",
              label: "19次",
              children: [
                { prop: "hcnineteenA", label: "A相" },
                { prop: "hcnineteenB", label: "B相" },
                { prop: "hcnineteenC", label: "C相" },
              ],
            },
            {
              prop: "twenty",
              label: "20次",
              children: [
                { prop: "hctwentyA", label: "A相" },
                { prop: "hctwentyB", label: "B相" },
                { prop: "hctwentyC", label: "C相" },
              ],
            },
            {
              prop: "twentyone",
              label: "21次",
              children: [
                { prop: "hctwentyoneA", label: "A相" },
                { prop: "hctwentyoneB", label: "B相" },
                { prop: "hctwentyoneC", label: "C相" },
              ],
            },
            {
              prop: "twentytwo",
              label: "22次",
              children: [
                { prop: "hctwentytwoA", label: "A相" },
                { prop: "hctwentytwoB", label: "B相" },
                { prop: "hctwentytwoC", label: "C相" },
              ],
            },
            {
              prop: "twentythree",
              label: "23次",
              children: [
                { prop: "hctwentythreeA", label: "A相" },
                { prop: "hctwentythreeB", label: "B相" },
                { prop: "hctwentythreeC", label: "C相" },
              ],
            },
            {
              prop: "twentyfour",
              label: "24次",
              children: [
                { prop: "hctwentyfourA", label: "A相" },
                { prop: "hctwentyfourB", label: "B相" },
                { prop: "hctwentyfourC", label: "C相" },
              ],
            },
            {
              prop: "twentyfive",
              label: "25次",
              children: [
                { prop: "hctwentyfiveA", label: "A相" },
                { prop: "hctwentyfiveB", label: "B相" },
                { prop: "hctwentyfiveC", label: "C相" },
              ],
            },
          ],
        },
        {
          prop: "interharmonicVoltage",
          label: "间谐波电压含有率(%)",
          children: [
            {
              prop: "zreospot",
              label: "0.5次",
              children: [
                { prop: "ivzreoA", label: "A相" },
                { prop: "ivzreoB", label: "B相" },
                { prop: "ivzreoC", label: "C相" },
              ],
            },
            {
              prop: "onespot",
              label: "1.5次",
              children: [
                { prop: "ivoneA", label: "A相" },
                { prop: "ivoneB", label: "B相" },
                { prop: "ivoneC", label: "C相" },
              ],
            },
            {
              prop: "twospot",
              label: "2.5次",
              children: [
                { prop: "ivtwoA", label: "A相" },
                { prop: "ivtwoB", label: "B相" },
                { prop: "ivtwoC", label: "C相" },
              ],
            },
            {
              prop: "threespot",
              label: "3.5次",
              children: [
                { prop: "ivthreeA", label: "A相" },
                { prop: "ivthreeB", label: "B相" },
                { prop: "ivthreeC", label: "C相" },
              ],
            },
            {
              prop: "fourspot",
              label: "4.5次",
              children: [
                { prop: "ivfourA", label: "A相" },
                { prop: "ivfourB", label: "B相" },
                { prop: "ivfourC", label: "C相" },
              ],
            },
            {
              prop: "fivespot",
              label: "5.5次",
              children: [
                { prop: "ivfiveA", label: "A相" },
                { prop: "ivfiveB", label: "B相" },
                { prop: "ivfiveC", label: "C相" },
              ],
            },
            {
              prop: "sixspot",
              label: "6.5次",
              children: [
                { prop: "ivsixA", label: "A相" },
                { prop: "ivsixB", label: "B相" },
                { prop: "ivsixC", label: "C相" },
              ],
            },
            {
              prop: "sevenspot",
              label: "7.5次",
              children: [
                { prop: "ivsevenA", label: "A相" },
                { prop: "ivsevenB", label: "B相" },
                { prop: "ivsevenC", label: "C相" },
              ],
            },
            {
              prop: "eightspot",
              label: "8.5次",
              children: [
                { prop: "iveightA", label: "A相" },
                { prop: "iveightB", label: "B相" },
                { prop: "iveightC", label: "C相" },
              ],
            },
            {
              prop: "ninespot",
              label: "9.5次",
              children: [
                { prop: "ivnineA", label: "A相" },
                { prop: "ivnineB", label: "B相" },
                { prop: "ivnineC", label: "C相" },
              ],
            },
            {
              prop: "tenspot",
              label: "10.5次",
              children: [
                { prop: "ivtenA", label: "A相" },
                { prop: "ivtenB", label: "B相" },
                { prop: "ivtenC", label: "C相" },
              ],
            },
            {
              prop: "elevenspot",
              label: "11.5次",
              children: [
                { prop: "ivelevenA", label: "A相" },
                { prop: "ivelevenB", label: "B相" },
                { prop: "ivelevenC", label: "C相" },
              ],
            },
            {
              prop: "twelvespot",
              label: "12.5次",
              children: [
                { prop: "ivtwelveA", label: "A相" },
                { prop: "ivtwelveB", label: "B相" },
                { prop: "ivtwelveC", label: "C相" },
              ],
            },
            {
              prop: "thirteenspot",
              label: "13.5次",
              children: [
                { prop: "ivthirteenA", label: "A相" },
                { prop: "ivthirteenB", label: "B相" },
                { prop: "ivthirteenC", label: "C相" },
              ],
            },
            {
              prop: "fourteenspot",
              label: "14.5次",
              children: [
                { prop: "ivfourteenA", label: "A相" },
                { prop: "ivfourteenB", label: "B相" },
                { prop: "ivfourteenC", label: "C相" },
              ],
            },
            {
              prop: "fifteenspot",
              label: "15.5次",
              children: [
                { prop: "ivfifteenA", label: "A相" },
                { prop: "ivfifteenB", label: "B相" },
                { prop: "ivfifteenC", label: "C相" },
              ],
            },
            {
              prop: "sixteenspot",
              label: "16.5次",
              children: [
                { prop: "ivsixteenA", label: "A相" },
                { prop: "ivsixteenB", label: "B相" },
                { prop: "ivsixteenC", label: "C相" },
              ],
            },
            {
              prop: "seventeenspot",
              label: "17.5次",
              children: [
                { prop: "ivseventeenA", label: "A相" },
                { prop: "ivseventeenB", label: "B相" },
                { prop: "ivseventeenC", label: "C相" },
              ],
            },
            {
              prop: "eighteenspot",
              label: "18.5次",
              children: [
                { prop: "iveighteenA", label: "A相" },
                { prop: "iveighteenB", label: "B相" },
                { prop: "iveighteenC", label: "C相" },
              ],
            },
            {
              prop: "nineteenspot",
              label: "19.5次",
              children: [
                { prop: "ivnineteenA", label: "A相" },
                { prop: "ivnineteenB", label: "B相" },
                { prop: "ivnineteenC", label: "C相" },
              ],
            },
            {
              prop: "twentyspot",
              label: "20.5次",
              children: [
                { prop: "ivtwentyA", label: "A相" },
                { prop: "ivtwentyB", label: "B相" },
                { prop: "ivtwentyC", label: "C相" },
              ],
            },
            {
              prop: "twentyonespot",
              label: "21.5次",
              children: [
                { prop: "ivtwentyoneA", label: "A相" },
                { prop: "ivtwentyoneB", label: "B相" },
                { prop: "ivtwentyoneC", label: "C相" },
              ],
            },
            {
              prop: "twentytwospot",
              label: "22.5次",
              children: [
                { prop: "ivtwentytwoA", label: "A相" },
                { prop: "ivtwentytwoB", label: "B相" },
                { prop: "ivtwentytwoC", label: "C相" },
              ],
            },
            {
              prop: "twentythreespot",
              label: "23.5次",
              children: [
                { prop: "ivtwentythreeA", label: "A相" },
                { prop: "ivtwentythreeB", label: "B相" },
                { prop: "ivtwentythreeC", label: "C相" },
              ],
            },
          ],
        },
        {
          prop: "interharmonicCurrent",
          label: "间谐波电流含有率(%)",
          children: [
            {
              prop: "zreospot",
              label: "0.5次",
              children: [
                { prop: "iczreoA", label: "A相" },
                { prop: "iczreoB", label: "B相" },
                { prop: "iczreoC", label: "C相" },
              ],
            },
            {
              prop: "onespot",
              label: "1.5次",
              children: [
                { prop: "iconeA", label: "A相" },
                { prop: "iconeB", label: "B相" },
                { prop: "iconeC", label: "C相" },
              ],
            },
            {
              prop: "twospot",
              label: "2.5次",
              children: [
                { prop: "ictwoA", label: "A相" },
                { prop: "ictwoB", label: "B相" },
                { prop: "ictwoC", label: "C相" },
              ],
            },
            {
              prop: "threespot",
              label: "3.5次",
              children: [
                { prop: "icthreeA", label: "A相" },
                { prop: "icthreeB", label: "B相" },
                { prop: "icthreeC", label: "C相" },
              ],
            },
            {
              prop: "fourspot",
              label: "4.5次",
              children: [
                { prop: "icfourA", label: "A相" },
                { prop: "icfourB", label: "B相" },
                { prop: "icfourC", label: "C相" },
              ],
            },
            {
              prop: "fivespot",
              label: "5.5次",
              children: [
                { prop: "icfiveA", label: "A相" },
                { prop: "icfiveB", label: "B相" },
                { prop: "icfiveC", label: "C相" },
              ],
            },
            {
              prop: "sixspot",
              label: "6.5次",
              children: [
                { prop: "icsixA", label: "A相" },
                { prop: "icsixB", label: "B相" },
                { prop: "icsixC", label: "C相" },
              ],
            },
            {
              prop: "sevenspot",
              label: "7.5次",
              children: [
                { prop: "icsevenA", label: "A相" },
                { prop: "icsevenB", label: "B相" },
                { prop: "icsevenC", label: "C相" },
              ],
            },
            {
              prop: "eightspot",
              label: "8.5次",
              children: [
                { prop: "iceightA", label: "A相" },
                { prop: "iceightB", label: "B相" },
                { prop: "iceightC", label: "C相" },
              ],
            },
            {
              prop: "ninespot",
              label: "9.5次",
              children: [
                { prop: "icnineA", label: "A相" },
                { prop: "icnineB", label: "B相" },
                { prop: "icnineC", label: "C相" },
              ],
            },
            {
              prop: "tenspot",
              label: "10.5次",
              children: [
                { prop: "ictenA", label: "A相" },
                { prop: "ictenB", label: "B相" },
                { prop: "ictenC", label: "C相" },
              ],
            },
            {
              prop: "elevenspot",
              label: "11.5次",
              children: [
                { prop: "icelevenA", label: "A相" },
                { prop: "icelevenB", label: "B相" },
                { prop: "icelevenC", label: "C相" },
              ],
            },
            {
              prop: "twelvespot",
              label: "12.5次",
              children: [
                { prop: "ictwelveA", label: "A相" },
                { prop: "ictwelveB", label: "B相" },
                { prop: "ictwelveC", label: "C相" },
              ],
            },
            {
              prop: "thirteenspot",
              label: "13.5次",
              children: [
                { prop: "icthirteenA", label: "A相" },
                { prop: "icthirteenB", label: "B相" },
                { prop: "icthirteenC", label: "C相" },
              ],
            },
            {
              prop: "fourteenspot",
              label: "14.5次",
              children: [
                { prop: "icfourteenA", label: "A相" },
                { prop: "icfourteenB", label: "B相" },
                { prop: "icfourteenC", label: "C相" },
              ],
            },
            {
              prop: "fifteenspot",
              label: "15.5次",
              children: [
                { prop: "icfifteenA", label: "A相" },
                { prop: "icfifteenB", label: "B相" },
                { prop: "icfifteenC", label: "C相" },
              ],
            },
            {
              prop: "sixteenspot",
              label: "16.5次",
              children: [
                { prop: "icsixteenA", label: "A相" },
                { prop: "icsixteenB", label: "B相" },
                { prop: "icsixteenC", label: "C相" },
              ],
            },
            {
              prop: "seventeenspot",
              label: "17.5次",
              children: [
                { prop: "icseventeenA", label: "A相" },
                { prop: "icseventeenB", label: "B相" },
                { prop: "icseventeenC", label: "C相" },
              ],
            },
            {
              prop: "eighteenspot",
              label: "18.5次",
              children: [
                { prop: "iceighteenA", label: "A相" },
                { prop: "iceighteenB", label: "B相" },
                { prop: "iceighteenC", label: "C相" },
              ],
            },
            {
              prop: "nineteenspot",
              label: "19.5次",
              children: [
                { prop: "icnineteenA", label: "A相" },
                { prop: "icnineteenB", label: "B相" },
                { prop: "icnineteenC", label: "C相" },
              ],
            },
            {
              prop: "twentyspot",
              label: "20.5次",
              children: [
                { prop: "ictwentyA", label: "A相" },
                { prop: "ictwentyB", label: "B相" },
                { prop: "ictwentyC", label: "C相" },
              ],
            },
            {
              prop: "twentyonespot",
              label: "21.5次",
              children: [
                { prop: "ictwentyoneA", label: "A相" },
                { prop: "ictwentyoneB", label: "B相" },
                { prop: "ictwentyoneC", label: "C相" },
              ],
            },
            {
              prop: "twentytwospot",
              label: "22.5次",
              children: [
                { prop: "ictwentytwoA", label: "A相" },
                { prop: "ictwentytwoB", label: "B相" },
                { prop: "ictwentytwoC", label: "C相" },
              ],
            },
            {
              prop: "twentythreespot",
              label: "23.5次",
              children: [
                { prop: "ictwentythreeA", label: "A相" },
                { prop: "ictwentythreeB", label: "B相" },
                { prop: "ictwentythreeC", label: "C相" },
              ],
            },
          ],
        },
      ],
      dailyData: [],
      device: "",
      currentPage: 1, // 当前页码
      total: 20, // 总条数
      pageSize: 18, // 每页的数据条数
    };
  },
  created() {
    this.reportForm();
    // this.dictionaries();
  },
  mounted() {
    this.device = window.devicePixelRatio;
    this.height = window.sessionStorage.getItem("appheight") - 225;
  },
  computed: {},
  methods: {
    // 切换选项
    handleNodeClick(data) {
      // console.log(data);
    },
    //获取数据
    reportForm() {
      this.isLoading = true;
      //稳态指标监测点日报
      getDailyData().then((res) => {
        this.isLoading = false;
        this.dailyData = res.data;
      });
    },
    //每页条数改变时触发 选择一页显示多少行
    handleSizeChange(val) {
      this.pageSize = val;
      this.reportForm();
    },
    //当前页改变时触发 跳转其他页
    handleCurrentChange(val) {
      this.currentPage = val;
      this.reportForm();
    },
    //查询
    researchFn() {
      this.reportForm();
    },
  },
};
</script>
  <style lang="less" scoped>
@import url("../../../../../styles/comStyle.less");
::v-deep .el-table .cell {
  text-align: center;
}
::v-deep .el-tabs--border-card > .el-tabs__content {
  padding: 10px;
}
// ::v-deep .el-form-item {
//   margin-bottom: 0;
// }
</style>
  