<template>
  <a-modal
    class="verify_dialog"
    width="80%"
    :title="title"
    :open="dialogVisible"
    @cancel="handleClose">
    <div class="verify_div">
      <a-table
        :data-source="tableData"
        :columns="columns"
        :locale="{emptyText: '上传数据已全部验证通过！' }"
        style="width: 100%;overflow: auto;height:460px;"
        :scroll="{x: 'max-content', y: 400}"
        :row-class-name="tableRowClassName">
        <template slot="index" slot-scope="text, record, index">
          <a-tooltip placement="top">
            <template slot="title">
              <span>{{ getIndex(index) }}</span>
            </template>
            <span class="ellipsis90">{{ getIndex(index) }}</span>
          </a-tooltip>
        </template>
        <template slot="rsName" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span>{{ text.rsName }}</span>
            </template>
            <span class="ellipsis150">{{ text.rsName }}</span>
          </a-tooltip>
        </template>
        <template slot="rsCode" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span>{{ text.rsCode }}</span>
            </template>
            <span class="ellipsis150">{{ text.rsCode }}</span>
          </a-tooltip>
        </template>
        <template slot="rsAdmName" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.rsAdmName.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.rsAdmName.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.rsAdmName.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.rsAdmName.replace('$E$','') }}</span>
          </a-tooltip>
        </template>

        <template slot="location" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.location.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.location.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.location.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.location.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="rsLoc" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.rsLoc.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.rsLoc.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.rsLoc.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.rsLoc.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="compDateStr" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.compDateStr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.compDateStr.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.compDateStr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.compDateStr.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="engScal" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.engScal.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.engScal.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.engScal.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.engScal.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="totCap" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.totCap.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.totCap.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.totCap.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.totCap.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="damSizeHig" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.damSizeHig.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.damSizeHig.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.damSizeHig.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.damSizeHig.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="rsType" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.rsType.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.rsType.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.rsType.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.rsType.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="regCode" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.regCode.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.regCode.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.regCode.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.regCode.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="centerXGd" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.centerXGd.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.centerXGd.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.centerXGd.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.centerXGd.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="centerYGd" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.centerYGd.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.centerYGd.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.centerYGd.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.centerYGd.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasWiunWaoLegPers" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasWiunWaoLegPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasWiunWaoLegPers.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasWiunWaoLegPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasWiunWaoLegPers.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wiunWaoLegPers" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wiunWaoLegPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wiunWaoLegPers.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wiunWaoLegPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wiunWaoLegPers.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wiunWaoLegPersTel" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wiunWaoLegPersTel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wiunWaoLegPersTel.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wiunWaoLegPersTel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wiunWaoLegPersTel.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wiunWaoLegPersDuty" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wiunWaoLegPersDuty.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wiunWaoLegPersDuty.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wiunWaoLegPersDuty.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wiunWaoLegPersDuty.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wiunWaoLegPersTrain" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wiunWaoLegPersTrain.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wiunWaoLegPersTrain.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wiunWaoLegPersTrain.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wiunWaoLegPersTrain.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wiunWaoLegPersCnps" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wiunWaoLegPersCnps.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wiunWaoLegPersCnps.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wiunWaoLegPersCnps.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wiunWaoLegPersCnps.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wiunWaoLegPersResu" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wiunWaoLegPersResu.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wiunWaoLegPersResu.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wiunWaoLegPersResu.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wiunWaoLegPersResu.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasTechPers" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasTechPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasTechPers.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasTechPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasTechPers.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="techPers" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.techPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.techPers.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.techPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.techPers.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="techPersTel" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.techPersTel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.techPersTel.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.techPersTel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.techPersTel.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="techPersDuty" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.techPersDuty.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.techPersDuty.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.techPersDuty.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.techPersDuty.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="techPersTrain" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.techPersTrain.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.techPersTrain.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.techPersTrain.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.techPersTrain.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="techPersCnps" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.techPersCnps.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.techPersCnps.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.techPersCnps.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.techPersCnps.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="techPersResu" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.techPersResu.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.techPersResu.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.techPersResu.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.techPersResu.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasPatrolPers" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasPatrolPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasPatrolPers.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasPatrolPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasPatrolPers.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="patrolPers" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.patrolPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.patrolPers.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.patrolPers.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.patrolPers.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="patrolPersTel" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.patrolPersTel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.patrolPersTel.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.patrolPersTel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.patrolPersTel.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="patrolPersTrain" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.patrolPersTrain.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.patrolPersTrain.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.patrolPersTrain.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.patrolPersTrain.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="patrolPersCnps" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.patrolPersCnps.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.patrolPersCnps.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.patrolPersCnps.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.patrolPersCnps.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="patrolPersResu" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.patrolPersResu.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.patrolPersResu.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.patrolPersResu.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.patrolPersResu.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="rainForc" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.rainForc.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.rainForc.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.rainForc.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.rainForc.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="rainForcNote" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.rainForcNote.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.rainForcNote.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.rainForcNote.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.rainForcNote.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="schPlanSameExta" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.schPlanSameExta.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.schPlanSameExta.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.schPlanSameExta.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.schPlanSameExta.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="schPlanSameAppr" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.schPlanSameAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.schPlanSameAppr.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.schPlanSameAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.schPlanSameAppr.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="schPlanSameEme" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.schPlanSameEme.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.schPlanSameEme.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.schPlanSameEme.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.schPlanSameEme.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="schPlanSameSpeed" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.schPlanSameSpeed.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.schPlanSameSpeed.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.schPlanSameSpeed.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.schPlanSameSpeed.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="emerPlanSameExta" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.emerPlanSameExta.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.emerPlanSameExta.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.emerPlanSameExta.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.emerPlanSameExta.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="emerPlanSameAppr" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.emerPlanSameAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.emerPlanSameAppr.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.emerPlanSameAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.emerPlanSameAppr.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="emerPlanSameEme" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.emerPlanSameEme.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.emerPlanSameEme.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.emerPlanSameEme.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.emerPlanSameEme.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="emerPlanSameSpeed" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.emerPlanSameSpeed.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.emerPlanSameSpeed.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.emerPlanSameSpeed.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.emerPlanSameSpeed.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="reverOrg" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.reverOrg.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.reverOrg.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.reverOrg.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.reverOrg.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="poorCountry" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.poorCountry.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.poorCountry.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.poorCountry.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.poorCountry.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="waterRunInfo" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.waterRunInfo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.waterRunInfo.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.waterRunInfo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.waterRunInfo.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="fsltdzInfo" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.fsltdzInfo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.fsltdzInfo.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.fsltdzInfo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.fsltdzInfo.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="diskRunInfo" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.diskRunInfo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.diskRunInfo.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.diskRunInfo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.diskRunInfo.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasSetMainFl" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasSetMainFl.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasSetMainFl.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasSetMainFl.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasSetMainFl.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="isMainFlNormal" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.isMainFlNormal.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.isMainFlNormal.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.isMainFlNormal.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.isMainFlNormal.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasSetPourFl" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasSetPourFl.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasSetPourFl.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasSetPourFl.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasSetPourFl.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="pourFyIsNormal" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.pourFyIsNormal.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.pourFyIsNormal.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.pourFyIsNormal.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.pourFyIsNormal.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasExtDamSafeAppr" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasExtDamSafeAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasExtDamSafeAppr.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasExtDamSafeAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasExtDamSafeAppr.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="extDamSafeAppr" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.extDamSafeAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.extDamSafeAppr.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.extDamSafeAppr.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.extDamSafeAppr.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="ifReinForce" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.ifReinForce.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.ifReinForce.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.ifReinForce.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.ifReinForce.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="reinForceRun" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.reinForceRun.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.reinForceRun.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.reinForceRun.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.reinForceRun.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="notReinForce" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.notReinForce.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.notReinForce.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.notReinForce.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.notReinForce.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasSpeManage" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasSpeManage.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasSpeManage.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasSpeManage.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasSpeManage.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasWdEmnic" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasWdEmnic.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasWdEmnic.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasWdEmnic.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasWdEmnic.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="ifManageReg" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.ifManageReg.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.ifManageReg.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.ifManageReg.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.ifManageReg.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="ifManageRegRel" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.ifManageRegRel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.ifManageRegRel.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.ifManageRegRel.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.ifManageRegRel.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="ifDamWarnLogo" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.ifDamWarnLogo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.ifDamWarnLogo.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.ifDamWarnLogo.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.ifDamWarnLogo.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="safeComment" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.safeComment.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.safeComment.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.safeComment.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.safeComment.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="ifEffective" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.ifEffective.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.ifEffective.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.ifEffective.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.ifEffective.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="ifWaterS" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.ifWaterS.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.ifWaterS.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.ifWaterS.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.ifWaterS.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="wsfdws" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.wsfdws.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.wsfdws.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.wsfdws.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.wsfdws.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="diskRunInfo2" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.diskRunInfo2.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.diskRunInfo2.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.diskRunInfo2.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.diskRunInfo2.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="hasSetMainFl2" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.hasSetMainFl2.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.hasSetMainFl2.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.hasSetMainFl2.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.hasSetMainFl2.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="viewPreName" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.viewPreName.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.viewPreName.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.viewPreName.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.viewPreName.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="knowResManager" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.knowResManager.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.knowResManager.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.knowResManager.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.knowResManager.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="managerComment" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.managerComment.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.managerComment.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.managerComment.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.managerComment.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
        <template slot="note" slot-scope="text">
          <a-tooltip placement="top">
            <template slot="title">
              <span :style="{ color: text.note.indexOf('$E$')>0 ? '#ED3F14' : '' }">
                {{ text.note.replace('$E$','') }}
              </span>
            </template>
            <span class="ellipsis150" :style="{ color: text.note.indexOf('$E$')>0 ? '#ED3F14' : '' }">
              {{ text.note.replace('$E$','') }}</span>
          </a-tooltip>
        </template>
      </a-table>
      <a-button
        type="primary"
        v-show="reUploadState"
        @click="handleClose"
        style="background-color: #e6a23c;border-color: #e6a23c;">重新上传</a-button>
      <a-button
        type="primary"
        v-show="confirmUploadState"
        @click="confirmUpload"
        :loading="uploadLoading"
        :disabled="buttonState">确定填报</a-button>
    </div>
  </a-modal>
</template>

<script>
import request from '../../utils/gw_ajax_request.js';
export default {
  props: ['tableData', 'uuid', 'id'],
  data() {
    return {
      dialogVisible: true,
      reUploadState: false,
      confirmUploadState: true,
      rDisabled: false,
      cDisabled: false,
      title: '小水库批量填报数据验证页面(验证通过√)',
      uploadLoading: false,
      buttonState: false,
      columns: [
        {
          title: '模板行号',
          dataIndex: 'index',
          width: 90,
          fixed: 'left',
          align: 'center',
        },
        {
          title: '水库名称',
          dataIndex: 'rsName',
          width: 150,
          fixed: 'left',
          align: 'center',
        },
        {
          title: '水库编码',
          dataIndex: 'rsCode',
          width: 150,
          align: 'center',
        },
        {
          title: '管理机构',
          dataIndex: 'rsAdmName',
          width: 150,
          align: 'center',
        },
        {
          title: '行政区划',
          dataIndex: 'location',
          width: 150,
          align: 'center',
        },
        {
          title: '所在地点',
          dataIndex: 'rsLoc',
          width: 150,
          align: 'center',
        },
        {
          title: '建成时间',
          dataIndex: 'compDateStr',
          width: 150,
          align: 'center',
        },
        {
          title: '工程规模',
          dataIndex: 'engScal',
          width: 150,
          align: 'center',
        },
        {
          title: '总库容（万m3）',
          dataIndex: 'totCap',
          width: 150,
          align: 'center',
        },
        {
          title: '最大坝高(m)',
          dataIndex: 'damSizeHig',
          width: 150,
          align: 'center',
        },
        {
          title: '主坝坝型',
          dataIndex: 'rsType',
          width: 150,
          align: 'center',
        },
        {
          title: '注册登记号',
          dataIndex: 'regCode',
          width: 150,
          align: 'center',
        },
        {
          title: '经度',
          dataIndex: 'centerXGd',
          width: 150,
          align: 'center',
        },
        {
          title: '纬度',
          dataIndex: 'centerYGd',
          width: 150,
          align: 'center',
        },
        {
          title: '纬度',
          dataIndex: 'centerYGd',
          width: 150,
          align: 'center',
        },
        {
          title: '“三个责任人”落实情况（填报项）',
          children: [
            {
              title: '行政责任人信息',
              children: [
                {
                  title: '是否有行政责任人',
                  dataIndex: 'hasWiunWaoLegPers',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '责任人姓名(小于30个字符)',
                  dataIndex: 'wiunWaoLegPers',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '责任人电话(数字且不超过11位)',
                  dataIndex: 'wiunWaoLegPersTel',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '责任人职务(小于200个字符)',
                  dataIndex: 'wiunWaoLegPersDuty',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否接受过岗位培训',
                  dataIndex: 'wiunWaoLegPersTrain',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否明确规范性履职标准',
                  dataIndex: 'wiunWaoLegPersCnps',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '履职情况',
                  dataIndex: 'wiunWaoLegPersResu',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '技术责任人情况',
              children: [
                {
                  title: '是否有技术责任人',
                  dataIndex: 'hasTechPers',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '责任人姓名(小于30个字符)',
                  dataIndex: 'techPers',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '责任人电话(数字且不超过11位)',
                  dataIndex: 'techPersTel',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '责任人职务(小于200个字符)',
                  dataIndex: 'techPersDuty',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否接受过岗位培训',
                  dataIndex: 'techPersTrain',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否明确规范性履职标准',
                  dataIndex: 'techPersCnps',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '履职情况',
                  dataIndex: 'techPersResu',
                  width: 150,
                  align: 'center',
                },
              ],
            },
          ],
        },
        {
          title: '巡查责任人情况',
          children: [
            {
              title: '是否有巡查责任人',
              dataIndex: 'hasPatrolPers',
              width: 150,
              align: 'center',
            },
            {
              title: '责任人姓名(小于30个字符)',
              dataIndex: 'patrolPers',
              width: 150,
              align: 'center',
            },
            {
              title: '责任人电话(数字且不超过11位)',
              dataIndex: 'patrolPersTel',
              width: 150,
              align: 'center',
            },
            {
              title: '是否接受过岗位培训',
              dataIndex: 'patrolPersTrain',
              width: 150,
              align: 'center',
            },
            {
              title: '是否明确规范性履职标准',
              dataIndex: 'patrolPersCnps',
              width: 150,
              align: 'center',
            },
            {
              title: '履职情况',
              dataIndex: 'patrolPersResu',
              width: 150,
              align: 'center',
            },
          ],
        },
        {
          title: '三个重点环节”落实情况（填报项）',
          children: [
            {
              title: '预测预报能力',
              children: [
                {
                  title: '是否能自主预测预报水雨情',
                  dataIndex: 'rainForc',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否有其他方法及时了解水雨情',
                  dataIndex: 'rainForcNote',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '水库调度运用方案',
              children: [
                {
                  title: '是否有水库调度运用方案',
                  dataIndex: 'schPlanSameExta',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否获得批复',
                  dataIndex: 'schPlanSameAppr',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否进行演练',
                  dataIndex: 'schPlanSameEme',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '可操作性',
                  dataIndex: 'schPlanSameSpeed',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '安全管理（防汛）应急预案',
              children: [
                {
                  title: '是否有安全管理（防汛）应急方案',
                  dataIndex: 'emerPlanSameExta',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否获得批复或备案',
                  dataIndex: 'emerPlanSameAppr',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否进行演练',
                  dataIndex: 'emerPlanSameEme',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '可操作性',
                  dataIndex: 'emerPlanSameSpeed',
                  width: 150,
                  align: 'center',
                },
              ],
            },
          ],
        },
        {
          title: '水库工程实体（填报项）',
          children: [
            {
              title: '水库所属流域',
              dataIndex: 'reverOrg',
              width: 150,
              align: 'center',
            },
            {
              title: '所在县是否为贫困县',
              dataIndex: 'poorCountry',
              width: 150,
              align: 'center',
            },
            {
              title: '蓄水运行情况',
              dataIndex: 'waterRunInfo',
              width: 150,
              align: 'center',
            },
            {
              title: '执行汛限水位情况',
              dataIndex: 'fsltdzInfo',
              width: 150,
              align: 'center',
            },
            {
              title: '挡水建筑物运行情况',
              children: [
                {
                  title: '是否正常运行',
                  dataIndex: 'diskRunInfo',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '泄洪建筑物运行状况',
              children: [
                {
                  title: '是否设置泄洪建筑物',
                  dataIndex: 'hasSetMainFl',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '运行情况',
                  dataIndex: 'isMainFlNormal',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '放水建筑物运行状况',
              children: [
                {
                  title: '是否设置放水建筑物',
                  dataIndex: 'hasSetPourFl',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '运行情况',
                  dataIndex: 'pourFyIsNormal',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '大坝安全鉴定',
              children: [
                {
                  title: '按规定是否需要开展',
                  dataIndex: 'hasExtDamSafeAppr',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '开展情况',
                  dataIndex: 'extDamSafeAppr',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '水库除险加固',
              children: [
                {
                  title: '是否实施',
                  dataIndex: 'ifReinForce',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '实施情况',
                  dataIndex: 'reinForceRun',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否应实施却未实施',
                  dataIndex: 'notReinForce',
                  width: 150,
                  align: 'center',
                },
              ],
            },
          ],
        },
        {
          title: '运行管理情况（填报项）',
          children: [
            {
              title: '管理机构及经费情况',
              children: [
                {
                  title: '是否有管理机构',
                  dataIndex: 'hasSpeManage',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '是否有稳定经费来源',
                  dataIndex: 'hasWdEmnic',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '注册登记情况',
              children: [
                {
                  title: '是否注册登记',
                  dataIndex: 'ifManageReg',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '注册登记信息准确情况',
                  dataIndex: 'ifManageRegRel',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '公示情况',
              children: [
                {
                  title: '是否设置水库公示牌',
                  dataIndex: 'ifDamWarnLogo',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '安全运行总体评价',
              children: [
                {
                  title: '安全评价',
                  dataIndex: 'safeComment',
                  width: 150,
                  align: 'center',
                },
              ],
            },
          ],
        },
        {
          title: '效益发挥情况（填报项）',
          children: [
            {
              title: '是否发挥效益',
              dataIndex: 'ifEffective',
              width: 150,
              align: 'center',
            },
            {
              title: '是否为饮用水源',
              dataIndex: 'ifWaterS',
              width: 150,
              align: 'center',
            },
            {
              title: '饮用水源供水量（吨/年,不超过15位）',
              dataIndex: 'wsfdws',
              width: 150,
              align: 'center',
            },
            {
              title: '是否有灌溉任务',
              dataIndex: 'diskRunInfo2',
              width: 150,
              align: 'center',
            },
            {
              title: '灌溉面积(不超过18位)',
              dataIndex: 'hasSetMainFl2',
              width: 150,
              align: 'center',
            },
          ],
        },
        {
          title: '走访情况（填报项）',
          children: [
            {
              title: '行政村基本信息',
              children: [
                {
                  title: '走访人员名称(小于30个字符)',
                  dataIndex: 'viewPreName',
                  width: 150,
                  align: 'center',
                },
              ],
            },
            {
              title: '行政村调研信息',
              children: [
                {
                  title: '是否知晓水库管护人员',
                  dataIndex: 'knowResManager',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '对管护责任人的评价',
                  dataIndex: 'managerComment',
                  width: 150,
                  align: 'center',
                },
                {
                  title: '备注(小于200个字符)',
                  dataIndex: 'note',
                  width: 150,
                  align: 'center',
                },
              ],
            },
          ],
        },
      ],
    };
  },
  computed: {
    persId() {
      return localStorage.getItem('persId')
        ? localStorage.getItem('persId')
        : '1098101939614724096';
    },
  },
  created() {},
  methods: {
    handleClose(done) {
      this.reUploadState = false;
      this.$emit('closePlVerDialog');
    },
    getIndex(index) {
      return index + 6;
    },
    tableRowClassName({ row, rowIndex }) {
      let values = '';
      for (const key in row) {
        values += row[key];
      }
      if (values.indexOf('$E$') > 0) {
        this.reUploadState = true;
        this.confirmUploadState = false;
        this.title = '小水库批量填报数据验证页面(验证未通过×)';
        return 'warning-row';
      }
      return '';
    },
    confirmUpload() {
      this.uploadLoading = true;
      this.buttonState = true;
      request
        .get(
          `/dc/impExcel/insertExcel/${this.persId}/${this.uuid}?&tid=08&pid=${this.id}`,
        )
        .then((res) => {
          console.log(res);
          if (res.data.key == true) {
            this.$alert('填报成功！', '提示', {
              confirmButtonText: '确定',
              type: 'success',
              callback: (action) => {
                //
                this.uploadLoading = false;
                this.buttonState = false;
                this.handleClose();
              },
            });
          } else {
            this.$alert('填报失败！', '提示', {
              confirmButtonText: '确定',
              callback: (action) => {
                this.$message.info(`请不要重复提交!`);
              },
            });
          }
        });
    },
  },
  watch: {
    reUploadState(n, o) {
      if (n) {
        this.confirmUploadState = false;
      } else {
        this.confirmUploadState = true;
      }
    },
  },
};
</script>

<style lang='less' scoped>
.title {
  font-size: 16px;
}

.el-icon-edit {
  margin-right: 10px;
}

.verify_dialog .el-dialog {
  width: 80% !important;
}

.verify_dialog .el-dialog__body {
  padding: 30px 20px;
  color: #606266;
  font-size: 14px;
  height: 500px;
  overflow: auto;
}

.verify_div {
  text-align: center;
}

.verify_div .el-table th>.cell {
  font-family: MicrosoftYaHei-Bold;
  font-weight: bold;
  color: rgba(51, 51, 51, 1);
}

.verify_div .el-table--border th,
.el-table__fixed-right-patch {
  background: rgba(240, 240, 240, 1);
  box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1),
    0px 1px 0px 0px rgba(0, 0, 0, 0.1), -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
}

.verify_div .el-table td.is-hidden>*,
.nysgc .el-table th.is-hidden>*,
.el-table--hidden {
  visibility: visible;
}
.ant-table td {
  white-space: nowrap;
}
.ellipsis90 {
  display: block;
  width: 88px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.ellipsis150 {
  display: block;
  width: 148px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
/deep/ .ant-table-thead>tr>th,
/deep/ .ant-table-tbody>tr>td {
  padding: 0;
  height: 60px;
}
// 处理表格横向滚动条不生效
/deep/ .ant-table-scroll {
  position: relative;
  z-index: 1;
}

/deep/.ant-table-fixed-left,
/deep/ .ant-table-fixed-right {
  z-index: 2;
}
</style>
