<template>
  <div
    style="width: 100%; background: #fff; min-height: 700px"
    class="userCenterMyProject"
  >
    <div
      style="
        height: 60px;
        line-height: 60px;
        padding-top: 30px;
        margin-left: 30px;
        margin-right: 30px;
        border-bottom: 1px solid rgba(228, 228, 228, 1);
      "
    >
      {{ $t("common.myInfoData") }}
    </div>
    <div style="margin: 20px 0 0px 30px" v-if="$i18n.locale == 'zh'">
      <span
        v-for="(item, index) in taberPhone"
        style="margin-right: 70px; padding: 10px"
        :class="
          item.value == taberIndex ? 'taberPhone1 cursor' : 'taberPhone2 cursor'
        "
        @click="getTaberPhone(item, index)"
        >{{ $t(item.label) }}</span
      >
    </div>
    <div style="margin: 20px 0 0px 30px" v-else>
      <span
        v-for="(item, index) in taberPhone"
        style="margin-right: 40px; padding: 10px"
        :class="
          item.value == taberIndex ? 'taberPhone1 cursor' : 'taberPhone2 cursor'
        "
        @click="getTaberPhone(item, index)"
        :style="{ marginRight: index == 4 ? '0' : '40px' }"
        >{{ $t(item.label) }}</span
      >
    </div>
    <div style="margin: 20px 0 0px 30px" v-if="taberIndex === '1'">
      <div style="padding: 23px 0 0 0; background: #f2f2f2; margin-top: 5px">
        <el-form
          :inline="true"
          :model="param"
          class="demo-form-inline"
          style="padding: 0 40px"
        >
          <el-row>
            <el-col :span="10">
              <el-form-item :label="$t('common.approveStatus')">
                <el-select
                  v-model="param.approveStatusDict"
                  :placeholder="$t('common.SelectApproveType')"
                >
                  <el-option
                    v-for="item in memberApplyStatus"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                    :disabled="false"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
            <!--                资讯数据查询-->
            <el-col :span="3">
              <el-button
                @click="getMyInfoData"
                type="primary"
                style="width: 70px"
                >{{ $t("common.uquery") }}</el-button
              >
            </el-col>
            <!--                资讯数据重置-->
            <el-col :span="2">
              <!-- <el-button @click="getMyInfoData" type="info" style="width:70px">{{ $t('common.reset') }}</el-button> -->
              <el-button
                @click="resetInfoData"
                type="info"
                style="width: 70px"
                >{{ $t("common.reset") }}</el-button
              >
            </el-col>
          </el-row>
          <el-row> </el-row>
        </el-form>
      </div>
      <!--      创建资讯信息-->
      <div style="height: 50px; line-height: 50px">
        <el-button
          type="primary"
          style="float: right; margin-right: 90px; margin-top: 10px"
          @click="toView('addMyInfoData', '')"
          >{{ $t("common.CreateInfoData") }}
        </el-button>
      </div>
      <!--      资讯信息表单-->
      <el-table
        :data="tableData"
        stripe
        highlight-current-row
        style="width: 100%"
      >
        <template slot="empty">
          {{ $t("common.myInfoData") }}
        </template>
        <el-table-column
          type="index"
          fixed
          :label="$t('common.serialNumber')"
          width="120"
        ></el-table-column>
        <el-table-column :label="$t('common.title')" width="220">
          <template slot-scope="scope">
            <span
              style="color: #1890ff; cursor: pointer"
              class="threeLine"
              @click="toDetail(scope.row)"
              >{{ scope.row.title }}</span
            >
          </template>
        </el-table-column>
        <!-- <el-table-column prop="title" :label="$t('common.title')" width='220'></el-table-column> -->
        <el-table-column
          prop="typeDict"
          :label="$t('common.typeDict')"
          width="220"
        ></el-table-column>
        <el-table-column
          prop="publishDate"
          :label="$t('common.publishDate')"
          width="220"
        ></el-table-column>
        <el-table-column
          prop="approveStatusDict"
          :label="$t('common.approveStatus')"
          width="150"
        ></el-table-column>
        <el-table-column
          fixed="right"
          prop="address5"
          :label="$t('common.Option')"
          width="210"
        >
          <template slot-scope="scope">
            <el-button
              @click.native.prevent="toEditor(scope.row)"
              v-if="
                scope.row.approveStatusDict == '未审核' ||
                scope.row.approveStatusDict == 'UnAprrove' ||
                scope.row.approveStatusDict == '驳回' ||
                scope.row.approveStatusDict == 'Reject'
              "
              type="text"
              size="small"
            >
              {{ $t("common.edit") }}
            </el-button>
            <el-button
              @click.native.prevent="commit(scope.row)"
              v-if="
                scope.row.approveStatusDict == '未审核' ||
                scope.row.approveStatusDict == 'UnAprrove'
              "
              type="text"
              size="small"
            >
              {{ $t("common.commit") }}
            </el-button>
            <el-button
              @click.native.prevent="toDelete(scope.row)"
              v-if="
                scope.row.approveStatusDict != '审核通过' &&
                scope.row.approveStatusDict != 'Approved'
              "
              type="text"
              size="small"
            >
              {{ $t("common.delete") }}
            </el-button>
          </template>
        </el-table-column>
      </el-table>
      <div v-if="totalCount > 0" style="width: 100%; text-align: center">
        <!--        分页-->
        <el-pagination
          style="margin-top: 50px; height: 80px"
          background
          layout="prev, pager, next"
          :total="totalCount"
          :current-page="currentPage"
          @current-change="handleCurrentChange"
        >
        </el-pagination>
      </div>
    </div>
    <div
      style="margin: 20px 0 0px 30px"
      v-if="taberIndex === '5'"
      class="rightContent"
    >
      <!--        树-->
      <div class="menu-container-box">
        <div class="menu-content-box">
          <div class="menu-title">{{ $t("common.index") }}</div>
          <!--                树-->
          <el-tree
            :data="menuData"
            :props="defaultProps"
            ref="tree"
            :default-checked-keys="defaultCheckedKeys"
            default-expand-all
            node-key="id"
            @node-click="handleNodeClick"
          >
            <span class="custom-tree-node" slot-scope="{ node, data }">
              <span
                :class="[
                  data.iconName == 'filesicon' ? 'filesicon' : 'fileicon',
                  node.checked ? 'activefileicon' : '',
                ]"
              ></span>
              <span
                class="leaftitle"
                :class="{ activeleaftitle: node.checked }"
                :title="data.la"
                >{{ data.la }}</span
              >
            </span>
          </el-tree>
        </div>
      </div>
      <!--        顶部选择-->
      <div class="leftContent">
        <div style="padding: 23px 0 0 0; background: #f2f2f2; margin-top: 5px">
          <el-form
            :inline="true"
            :model="informationparam"
            class="demo-form-inline"
            style="padding: 0 40px"
          >
            <el-row>
              <el-col :span="13">
                <el-form-item :label="$t('common.approveStatus')">
                  <el-select
                    v-model="informationparam.isDelete"
                    :placeholder="$t('common.SelectApproveType')"
                  >
                    <el-option
                      v-for="item in informationDicts"
                      :key="item.value"
                      :label="item.label"
                      :value="item.value"
                      :disabled="false"
                    >
                    </el-option>
                  </el-select>
                </el-form-item>
              </el-col>
              <!--                数据查询-->
              <el-col :span="2">
                <el-button
                  @click="getMyInformation"
                  type="primary"
                  style="width: 70px"
                  >{{ $t("common.uquery") }}
                </el-button>
                <!-- <el-button type="info">{{$t('common.reset')}}</el-button> -->
              </el-col>
              <!--                数据重置-->
              <el-col :span="2">
                <!-- <el-button type="primary">{{$t('common.query')}}</el-button> -->
                <el-button
                  @click="reView"
                  type="info"
                  style="width: 70px; margin-left: 30px"
                  >{{ $t("common.reset") }}
                </el-button>
              </el-col>
            </el-row>
          </el-form>
        </div>
        <!--      创建数据信息-->
        <div style="height: 50px; line-height: 50px">
          <el-button
            v-if="unitCnName != '' || unitEnName != ''"
            type="primary"
            style="float: right; margin-right: 90px; margin-top: 10px"
            @click="
              toView('userCenterGeiWebDataForm', {
                treeNodeData: treeNodeData,
                unitCnName: unitCnName,
                unitEnName: unitEnName,
              })
            "
          >
            {{ $t("common.CreateDataInformation") }}
          </el-button>
        </div>
        <!--     数据信息表单-->
        <el-table
          :data="informationTableData"
          stripe
          highlight-current-row
          style="width: 100%"
        >
          <template slot="empty">
            {{ $t("common.myInfoData") }}
          </template>
          <el-table-column
            type="index"
            fixed
            :label="$t('common.serialNumber')"
            width="120"
          ></el-table-column>
          <el-table-column
            v-if="$i18n.locale == 'zh'"
            prop="countryCnName"
            :label="$t('common.country')"
            width="120"
          ></el-table-column>
          <el-table-column
            v-else="$i18n.locale == 'en'"
            prop="countryEnName"
            :label="$t('common.country')"
            width="120"
          ></el-table-column>
          <el-table-column
            prop="dataYear"
            :label="$t('common.year')"
            width="120"
          ></el-table-column>
          <el-table-column
            prop="dataValue"
            :label="$t('common.dataValue')"
            width="170"
          ></el-table-column>
          <el-table-column
            prop="isDelete"
            :label="$t('common.approveStatus')"
            width="190"
          ></el-table-column>
          <el-table-column
            fixed="right"
            prop="address5"
            :label="$t('common.Option')"
            width="210"
          >
            <template slot-scope="scope">
              <!--                <el-button @click.native.prevent="commit(scope.row)"-->
              <!--                           v-if="scope.row.isDelete == '未审核' || scope.row.isDelete == 'Not Reviewed'"-->
              <!--                           type="text"-->
              <!--                           size="small">-->
              <!--                  {{$t('common.commit')}}-->
              <!--                </el-button>-->
              <el-button
                @click.native.prevent="informationDelete(scope.row)"
                type="text"
                size="small"
              >
                {{ $t("common.delete") }}
              </el-button>
              <el-button
                @click.native.prevent="informationEdit(scope.row)"
                type="text"
                size="small"
              >
                {{ $t("common.editor") }}
              </el-button>
            </template>
          </el-table-column>
        </el-table>
        <div style="width: 100%; text-align: center">
          <!--        分页-->
          <el-pagination
            style="margin-top: 50px; height: 80px"
            background
            layout="prev, pager, next"
            :total="informationTotalCount"
            @size-change="informationHandleSizeChange"
            @current-change="informationHandleCurrentChange"
          >
          </el-pagination>
        </div>
      </div>
      <div style="clear: both"></div>
    </div>
    <div style="margin: 20px 0 0px 30px" v-if="taberIndex === '6'">
      <div
        style="
          width: 880px;
          padding: 23px 0 0 0;
          background: #f2f2f2;
          margin-top: 5px;
        "
      >
        <el-form
          :inline="true"
          :model="items"
          class="demo-form-inline"
          style="padding: 0 40px"
        >
          <el-row>
            <el-col :span="10">
              <el-form-item :label="$t('common.approveStatus')">
                <el-select
                  v-model="items.statusDict"
                  :placeholder="$t('common.SelectApproveType')"
                >
                  <el-option
                    v-for="item in statusDicts"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                    :disabled="false"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="3">
              <el-button
                @click="getPeriodicalInformationByUserCenter"
                type="primary"
                style="width: 70px"
              >
                {{ $t("common.uquery") }}
              </el-button>
              <!-- <el-button type="info">{{$t('common.reset')}}</el-button> -->
            </el-col>
            <el-col :span="2">
              <!-- <el-button @click="getPeriodicalInformationByUserCenter" type="info" style="width:70px"> -->
              <el-button
                @click="resetPeriodical"
                type="info"
                style="width: 70px"
              >
                {{ $t("common.reset") }}
              </el-button>
            </el-col>
          </el-row>
          <el-row> </el-row>
        </el-form>
      </div>
      <div style="height: 50px; line-height: 50px">
        <el-button
          type="primary"
          style="float: right; margin-right: 90px; margin-top: 10px"
          @click="toView('addMyPeriodical', '')"
          >{{ $t("common.CreatePeriodical") }}
        </el-button>
      </div>
      <!-- 刊期 -->
      <el-table
        :data="periodicalInformation"
        stripe
        highlight-current-row
        style="width: 100%"
      >
        <template slot="empty">
          {{ $t("common.periodicalInformation") }}
        </template>
        <el-table-column
          type="index"
          fixed
          :label="$t('common.serialNumber')"
          width="120"
        ></el-table-column>
        <el-table-column :label="$t('common.periodicalName')" width="220">
          <template slot-scope="scope">
            <span
              style="color: #1890ff; cursor: pointer"
              class="threeLine"
              @click="toPeriodicalDetail(scope.row)"
              >{{ scope.row.name }}</span
            >
          </template>
        </el-table-column>
        <!-- <el-table-column prop="name" :label="$t('common.periodicalName')" width='320'></el-table-column> -->
        <el-table-column
          prop="typeDict"
          :label="$t('common.periodicaltypeDict')"
          width="320"
        ></el-table-column>
        <el-table-column
          prop="languageDict"
          :label="$t('common.languageDict')"
          width="320"
        ></el-table-column>
        <el-table-column
          prop="statusDict"
          :label="$t('common.approveStatus')"
          width="150"
        ></el-table-column>
        <el-table-column
          fixed="right"
          prop="address5"
          :label="$t('common.Option')"
          width="210"
        >
          <template slot-scope="scope">
            <el-button
              @click.native.prevent="toEdit(scope.row)"
              v-if="
                scope.row.statusDict == '草稿' ||
                scope.row.statusDict == 'UnAprrove' ||
                scope.row.statusDict == '审核驳回' ||
                scope.row.statusDict == 'Reject'
              "
              type="text"
              size="small"
            >
              {{ $t("common.edit") }}
            </el-button>
            <el-button
              @click.native.prevent="commiter(scope.row)"
              v-if="
                scope.row.statusDict == '草稿' ||
                scope.row.statusDict == 'UnAprrove'
              "
              type="text"
              size="small"
            >
              {{ $t("common.commit") }}
            </el-button>
            <el-button
              @click.native.prevent="toDeleter(scope.row)"
              v-if="
                scope.row.statusDict != '审核通过' &&
                scope.row.statusDict != 'Approved'
              "
              type="text"
              size="small"
            >
              {{ $t("common.delete") }}
            </el-button>
          </template>
        </el-table-column>
      </el-table>
      <div v-if="totalCount1 > 0" style="width: 100%; text-align: center">
        <el-pagination
          v-if="thinkTankConsultations"
          style="margin-top: 50px; height: 80px"
          background
          layout="prev, pager, next"
          :total="totalCount1"
          :current-page="currentPage1"
          @current-change="handleCurrentChange1"
        >
        </el-pagination>
      </div>
    </div>
  </div>
</template>
<script>
import Base from "@/views/base/Base";
import { getDicts } from "@/api/dict";
import { getBaseMemberApplys } from "@/api/baseMemberApply";
import {
  getCoopCustomServices,
  del,
} from "@/api/cooperation/coopCustomService";
import { getBaseLeagueApplys } from "@/api/cooperation/baseLeagueApply";
import {
  getBaseResearchApplications,
  deleteByDoor,
} from "@/api/research/resource/baseResearchApplication";
import { getMeneData, getChartData } from "@/api/realTimeInfo/infoJournalView";
import {
  getReplyAndSenderMessage,
  gateDelConsultMessageInfo,
} from "@/api/operation/consultMessageInfo";
import {
  getMyInfoDataByUserCenter,
  deleteCmsInformationByUserCenter,
  commitCmsInformationByUserCenter,
} from "@/api/cms/cmsInformationEntity";
import {
  getAllJournalClassificationByUserCenter,
  deleteJournalByUserCenter,
  getPeriodicalInformationByUserCenter,
  commitJournalByUserCenter,
} from "@/api/userCenter/myPeriodical";
import { formatDate } from "@/utils/formatUtils";
import {
  getGeiAppDataWbTempByUserCenter,
  getPersonalInformation,
  deleteInformationByUserCenter,
} from "@/api/operation/gei/geiAppDataWbTemp";
import moment from "moment";
import { getToken, resetToken } from "@/utils/auth";
import {
  getThinkTankConsultations,
  commit,
  deleteTo,
} from "@/api/thinkTank/thinkTankConsultation";
import Bus from "@/api/bus";

export default {
  name: "userCentermyConcerns",
  extends: Base,
  data() {
    return {
      //数据页面菜单列表
      originalCountryData: [
        {
          COUNTRY_ID: "93BC2730ED0A402186F596F6A01C007E",
          COUNTRY_CN_NAME: "世界",
          COUNTRY_EN_NAME: "WORLD",
        },
        {
          COUNTRY_ID: "A4E96E974CAF4406A81769A9B2D8C0AA",
          COUNTRY_CN_NAME: "亚洲",
          COUNTRY_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "A213A97331144E96B8449F7E47812623",
          COUNTRY_CN_NAME: "欧洲",
          COUNTRY_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "BDD62BA9E4E7464FBD7F0613BDA83C4C",
          COUNTRY_CN_NAME: "非洲",
          COUNTRY_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "E2274D0DBF85416E88FD2829D27FDB7F",
          COUNTRY_CN_NAME: "北美洲",
          COUNTRY_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "5CAAB32FCD64433791D0781D04EC09A3",
          COUNTRY_CN_NAME: "南美洲",
          COUNTRY_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "BCFDB5A302004E918371A7C0CD4AB38A",
          COUNTRY_CN_NAME: "大洋洲",
          COUNTRY_EN_NAME: "OCEANIA",
        },
        {
          COUNTRY_ID: "573E2688972E470C98FA49D58E664B1D",
          COUNTRY_CN_NAME: "瑞士",
          COUNTRY_EN_NAME: "SWITZERLAND",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6C73289BCC8E431DA513809CD6FF54F0",
          COUNTRY_CN_NAME: "泰国",
          COUNTRY_EN_NAME: "THAILAND",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "6540E122473D4BCF9AF94B1A5B03662E",
          COUNTRY_CN_NAME: "伊拉克",
          COUNTRY_EN_NAME: "IRAQ",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "2CAD815A7FB24B60B6823B1C64F47887",
          COUNTRY_CN_NAME: "加蓬",
          COUNTRY_EN_NAME: "GABON",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "75A8933D5C114E9FB6C1FDD75DAE4D93",
          COUNTRY_CN_NAME: "朝鲜",
          COUNTRY_EN_NAME: "KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "31EF3623A17B41FB98EABD1DBB8881EB",
          COUNTRY_CN_NAME: "巴基斯坦",
          COUNTRY_EN_NAME: "PAKISTAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "0500DDEFB8FD4E069DD93908EE437B64",
          COUNTRY_CN_NAME: "塞内加尔",
          COUNTRY_EN_NAME: "SENEGAL",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "5840498FF59F4821A1B06BC9B2E74772",
          COUNTRY_CN_NAME: "哥伦比亚",
          COUNTRY_EN_NAME: "COLOMBIA",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "504DCBD075DE4346BE742D6BA6706786",
          COUNTRY_CN_NAME: "捷克",
          COUNTRY_EN_NAME: "CZECH REPUBLIC",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "A1DBCF5A91474280837F1F5EAB3AA948",
          COUNTRY_CN_NAME: "科威特",
          COUNTRY_EN_NAME: "KUWAIT",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "85541C1FFEC94087B379D05D6DEA7581",
          COUNTRY_CN_NAME: "科特迪瓦共和国",
          COUNTRY_EN_NAME: "COTE O IVOIRE",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "CCAC8141A0734F7CB8FEA0989E064482",
          COUNTRY_CN_NAME: "智利",
          COUNTRY_EN_NAME: "CHILE",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "6428A41E57144447B77882B529D3BFC3",
          COUNTRY_CN_NAME: "科索沃",
          COUNTRY_EN_NAME: "KOSOVO",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6B7C13CB91DF46C7BE5CCAD407785B19",
          COUNTRY_CN_NAME: "俄罗斯",
          COUNTRY_EN_NAME: "RUSSIAN FEDERATION",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "E2FDEEDD7D2E4966BF87CEA19B3E888D",
          COUNTRY_CN_NAME: "苏里南",
          COUNTRY_EN_NAME: "SURINAME",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "3E2C85B97438490D916C1A88A0250798",
          COUNTRY_CN_NAME: "黎巴嫩",
          COUNTRY_EN_NAME: "LEBANON",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "3662AC0D4DFB4DCC95260BDC27D4C77B",
          COUNTRY_CN_NAME: "巴拿马",
          COUNTRY_EN_NAME: "PANAMA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        // 原数据名 台北
        // {
        //     "COUNTRY_ID":"B53640DF37884CB9B727F76FED8DA447",
        //     "COUNTRY_CN_NAME":"中国台湾",
        //     "COUNTRY_EN_NAME":"Taiwan",
        //     "CONTINENT_NAME":"亚洲",
        //     "CONTINENT_EN_NAME":"EAST ASIA"
        // },
        {
          COUNTRY_ID: "601D2C141BA64255A544F4047D59D580",
          COUNTRY_CN_NAME: "波黑",
          COUNTRY_EN_NAME: "BOSNIA AND HERZEGOVINA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "71D343C6B78B4B7B8B959E1EC066DEA3",
          COUNTRY_CN_NAME: "澳大利亚",
          COUNTRY_EN_NAME: "AUSTRALIA",
          CONTINENT_NAME: "大洋洲",
          CONTINENT_EN_NAME: "OCEANIA",
        },
        {
          COUNTRY_ID: "CF9663D63AC44462AC6E78A3755D897F",
          COUNTRY_CN_NAME: "韩国",
          COUNTRY_EN_NAME: "REPUBLIC OF KOREA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "C9F6A50A5F2449A5A23920409625217E",
          COUNTRY_CN_NAME: "罗马尼亚",
          COUNTRY_EN_NAME: "ROMANIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "C6562C7E36594E51A57DCCC9AAA23DB8",
          COUNTRY_CN_NAME: "卡塔尔",
          COUNTRY_EN_NAME: "QATAR",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "93DC3293ED88455B9B2B8CE24EB60282",
          COUNTRY_CN_NAME: "马其顿",
          COUNTRY_EN_NAME: "MACEDONIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "7183FA714DBC4BFBB01FC97799F65267",
          COUNTRY_CN_NAME: "哈萨克斯坦",
          COUNTRY_EN_NAME: "KAZAKHSTAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "4059DE83E8964F579DCDE9ED1A1C6E3A",
          COUNTRY_CN_NAME: "肯尼亚",
          COUNTRY_EN_NAME: "KENYA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "FFFDA84B71064EDE97A02B53FC89B792",
          COUNTRY_CN_NAME: "柬埔寨",
          COUNTRY_EN_NAME: "KAMPUCHEA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "826C1EEB979F4008A215AEA36B61A036",
          COUNTRY_CN_NAME: "克罗地亚",
          COUNTRY_EN_NAME: "CROATIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "AD3C438089A343DBA5B71F9CF2060E48",
          COUNTRY_CN_NAME: "喀麦隆",
          COUNTRY_EN_NAME: "CAMEROON",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "31CE0DC98D664A839B58108A804EA7E8",
          COUNTRY_CN_NAME: "中国大陆和香港",
          COUNTRY_EN_NAME: "CHINA(PR OF CHINA AND HONG KONG, CHINA);PR OF CHIN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "F7BA1D0893F540DC81C79097A9C99E0E",
          COUNTRY_CN_NAME: "葡萄牙",
          COUNTRY_EN_NAME: "PORTUGAL",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6A66D8372B3646F9BF346A30710399F7",
          COUNTRY_CN_NAME: "约旦",
          COUNTRY_EN_NAME: "JORDAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "EB35DC64AEB64D01B81B90CD6DF01FEB",
          COUNTRY_CN_NAME: "波兰",
          COUNTRY_EN_NAME: "POLAND",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "55447768ACF1476D84BD65D21363CC7E",
          COUNTRY_CN_NAME: "日本",
          COUNTRY_EN_NAME: "JAPAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "93BC2730ED0A402186F596F6A01C007E",
          COUNTRY_CN_NAME: "世界",
          COUNTRY_EN_NAME: "WORLD",
          CONTINENT_NAME: "",
        },
        {
          COUNTRY_ID: "710238915D5F46F3B3973DB3051FB354",
          COUNTRY_CN_NAME: "文莱",
          COUNTRY_EN_NAME: "BRUNEI DARUSSALAM",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "0D04802B8018451CBCE93D5D4072998C",
          COUNTRY_CN_NAME: "秘鲁",
          COUNTRY_EN_NAME: "PERU",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "96AF033A4CBC49A98C23316ED421723B",
          COUNTRY_CN_NAME: "巴西",
          COUNTRY_EN_NAME: "BRAZIL",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "67346E748C7F455EB31DBCB37FAF7061",
          COUNTRY_CN_NAME: "斯洛伐克",
          COUNTRY_EN_NAME: "SLOVAKIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "F573F9D0643E43D591E0BC08848C991E",
          COUNTRY_CN_NAME: "中国以外亚洲市场",
          COUNTRY_EN_NAME: "ASIA EXCLUDING CHINA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "4251645C24D747E7BFA987A6B9FCA988",
          COUNTRY_CN_NAME: "牙买加",
          COUNTRY_EN_NAME: "JAMAICA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "8165E46817D34D789F33DE571C237724",
          COUNTRY_CN_NAME: "巴拉圭",
          COUNTRY_EN_NAME: "PARAGUAY",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "BE3891DF57034772A7411A5CF3E0DB6E",
          COUNTRY_CN_NAME: "博茨瓦纳",
          COUNTRY_EN_NAME: "BOTSWANA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "7EC68C73841D405E8A3AA2F9F6D3149E",
          COUNTRY_CN_NAME: "玻利维亚",
          COUNTRY_EN_NAME: "BOLIVIA",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "4C247A0DED184FA9A6AFED7451A1CB06",
          COUNTRY_CN_NAME: "津巴布韦",
          COUNTRY_EN_NAME: "ZIMBABWE",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "75ECA6B7C8254E9DA989FE4BB90EBBE9",
          COUNTRY_CN_NAME: "赞比亚",
          COUNTRY_EN_NAME: "ZAMBIA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "85E103B2FCD04CE097DB6342F4A61D52",
          COUNTRY_CN_NAME: "以色列",
          COUNTRY_EN_NAME: "ISRAEL",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "5C5AC3793AD34A71BA89648A3ACAFF9E",
          COUNTRY_CN_NAME: "越南",
          COUNTRY_EN_NAME: "VIET NAM",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "FB7269961C92407B9932A6731047C837",
          COUNTRY_CN_NAME: "贝宁",
          COUNTRY_EN_NAME: "BENIN",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "D90A752B8BA04765B556696B92119687",
          COUNTRY_CN_NAME: "阿曼",
          COUNTRY_EN_NAME: "OMAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "EBF209BD8C0D4212B5D2C0A51F8F5276",
          COUNTRY_CN_NAME: "也门",
          COUNTRY_EN_NAME: "YEMEN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "2B73B93D4BE240D79AD72F3AE4B33724",
          COUNTRY_CN_NAME: "爱尔兰",
          COUNTRY_EN_NAME: "IRELAND",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "23F5A0AA5AA04270826A4CF2E191D58F",
          COUNTRY_CN_NAME: "乌兹别克斯坦",
          COUNTRY_EN_NAME: "UZBEKISTAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "B585704CE5B44FE29F58F1B2D5150F13",
          COUNTRY_CN_NAME: "尼日利亚",
          COUNTRY_EN_NAME: "NIGERIA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "064D469D7CA34893942004558B4B77BB",
          COUNTRY_CN_NAME: "白俄罗斯",
          COUNTRY_EN_NAME: "BYELORUSSIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "E93A5E4B9D3741898108A12DFB1A9E89",
          COUNTRY_CN_NAME: "孟加拉",
          COUNTRY_EN_NAME: "BANGLADESH",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "08BC3E6A97544AEA83D10CAF1902E86D",
          COUNTRY_CN_NAME: "哥斯达黎加",
          COUNTRY_EN_NAME: "COSTA RICA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "DB7178FEF68D4197B2AE6EA539DD51C2",
          COUNTRY_CN_NAME: "比利时",
          COUNTRY_EN_NAME: "BELGIUM",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "57EAF14DE10847CEAF66AD7C4263A714",
          COUNTRY_CN_NAME: "印度尼西亚",
          COUNTRY_EN_NAME: "INDONESIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "C231A60CF5EE4687BF8E724D86863F98",
          COUNTRY_CN_NAME: "尼加拉瓜",
          COUNTRY_EN_NAME: "NICARAGUA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "8F9EAAC655AA481BBFB21F9D6690529F",
          COUNTRY_CN_NAME: "伊朗",
          COUNTRY_EN_NAME: "IRAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "1AC7E0D3C61A4529BBBFF99B40589440",
          COUNTRY_CN_NAME: "委内瑞拉",
          COUNTRY_EN_NAME: "VENEZUELA",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "683CC8CE05674135BEFEA0315F52DA56",
          COUNTRY_CN_NAME: "印度",
          COUNTRY_EN_NAME: "INDIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "282E0055E83A43DBA1E62F4747CA9CF5",
          COUNTRY_CN_NAME: "尼泊尔",
          COUNTRY_EN_NAME: "NEPAL",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "E5B5B0FD36F24F6B9527FA838BF1720E",
          COUNTRY_CN_NAME: "乌克兰",
          COUNTRY_EN_NAME: "UKRAINE",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "39B74F54EBDC436C90CA9120FF282CAC",
          COUNTRY_CN_NAME: "冰岛",
          COUNTRY_EN_NAME: "ICELAND",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6A04D5C225624153A5F8743E87127DAF",
          COUNTRY_CN_NAME: "纳米比亚",
          COUNTRY_EN_NAME: "NAMIBIA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "DB5BF878A2CA4D4F83AB0F2D8B48562E",
          COUNTRY_CN_NAME: "乌拉圭",
          COUNTRY_EN_NAME: "URUGUAY",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "F8F138EB29C74A09AB3038B22320B4AB",
          COUNTRY_CN_NAME: "尼日尔",
          COUNTRY_EN_NAME: "NIGER",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "FD4675360F974647BE3E1D8A06553219",
          COUNTRY_CN_NAME: "巴林",
          COUNTRY_EN_NAME: "BAHREIN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "A72EA3DA57AE43B69EC274C6E54842F0",
          COUNTRY_CN_NAME: "阿塞拜疆",
          COUNTRY_EN_NAME: "AZERBAIJAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "28AC3A1EAFFC44508BDCE47C9C20AC17",
          COUNTRY_CN_NAME: "土耳其",
          COUNTRY_EN_NAME: "TURKEY",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "95EA9657BAB340B48DC4B2BBC82C9624",
          COUNTRY_CN_NAME: "奥地利",
          COUNTRY_EN_NAME: "AUSTRIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "F88D0F80BC584CC3AAAD58CF8B9BA291",
          COUNTRY_CN_NAME: "突尼斯",
          COUNTRY_EN_NAME: "TUNISIA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "55646C38D9354B4287ACB15B50F03110",
          COUNTRY_CN_NAME: "多哥",
          COUNTRY_EN_NAME: "TOGO",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "CF93974467D640B4A8B76950002365A3",
          COUNTRY_CN_NAME: "保加利亚",
          COUNTRY_EN_NAME: "BULGARIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "F40486BE70634019AFD8EB8594F0F91D",
          COUNTRY_CN_NAME: "意大利",
          COUNTRY_EN_NAME: "ITALY",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "FA25AE6C5693447D8E27DEC06894D599",
          COUNTRY_CN_NAME: "沙特阿拉伯",
          COUNTRY_EN_NAME: "SAUDI ARABIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "1BB9739B78B34830B14F61E35D42E923",
          COUNTRY_CN_NAME: "亚美尼亚",
          COUNTRY_EN_NAME: "ARMENIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "D9107761819C49B093F3239BB5F192CF",
          COUNTRY_CN_NAME: "匈牙利",
          COUNTRY_EN_NAME: "HUNGARY",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "60496E7F128F459DB9B7797A275813B9",
          COUNTRY_CN_NAME: "缅甸",
          COUNTRY_EN_NAME: "BURMA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "25DA41161A154BAEAE82A039420345B3",
          COUNTRY_CN_NAME: "阿根廷",
          COUNTRY_EN_NAME: "ARGENTINA",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "88807A5531614B70A6CBC94C8126604F",
          COUNTRY_CN_NAME: "海地",
          COUNTRY_EN_NAME: "HAITI",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "4A40DB25F392452C9907B07356282A23",
          COUNTRY_CN_NAME: "摩洛哥",
          COUNTRY_EN_NAME: "MOROCCO",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "65C21B3F9BB34C848B24A89818141981",
          COUNTRY_CN_NAME: "塔吉克斯坦",
          COUNTRY_EN_NAME: "TAJIKISTAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "7FE5A7B6F3F44BCEBAE6704AA84EAD0B",
          COUNTRY_CN_NAME: "危地马拉",
          COUNTRY_EN_NAME: "GUATEMALA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "F7FBA0B8C73242C498F989D95C6D72F1",
          COUNTRY_CN_NAME: "安哥拉",
          COUNTRY_EN_NAME: "ANGOLA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "D174B60B201C4EF8A5305E70E5CD4699",
          COUNTRY_CN_NAME: "丹麦",
          COUNTRY_EN_NAME: "DENMARK",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "4ECE66FF63FE4A5E8BBA87118C523517",
          COUNTRY_CN_NAME: "黑山",
          COUNTRY_EN_NAME: "MONTENEGRO",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "66FAF9C46E1A462AB79AB60473B9ED55",
          COUNTRY_CN_NAME: "叙利亚",
          COUNTRY_EN_NAME: "SYRIAN ARAB REPUBLIC",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "8AE75FE9DB624ED4B777ED6B86351CB0",
          COUNTRY_CN_NAME: "蒙古",
          COUNTRY_EN_NAME: "MONGOLIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "888A6D8503CB421BB9BE67F7968D4DCC",
          COUNTRY_CN_NAME: "阿尔及利亚",
          COUNTRY_EN_NAME: "ALGERIA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "C07CF7B5A78546BCBAFE6FDEE0FC285A",
          COUNTRY_CN_NAME: "摩尔多瓦",
          COUNTRY_EN_NAME: "MOLDOVA,REPUBLIC OF",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "5C8A46C7AE7A4D66B2C3B5E90FD14B43",
          COUNTRY_CN_NAME: "挪威",
          COUNTRY_EN_NAME: "NORWAY",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6277A53FF128412A98884171E80ECA2E",
          COUNTRY_CN_NAME: "洪都拉斯",
          COUNTRY_EN_NAME: "HONDURAS",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "EF974A499A7746BFBF6C9FA18E854765",
          COUNTRY_CN_NAME: "希腊",
          COUNTRY_EN_NAME: "GREECE",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "D21D6859F1F64CCF9E5422418BA710E8",
          COUNTRY_CN_NAME: "瑞典",
          COUNTRY_EN_NAME: "SWEDEN",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "0FFDD7861F96483E919BA4F8D0042705",
          COUNTRY_CN_NAME: "墨西哥",
          COUNTRY_EN_NAME: "MEXICO",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "FB37D1383ED949EEA1B8C64FB06F14E3",
          COUNTRY_CN_NAME: "菲律宾",
          COUNTRY_EN_NAME: "PHILIPPINES",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "68E102BD0B2F4F98A2E7449925776745",
          COUNTRY_CN_NAME: "直布罗陀",
          COUNTRY_EN_NAME: "GIBRALTAR",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "F57CE016EB194C9C84AC11E79000F1E2",
          COUNTRY_CN_NAME: "中国",
          COUNTRY_EN_NAME: "CHINA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "133A39E02941482184F28E3EB045BCD0",
          COUNTRY_CN_NAME: "莫桑比克",
          COUNTRY_EN_NAME: "MOZAMBIQUE",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "FF9DBF83690A4DA0BAC417288CC09891",
          COUNTRY_CN_NAME: "阿尔巴尼亚",
          COUNTRY_EN_NAME: "ALBANIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "C63837CD0905411EBDBE97904DDE4892",
          COUNTRY_CN_NAME: "加纳",
          COUNTRY_EN_NAME: "GHANA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "75944689DB4A433EB59CBC03E2C1B796",
          COUNTRY_CN_NAME: "加拿大",
          COUNTRY_EN_NAME: "CANADA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "033B4F9368774A31A8FB79BF74EA3ECB",
          COUNTRY_CN_NAME: "德国",
          COUNTRY_EN_NAME: "GERMANY",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "5464E78A9045469C8A2604E557F23D9F",
          COUNTRY_CN_NAME: "中国香港",
          COUNTRY_EN_NAME: "CHINA, HONG KONG SAR",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "4F3BD0B96CE64E9BBC550195A19E4695",
          COUNTRY_CN_NAME: "美国",
          COUNTRY_EN_NAME: "UNITED STATES",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "D41AD0AE0DD4449C8F378396EFAD1AC1",
          COUNTRY_CN_NAME: "斯洛文尼亚",
          COUNTRY_EN_NAME: "SLOVENIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "D2B8A6E8EAAA40EFB69A94FEA48F4E06",
          COUNTRY_CN_NAME: "西班牙",
          COUNTRY_EN_NAME: "SPAIN",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "3CE7ECE54D48486FAE41FBE8F0B88F50",
          COUNTRY_CN_NAME: "格鲁吉亚",
          COUNTRY_EN_NAME: "GEORGIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "B7EF71A5044D41EDB28472446BA0B1FE",
          COUNTRY_CN_NAME: "苏丹",
          COUNTRY_EN_NAME: "SUDAN",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "0106EFEF2B9F43D99853026B78913C7D",
          COUNTRY_CN_NAME: "斯里兰卡",
          COUNTRY_EN_NAME: "SRI LANKA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "4CC58F5C37BB4B6A975CDDAB0732301B",
          COUNTRY_CN_NAME: "马耳他",
          COUNTRY_EN_NAME: "MALTA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "1986F802AA6F4EF4B5C20299200FFBB2",
          COUNTRY_CN_NAME: "毛里求斯",
          COUNTRY_EN_NAME: "MAURITIUS",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "56D1B4B794844D95A25B12AC9B9587EF",
          COUNTRY_CN_NAME: "利比亚",
          COUNTRY_EN_NAME: "LIBYAN",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "1B09858256034996891E261549D6F962",
          COUNTRY_CN_NAME: "立陶宛",
          COUNTRY_EN_NAME: "LITHUANIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6F6E1C215122498F80B6559773D73317",
          COUNTRY_CN_NAME: "英国",
          COUNTRY_EN_NAME: "UNITED KINGDOM",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "A2406263362743D1B93B28A08933CA12",
          COUNTRY_CN_NAME: "新加坡",
          COUNTRY_EN_NAME: "SINGAPORE",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "C6E0BA9A2B5A48EA8EF8F6F76E59ED6F",
          COUNTRY_CN_NAME: "埃塞俄比亚",
          COUNTRY_EN_NAME: "ETHIOPIA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "B548BC0390BF4834B8A306E279433591",
          COUNTRY_CN_NAME: "塞尔维亚",
          COUNTRY_EN_NAME: "SERBIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "6D8790D8BB0641E1B927409C8E7BC8D9",
          COUNTRY_CN_NAME: "芬兰",
          COUNTRY_EN_NAME: "FINLAND",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "437D0BD487124B43831D7D279C51C824",
          COUNTRY_CN_NAME: "荷兰",
          COUNTRY_EN_NAME: "NETHERLANDS",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "C9C3C67866AE4028B89A2B27F07A94F8",
          COUNTRY_CN_NAME: "土库曼",
          COUNTRY_EN_NAME: "TURKMENISTAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "305A245F80B540C7B48D4C2AC09E5675",
          COUNTRY_CN_NAME: "拉脱维亚",
          COUNTRY_EN_NAME: "LATVIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "0F134F079E98443E9DA6E842D64853AD",
          COUNTRY_CN_NAME: "法国",
          COUNTRY_EN_NAME: "FRANCE",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "74ADC96987484DAAAB8BF864FECF88DA",
          COUNTRY_CN_NAME: "吉尔吉斯斯坦",
          COUNTRY_EN_NAME: "KYRGYZSTAN",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "6CB68429BC814594BFAAADE429F732E2",
          COUNTRY_CN_NAME: "爱沙尼亚",
          COUNTRY_EN_NAME: "ESTONIA",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "996BA12B087540EAB395DFFD7CD698F6",
          COUNTRY_CN_NAME: "南苏丹",
          COUNTRY_EN_NAME: "SOUTH SUDAN",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "56F4F085B95447EB92605188EB2AF409",
          COUNTRY_CN_NAME: "南非",
          COUNTRY_EN_NAME: "SOUTH AFRICA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "C4775AC98D094DE5A79C5181BA695861",
          COUNTRY_CN_NAME: "萨尔瓦多",
          COUNTRY_EN_NAME: "EL SALVADOR",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "84E1EF5BDDA54EED8E923B1044A19B5E",
          COUNTRY_CN_NAME: "厄立特里亚",
          COUNTRY_EN_NAME: "ERITREA",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "DF5D5A979CE041178C5392451CA06EF2",
          COUNTRY_CN_NAME: "厄瓜多尔",
          COUNTRY_EN_NAME: "ECUADOR",
          CONTINENT_NAME: "南美洲",
          CONTINENT_EN_NAME: "SORTH AMERICA",
        },
        {
          COUNTRY_ID: "7DCDEEF1D9BA44F3B38958BC5AC53B3A",
          COUNTRY_CN_NAME: "马来西亚",
          COUNTRY_EN_NAME: "MALAYSIA",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "D8A5935CA71F406EA68F0C447AE74736",
          COUNTRY_CN_NAME: "阿拉伯国家联盟",
          COUNTRY_EN_NAME: "UNITED ARAB REPUBLIC",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "040291C6F4A74740942E4D3CA92DD9F7",
          COUNTRY_CN_NAME: "塞浦路斯",
          COUNTRY_EN_NAME: "CYPRUS",
          CONTINENT_NAME: "亚洲",
          CONTINENT_EN_NAME: "ASIA",
        },
        {
          COUNTRY_ID: "7937BBCADC0C4298AC661BED1F453FDB",
          COUNTRY_CN_NAME: "埃及",
          COUNTRY_EN_NAME: "EGYPT",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "0B42850460F64B50BED332C5B78B817F",
          COUNTRY_CN_NAME: "库拉索岛",
          COUNTRY_EN_NAME: "CURA?AO",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "0AF5D192B4994F808F6D44971565A443",
          COUNTRY_CN_NAME: "古巴",
          COUNTRY_EN_NAME: "CUBA",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "6F5627761D924143BD176F52B18C9489",
          COUNTRY_CN_NAME: "新西兰",
          COUNTRY_EN_NAME: "NEW ZEALAND",
          CONTINENT_NAME: "大洋洲",
          CONTINENT_EN_NAME: "OCEANIA",
        },
        {
          COUNTRY_ID: "0D0E50EFC34F47D584B1E46E2D82A0ED",
          COUNTRY_CN_NAME: "卢森堡",
          COUNTRY_EN_NAME: "LUXEMBOURG",
          CONTINENT_NAME: "欧洲",
          CONTINENT_EN_NAME: "EUROPE",
        },
        {
          COUNTRY_ID: "654D1C80ACDB43A48597EF4182356DEE",
          COUNTRY_CN_NAME: "刚果（布）",
          COUNTRY_EN_NAME: "CONGO (REP. OF)",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
        {
          COUNTRY_ID: "E45AA5CCD966471F8EB34198C6148EFB",
          COUNTRY_CN_NAME: "多米尼加共和国",
          COUNTRY_EN_NAME: "DOMINICAN REPUBLIC",
          CONTINENT_NAME: "北美洲",
          CONTINENT_EN_NAME: "NORTH AMERICA",
        },
        {
          COUNTRY_ID: "A73835319E7A48699FEF95BC1059CE18",
          COUNTRY_CN_NAME: "刚果（金）",
          COUNTRY_EN_NAME: "CONGO (DEM. REP. OF)",
          CONTINENT_NAME: "非洲",
          CONTINENT_EN_NAME: "AFRICA",
        },
      ],
      index_input_state: "",
      relatedList: [],
      area: [["93BC2730ED0A402186F596F6A01C007E"]],
      countryData: [],
      unitY: "",
      unitX: "",
      startTime: "2010",
      endTime: "2019",
      submitData: {},
      submitSource: "IEA",
      originalChartData: [],
      loding: false,
      breadDate: [],
      relatedList: [],
      menuData: [],
      defaultProps: {
        children: "child",
        label: "indexName",
        disabled: "disabled",
      },
      defaultCheckedKeys: [], //树状控件默认选项
      formInline: {
        user: "",
        region: "",
      },
      taberPhone: [
        {
          label: "common.infoDataInformation",
          value: "1",
        },
        {
          label: "common.periodicalInformation",
          value: "6",
        },
        // {
        //   label: "common.dataInformation",
        //   value: '5'
        // }
      ],
      taberIndex: "",
      baseMemberApplies: [],
      coopCustomServices: [],
      resourceApplications: [],
      memberApplyStatus: [],
      serviceTypeDicts: [],
      childTypeDicts: [],
      supportWayDicts: [],
      phaseDicts: [],
      phaseDictsEnMap: {
        1: "Fill in the information",
        2: "Preliminary review",
        3: "Approval by the Chairman Office Meeting",
        4: "Qualification",
        5: "Membership confirmation",
        6: "Issue the certificate",
        7: "Complete",
      },
      memberApplyStatusEnMap: {
        1: "Not audit",
        2: "To audit",
        3: "Approved",
        4: "Rejected",
      },
      customServiceMap: {
        0: "Draft",
        1: "To audit",
        2: "Rejected",
        3: "Approved",
      },
      auditStatusDicts: [],
      auditStatusDictsENMap: {
        1: "Have not been submitted",
        2: "To audit",
        3: "First approval rejected",
        4: "First approval agreed",
        5: "Second approval is rejected",
        6: "Second approval is agreed",
      },
      baseLeagueApplies: [],
      releaseStatus: [],
      thinkTankConsultations: [],
      thinkTankTypeDicts: [],
      tableData: [],
      periodicalInformation: [],
      dialogVisible: false,
      dialogVisible1: false,
      projectName: "",
      totalCount: 0,
      totalCount1: 0,
      informationTotalCount: 0,
      row: {},
      rowConsultations: {},
      param: {
        pageNo: 0,
        pageSize: 10,
        language: "",
      },
      informationparam: {
        pageNo: 0,
        pageSize: 10,
        language: "",
        indexCnName: "",
        indexEnName: "",
        sourceName: "",
      },

      items: {
        pageNo: 0,
        pageSize: 10,
        languageDict: "",
      },
      //我的资讯
      typeDicts: [],
      editStatusDict: [],
      informationDicts: [],
      // informationDict:[],
      informationTableData: [],
      unitCnName: "",
      unitEnName: "",
      indexName: "",
      treeNodeData: [],
      //我的期刊
      statusDicts: [],
      periodicaltypeDicts: [],
      approveStatusEn: [
        {
          label: "UnAprrove",
          value: "1",
        },
        {
          label: "ToAprrove",
          value: "2",
        },
        {
          label: "Approved",
          value: "3",
        },
        {
          label: "Reject",
          value: "4",
        },
      ],
      allJournalClassification: [],
      currentPage: 1,
      currentPage1: 1,
    };
  },
  watch: {
    area(newValue) {
      let l = newValue.length;
      if (l > 5) {
        alert("最多选择5个地区");
        return;
      }
      let countryIds = [];
      newValue.forEach((item) => {
        if (item.length > 1) {
          countryIds.push(item[1]);
        } else {
          countryIds.push(item[0]);
        }
      });
      this.submitData["country"] = countryIds;
      // console.log(this.submitData,'watch对象area')
    },
    "$i18n.locale"() {
      // this.getDicts()
      this.getinitData(this.taberIndex);
    },
    taberIndex() {
      this.getinitData(this.taberIndex);
    },
  },
  mounted() {
    this.taberIndex = this.$route.params.index ? this.$route.params.index : "1";
    this.getDicts();
  },
  computed: {
    periodicaltypeDictMap: function () {
      return this.periodicaltypeDicts.array2Obj("value", "label");
    },
    statusDictMap: function () {
      return this.statusDicts.array2Obj("value", "label");
    },
    typeDictMap: function () {
      return this.typeDicts.array2Obj("value", "label");
    },
    releaseStatusMap: function () {
      return this.releaseStatus.array2Obj("value", "label");
    },
    memberApplyStatusMap: function () {
      return this.memberApplyStatus.array2Obj("value", "label");
    },
    phaseDictsMap: function () {
      return this.phaseDicts.array2Obj("value", "label");
    },
    serviceTypeDictsMap: function () {
      return this.serviceTypeDicts.array2Obj("value", "label");
    },
    childTypeDictsMap: function () {
      return this.childTypeDicts.array2Obj("value", "label");
    },
    supportWayDictsMap: function () {
      return this.supportWayDicts.array2Obj("value", "label");
    },
    auditStatusDictsMap: function () {
      return this.auditStatusDicts.array2Obj("value", "label");
    },
    thinkTankTypeDictsMap: function () {
      return this.thinkTankTypeDicts.array2Obj("value", "label");
    },
    informationDictsMap: function () {
      return this.informationDicts.array2Obj("value", "label");
    },
  },
  methods: {
    hotSearch1() {
      this.$i18n.locale == "zh"
        ? (this.chartTitle = "发电总量")
        : (this.chartTitle = "Total power generation");
      let params = {
        Source: { IEA: { index: { 发电总量: "132" } } },
        country: ["93BC2730ED0A402186F596F6A01C007E"],
        time: [
          "2010",
          "2011",
          "2012",
          "2013",
          "2014",
          "2015",
          "2016",
          "2017",
          "2018",
          "2019",
        ],
        language: this.$i18n.locale,
      };
      getChartData(params).then((res) => {
        if (res.data) {
          this.originalChartData = res.data;
          this.unitY = this.originalChartData[0].unitY;
          this.unitX = this.originalChartData[0].unitX;
          this.$nextTick(() => {
            this.drawChart();
          });
        } else {
          this.originalChartData = [];
        }
      });
    },
    hotSearch2() {
      this.$i18n.locale == "zh"
        ? (this.chartTitle = "人均GDP")
        : (this.chartTitle = "GDP per capita");
      let params = {
        Source: { 世界银行: { index: { 人均GDP: "26" } } },
        country: ["93BC2730ED0A402186F596F6A01C007E"],
        time: [
          "2010",
          "2011",
          "2012",
          "2013",
          "2014",
          "2015",
          "2016",
          "2017",
          "2018",
          "2019",
        ],
        language: this.$i18n.locale,
      };
      getChartData(params).then((res) => {
        if (res.data) {
          this.originalChartData = res.data;
          // this.chartTitle = this.originalChartData[0].title;
          this.unitY = this.originalChartData[0].unitY;
          this.unitX = this.originalChartData[0].unitX;
          this.$nextTick(() => {
            this.drawChart();
          });
        } else {
          this.originalChartData = [];
        }
      });
    },
    getEndTime(t) {
      this.endTime = t;
    },
    getStartTime(t) {
      this.startTime = t;
    },
    handleSelect(item) {
      // console.log(item,"查看一下handleSelect的item");
      let data = {};
      if (this.$i18n.locale == "zh") {
        data.indexEnName = item.address;
        data.indexName = item.value;
      } else {
        data.indexEnName = item.value;
        data.indexName = item.address;
      }
      data.source = item.source;
      data.id = item.id;
      // 更改提交的
      this.getSubmitSource(data);
      // 与左侧导航联动
      this.$refs.tree.setCheckedKeys([data.id], true);
      // 与面包屑联动
      let node = this.$refs.tree.getNode(data.id);
      this.breadDate = [];
      this.getBreadData(node);
    },
    querySearchAsync(queryString, cb) {
      // ↓↓↓↓↓↓↓↓指标搜索框联想词国际化↓↓↓↓↓↓↓
      let relatedList = [];
      let relatedListZh = this.relatedList;
      let relatedListEn = [];
      let results = [];
      for (let i = 0; i < relatedListZh.length; i++) {
        let enobj = {};
        enobj.value = relatedListZh[i].address;
        enobj.address = relatedListZh[i].value;
        enobj.source = relatedListZh[i].source;
        enobj.id = relatedListZh[i].id;
        relatedListEn.push(enobj);
      }
      this.$i18n.locale == "zh"
        ? (relatedList = relatedListZh)
        : (relatedList = relatedListEn);
      // ↓↓↓↓↓↓↓↓搜索框输入的内容的校验↓↓↓↓↓↓↓↓↓
      if (queryString) {
        for (let i = 0; i < relatedList.length; i++) {
          if (relatedList[i].value.indexOf(queryString) != -1) {
            results.push(relatedList[i]);
          }
        }
      } else {
        results = relatedList;
      }
      cb(results);
    },
    drawChart() {
      let that = this;
      let chart = this.$echarts.init(document.getElementById("echart"));
      let option = {
        legend: {
          right: 44,
          top: 58,
          itemGap: 28,
          itemWidth: 8,
          itemHeight: 8,
          textStyle: {
            color: "rgba(0, 0, 0, 0.45)",
          },
        },
        tooltip: {},
        toolbox: {
          show: true,
          feature: {
            dataView: {
              show: true,
              readOnly: true,
              lang: ["", this.$i18n.locale == "zh" ? "关闭" : "Back"],
            },
            magicType: { show: true, type: ["line", "bar", "tiled"] },
            restore: { show: true },
            saveAsImage: { show: true },
          },
        },
        grid: {
          top: 90,
          right: 80,
          bottom: 52,
          left: 130, //如果y轴数字显示不全，将这个数字改的更大些
          // x: 200, //默认是80px
          // y: 60, //默认是60px
          // x2: 40, //默认80px
          // y2: 45 //默认60px
        },
        title: {
          text: that.chartTitle,
          textStyle: {
            color: "#0E1731",
            fontSize: 16,
          },
          left: "center",
          top: 18,
        },
        dataset: {
          source: that.getSourceData(),
        },
        xAxis: {
          name: that.unitX,
          type: "category",
          axisTick: {
            show: true,
            interval: 0,
          },
          axisLine: {
            lineStyle: {
              color: "rgba(0, 0, 0, 0.45)",
            },
          },
        },
        yAxis: {
          name: that.unitY,
          axisLabel: {
            color: "rgba(0, 0, 0, 0.45)",
          },
        },
        series: that.getSeriesData(),
      };
      chart.setOption(option, true);
    },
    getSeriesData() {
      let series = [];
      let barItem = {
        type: "bar",
        barWidth: 14,
        barGap: "15%",
      };
      this.originalChartData.forEach((item) => {
        series.push(barItem);
      });
      return series;
    },
    getSourceData() {
      let sourse = [];
      let length = this.originalChartData[0].x.length;
      for (let i = 0; i < length; i++) {
        let u = [];
        u.push(this.originalChartData[0].x[i]);
        sourse.push(u);
      }
      let axis = [""];
      // console.log(this.originalChartData,'getSourceData事件中的this.originalChartData');
      this.originalChartData.forEach((item) => {
        axis.push(item.countryName);
        for (let i = 0; i < length; i++) {
          sourse[i].push(item.y[i]);
        }
      });
      sourse.unshift(axis);
      // 这里的sourse[0][0]里除了sourse[0][0]都是legend的值,截图见桌面
      // 这里的legend值是从返回值里取到的
      // console.log(sourse,'soursesoursesoursesoursesoursesourse');
      return sourse;
    },
    zhToen(str) {
      switch (str) {
        case "世界银行":
          return "World Bank";
          break;
        case "英国石油公司(BP)":
          return "British Petroleum";
          break;
        case "EIA":
          return "Energy Information Administration";
          break;
      }
    },
    enTozh(str) {
      switch (str) {
        case "IEA":
          return "国际能源署";
          break;
        case "EIA":
          return "美国能源信息署";
          break;
        case "世界银行":
          return "世界银行";
          break;
        case "英国石油公司(BP)":
          return "英国石油公司";
          break;
      }
    },
    submit() {
      if (
        !this.startTime ||
        !this.endTime ||
        Number(this.endTime) - Number(this.startTime) < 0
      ) {
        this.$message({
          message: "请输入正确的时间段",
          type: "warning",
        });
        return;
      }
      let timeArr = [];
      for (let i = 0; i <= Number(this.endTime) - Number(this.startTime); i++) {
        timeArr.push(String(Number(this.startTime) + i));
      }
      this.submitData["time"] = timeArr;

      // if(!this.submitData['country'] || !this.submitData['country'].length){
      //     this.$message({
      //         message: '请选择至少一个国家/地区',
      //         type: 'warning'
      //     });
      //     return;
      // }

      if (!this.submitData["Source"] || this.submitData["Source"] == {}) {
        this.$message({
          message: "请选择指标",
          type: "warning",
        });
        return;
      }
      // console.log(this.submitData,'搜索按钮提交事件')
      this.getChartData();
    },
    getCountryData(lang) {
      let area = [];
      if (this.$i18n.locale == "zh") {
        area = ["世界", "欧洲", "亚洲", "非洲", "南美洲", "北美洲", "大洋洲"];
      } else {
        area = [
          "WORLD",
          "EUROPE",
          "ASIA",
          "AFRICA",
          "SORTH AMERICA",
          "NORTH AMERICA",
          "OCEANIA",
        ];
      }
      area.forEach((item, i) => {
        let unit = {};
        unit.label = item;
        unit.value = i;
        unit.children = [];
        this.countryData.push(unit);
      });
      if (this.$i18n.locale == "zh") {
        this.countryData.forEach((item) => {
          this.originalCountryData.forEach((_item) => {
            if (_item.COUNTRY_CN_NAME == item.label) {
              item.value = _item.COUNTRY_ID;
              item.disabled = false;
            }
            if (_item.CONTINENT_NAME == item.label) {
              _item.label = _item.COUNTRY_CN_NAME;
              _item.value = _item.COUNTRY_ID;
              _item.disabled = false;
              item.children.push(_item);
            }
          });
        });
        // console.log('使用中文');
      } else {
        this.countryData.forEach((item) => {
          this.originalCountryData.forEach((_item) => {
            if (_item.COUNTRY_EN_NAME == item.label) {
              item.value = _item.COUNTRY_ID;
              item.disabled = false;
            }
            if (_item.CONTINENT_EN_NAME == item.label) {
              _item.label = _item.COUNTRY_EN_NAME;
              _item.value = _item.COUNTRY_ID;
              _item.disabled = false;
              item.children.push(_item);
            }
          });
        });
        // console.log('使用英文');
      }
      this.countryData[0].children = undefined;
      let op = this.countryData;
      // console.log(op,'已分组的144个国家和地区')
    },
    getBreadData(n) {
      if (n.parent) {
        let la = "";
        if (this.$i18n.locale == "en" && n.data.indexEnName !== undefined) {
          la = n.data.indexEnName;
        } else {
          la = n.data.indexName;
        }
        this.breadDate.unshift(la);
        this.getBreadData(n.parent);
      } else {
        return;
      }
    },
    getSubmitSource(data) {
      // console.log(data,'getSubmitSource的参数data');
      this.dataSources = [];
      let sources = JSON.parse(data.source);
      let sourceKeys = Object.keys(sources);
      console.log(sourceKeys, "sourceKeys");
      sourceKeys.forEach((item) => {
        this.dataSources.push({
          label: item,
          value: JSON.stringify({
            [item]: sources[item],
          }),
        });
      });
      this.informationparam.sourceName = "";
      if (this.dataSources.length != 1) {
        this.informationparam.sourceName = "";
      } else {
        this.informationparam.sourceName = this.dataSources[0].label;
      }

      console.log(this.dataSources, "处理后的this.dataSources");
      let buer = sourceKeys.indexOf("IEA") > -1 ? true : false;
      this.submitSource = "";
      if (buer == true) {
        let i = sourceKeys.indexOf("IEA");
        this.submitSource = "International Energy Agency";
        // 如果本条数据的dataSources里有IEA就使用IEA作为查询时使用的数据源
        this.submitData["Source"] = JSON.parse(this.dataSources[i].value);
        console.log(this.submitData["Source"], '   this.submitData["Source"]');
        if (this.$i18n.locale == "zh") {
          this.submitSource = "国际能源署";
        }
      } else {
        // 如果本条数据的dataSources里没有IEA就使用本条数据的首个数据源作为查询时使用的数据源
        // 添加个判断:
        // if(sourceKeys[0]=='英国石油公司(BP)') {
        //   this.submitSource = sourceKeys[1]
        // }
        // 由于客户没有英国石油公司的数据使用权限,所以不能用英国石油公司的数据源查询
        this.submitSource = sourceKeys[0];
        this.submitData["Source"] = JSON.parse(this.dataSources[0].value);
        if (this.$i18n.locale == "en") {
          this.submitSource = this.zhToen(this.submitSource);
        } else {
          this.submitSource = this.enTozh(this.submitSource);
        }
      }
      // 设置柱状图标题
      if (this.$i18n.locale == "en" && data.indexEnName !== undefined) {
        this.chartTitle = data.indexEnName;
      } else {
        this.chartTitle = data.indexName;
      }
    },
    //我的数据，初始化方法
    getDataMain() {
      this.setTree();
      this.getCountryData();
      this.getMyDataInformation();
    },
    //树形图文字选择事件
    handleNodeClick(data, b, c) {
      console.log(data, "树的子叶data");
      this.treeNodeData = data;
      if (!data.child.length) {
        this.defaultCheckedKeys = [];
        this.$refs.tree.setCheckedKeys([data.id], true);
        let node = this.$refs.tree.getNode(data.id);
        this.breadDate = [];
        this.getBreadData(node);
        this.getSubmitSource(data);
        this.submit();
        this.getMyDataInformation(data);
      }
    },
    setIcon(arr) {
      arr.forEach((item) => {
        let iconName = "";
        if (item.child && item.child.length > 0) {
          item.iconName = "filesicon";
          this.setIcon(item.child);
        } else {
          item.iconName = "fileicon";
          let address = item.indexEnName,
            value = item.indexName,
            source = item.source,
            id = item.id;
          this.relatedList.push({
            value: value,
            address: address,
            source: source,
            id: id,
          });
        }
        return arr;
      });
      this.relatedList = JSON.parse(JSON.stringify(this.relatedList));
      // console.log(JSON.parse(JSON.stringify(this.relatedList)),'获取到了所有指标名');
    },
    setTreeIndexName(arr) {
      arr.forEach((item) => {
        let la = "";
        if (this.$i18n.locale == "en" && item.indexEnName !== undefined) {
          la = item.indexEnName;
        } else {
          la = item.indexName;
        }
        item.la = la;
        if (item.child && item.child.length > 0) {
          this.setTreeIndexName(item.child);
        }
        return arr;
      });
    },
    setTree() {
      getMeneData().then((res) => {
        // console.log(res.data,'树结构没有加图标时的值');
        res.data.map((item) => {
          item.disabled = false;
        });
        this.menuData = res.data;
        console.log(this.menuData, "this.menuData左侧tree结构的数据");
        this.setIcon(this.menuData);
        this.setTreeIndexName(this.menuData);
        this.$nextTick(() => {
          this.defaultCheckedKeys = [36];
          setTimeout(() => {
            let currentSource = this.$refs.tree.getCheckedNodes()[0];
            this.getSubmitSource(currentSource);
          }, 100);
        });
      });
    },
    getChartData() {
      let _this = this;
      let begin = new Date().getTime();
      this.submitData["language"] = this.$i18n.locale;
      getChartData(this.submitData)
        .then((res) => {
          if (res.data) {
            this.originalChartData = res.data;
            if (this.originalChartData.length > 1) {
              if (
                this.originalChartData[0].unitY == undefined ||
                this.originalChartData[0].unitX == undefined
              ) {
                this.unitY = this.originalChartData[1].unitY;
                this.unitX = this.originalChartData[1].unitX;
              } else {
                this.unitY = this.originalChartData[0].unitY;
                this.unitX = this.originalChartData[0].unitX;
              }
            } else {
              this.unitY = this.originalChartData[0].unitY;
              this.unitX = this.originalChartData[0].unitX;
            }
            begin += 1010;
            this.$nextTick(() => {
              _this.loding = false;
              this.drawChart();
            });
          } else {
            this.originalChartData = [];
          }
        })
        .catch((error) => {
          _this.loding = false;
          console.log("请求超时");
          alert("请求超时,请重新查询!");
        });
      setTimeout(() => {
        let end = new Date().getTime();
        end > begin ? (_this.loding = true) : (_this.loding = false);
      }, 1000);
    },
    getDicts() {
      var parms = {
        languageDict: "",
      };
      parms.languageDict = this.$i18n.locale.toUpperCase();
      getAllJournalClassificationByUserCenter(parms).then((result) => {
        this.allJournalClassification = result.data.allJournalClassification;
      });
      if (this.$i18n.locale === "zh") {
        getDicts(
          "APPROVE_STATUS_DICT,CMS_INFORMATION_TYPE_DICT,EDIT_STATUS_DICT,BUSINESS_APPROVAL_STATUS,JOURNAL_DICT,INFORMATION_DICT"
        ).then((result) => {
          if (result.data) {
            this.memberApplyStatus = result.data[0];
            this.typeDicts = result.data[1] || [];
            this.editStatusDicts = result.data[2] || [];
            this.statusDicts = result.data[3] || [];
            this.periodicaltypeDicts = result.data[4] || [];
            this.informationDicts = result.data[5] || [];
            //资讯
            this.tableData.forEach((i) => {
              this.typeDicts.forEach((v) => {
                if (i.typeDict == v.value) {
                  i.typeDict = v.label;
                }
              });
              this.memberApplyStatus.forEach((v) => {
                if (i.approveStatusDict == v.value) {
                  i.approveStatusDict = v.label;
                }
              });

              this.editStatusDicts.forEach((v) => {
                if (i.editStatusDict == v.value) {
                  i.editStatusDict = v.label;
                }
              });
            });
            this.informationTableData.forEach((i) => {
              this.informationDicts.forEach((v) => {
                if (i.isDelete == v.value) {
                  i.isDelete = v.label;
                }
              });
            });
            //刊期
            this.periodicalInformation.forEach((i) => {
              this.statusDicts.forEach((v) => {
                if (i.statusDict == v.value) {
                  i.statusDict = v.label;
                }
              });
              this.allJournalClassification.forEach((v) => {
                if (i.typeDict == v.value) {
                  i.typeDict = v.label;
                }
              });
            });
          }
        });
      } else {
        getDicts(
          "CMS_INFORMATION_TYPE_DICT_EN,EDIT_STATUS_DICT_EN,BUSINESS_APPROVAL_STATUS_EN,JOURNAL_DICT_EN,INFORMATION_DICT_EN"
        ).then((result) => {
          var statusDictsEn = [
            {
              label: "UnAprrove",
              value: "01",
            },
            {
              label: "ToAprrove",
              value: "02",
            },
            {
              label: "Reject",
              value: "03",
            },
            {
              label: "Approved",
              value: "04",
            },
          ];
          this.statusDicts = statusDictsEn;
          if (result.data) {
            this.memberApplyStatus = this.approveStatusEn;
            this.typeDicts = result.data[0] || [];
            this.editStatusDicts = result.data[1] || [];
            // this.statusDicts = statusDictsEn
            this.periodicaltypeDicts = result.data[3] || [];
            this.informationDicts = result.data[4] || [];
            //资讯
            this.tableData.forEach((i) => {
              this.typeDicts.forEach((v) => {
                if (i.typeDict == v.value) {
                  i.typeDict = v.label;
                }
              });
              this.memberApplyStatus.forEach((v) => {
                if (i.approveStatusDict == v.value) {
                  i.approveStatusDict = v.label;
                }
              });
              this.editStatusDicts.forEach((v) => {
                if (i.editStatusDict == v.value) {
                  i.editStatusDict = v.label;
                }
              });
            });
            this.informationTableData.forEach((i) => {
              this.informationDicts.forEach((v) => {
                if (i.isDelete == v.value) {
                  i.isDelete = v.label;
                }
              });
            });
            //刊期
            this.periodicalInformation.forEach((i) => {
              this.statusDicts.forEach((v) => {
                if (i.statusDict == v.value) {
                  i.statusDict = v.label;
                }
              });
              this.allJournalClassification.forEach((v) => {
                if (i.typeDict == v.value) {
                  i.typeDict = v.label;
                }
              });
            });
          }
        });
      }
    },
    //获取我的数据列表
    getMyInformation() {
      this.informationTableData = [];
      let token = getToken();
      getGeiAppDataWbTempByUserCenter(this.informationparam, token).then(
        (res) => {
          if (res.data.geiAppDataWbTemp) {
            this.informationTableData = res.data.geiAppDataWbTemp;
            this.resetToken();
            this.getDicts();
          }
          if (res.data.page) {
            this.informationTotalCount = 1;
            this.informationTotalCount = res.data.page.totalCount - 0;
          } else {
            this.informationTotalCount = 0;
          }
        }
      );
    },
    //数据重置
    reView() {
      this.informationTableData = [];
      let token = getToken();
      getGeiAppDataWbTempByUserCenter(this.param, token).then((res) => {
        if (res.data.geiAppDataWbTemp) {
          this.informationTableData = res.data.geiAppDataWbTemp;
          this.resetToken();
          this.getDicts();
        }
        if (res.data.page) {
          this.informationTotalCount = 1;
          this.informationTotalCount = res.data.page.totalCount - 0;
        } else {
          this.informationTotalCount = 0;
        }
      });
    },

    getMyDataInformation(indexName) {
      this.informationTableData = [];
      let token = getToken();
      var jsonstr = "";
      this.informationparam.language = this.$i18n.locale.toUpperCase();
      if (indexName) {
        // name= this.dataSources[0].label
        jsonstr = JSON.parse(this.dataSources[0].value);
        let aa;

        function tra(el) {
          Object.keys(el).forEach((Key) => {
            if (el[Key] instanceof Object) {
              tra(el[Key]);
            } else {
              aa = Key;
            }
          });
        }

        tra(jsonstr);
        this.informationparam.indexCnName = aa;
      }

      getGeiAppDataWbTempByUserCenter(this.informationparam, token).then(
        (res) => {
          if (res.data.geiAppDataWbTemp) {
            this.informationTableData = res.data.geiAppDataWbTemp;
            this.resetToken();
            this.getDicts();
          }
          if (res.data.page) {
            this.informationTotalCount = 1;
            this.informationTotalCount = res.data.page.totalCount - 0;
          } else {
            this.informationTotalCount = 0;
          }
        }
      );
      // console.log(indexName,"indexname")
      if (indexName != "" && indexName != null && indexName != undefined) {
        getPersonalInformation(this.informationparam, token).then((res) => {
          if (res.data.geiAppDataWb) {
            this.unitCnName = res.data.geiAppDataWb.unitCnName;
            this.unitEnName = res.data.geiAppDataWb.unitEnName;
          }
        });
      }
    },
    //重置资讯查询参数
    resetParam() {
      this.currentPage = 1;
      this.param = {
        pageNo: 0,
        pageSize: 10,
        language: "",
      };
    },
    //重置资讯列表查询
    resetInfoData() {
      this.resetParam();
      this.getMyInfoData();
    },
    //获取我的资讯列表
    getMyInfoData() {
      this.tableData = [];
      let token = getToken();
      this.param.language = this.$i18n.locale.toUpperCase();
      getMyInfoDataByUserCenter(this.param, token).then((res) => {
        if (res.data.cmsInformationViews) {
          this.tableData = res.data.cmsInformationViews;
          this.tableData.forEach((i) => {
            i.publishDate = i.publishDate
              ? formatDate(i.publishDate, "YYYY-MM-DD")
              : "";
          });
          this.totalCount = res.data.page.totalCount - 0;
          this.resetToken();
          this.getDicts();
        } else {
          this.getDicts();
          this.currentPage = 1;
          this.totalCount = 0;
        }
      });
    },
    //重置刊期查询参数
    resetItems() {
      this.currentPage1 = 1;
      this.items = {
        pageNo: 0,
        pageSize: 10,
        languageDict: "",
      };
    },
    //重置我的刊期列表查询
    resetPeriodical() {
      this.resetItems();
      this.getPeriodicalInformationByUserCenter();
    },
    //获取我的期刊列表
    getPeriodicalInformationByUserCenter() {
      this.periodicalInformation = [];
      let token = getToken();
      this.items.languageDict = this.$i18n.locale.toUpperCase();
      getPeriodicalInformationByUserCenter(this.items, token).then((res) => {
        console.log(res, "resresresres");
        if (res.data.infoJournalViews) {
          this.periodicalInformation = res.data.infoJournalViews;
          this.periodicalInformation.forEach((i) => {
            if (this.$i18n.locale === "zh") {
              if (i.languageDict == "ZH") {
                i.languageDict = "中文";
              }
              if (i.languageDict == "EN") {
                i.languageDict = "英文";
              }
            }
            if (this.$i18n.locale === "en") {
              if (i.languageDict == "ZH") {
                i.languageDict = "Chinese";
              }
              if (i.languageDict == "EN") {
                i.languageDict = "English";
              }
            }

            // this.statusDicts.forEach((v) => {
            //   if (i.statusDict == v.value) {
            //     i.statusDict = v.label;
            //   }
            // })
            // this.allJournalClassification.forEach((v) => {
            //   if (i.typeDict == v.value) {
            //     i.typeDict = v.label;
            //   }
            // })
          });
          this.totalCount1 = res.data.page.totalCount - 0;
          this.resetToken();
          this.getDicts();
        } else {
          this.getDicts();
          this.currentPage1 = 1;
          this.totalCount1 = 0;
        }
      });
    },
    dateFormat(row) {
      return moment(row.publishDate).format("YYYY-MM-DD");
    },
    getinitData(index) {
      if (index == "1") {
        this.getMyInfoData();
      }
      if (index == "5") {
        this.getDataMain();
      }

      if (index == "6") {
        this.getPeriodicalInformationByUserCenter();
      }
    },
    // 发布
    release(index, rows) {
      console.log(index, rows);
    },
    // 编辑
    change(row) {
      this.row = row;
      this.dialogVisible = true;
      var language = this.$i18n.locale.toUpperCase();
      getBaseProjectInfoName(language, row.columnCode).then((res) => {
        this.projectName = res.data.baseProjectInfoName;
      });
    },
    // 删除
    deleteRow(index, rows) {
      this.$confirm(
        this.$i18n.locale === "zh"
          ? "确定删除？"
          : "Are you sure you want to delete?",
        this.$t("common.Tips"),
        {
          confirmButtonText: this.$t("common.OK"),
          cancelButtonText: this.$t("common.cancel"),
          type: "warning",
        }
      )
        .then(() => {
          gateDelConsultMessageInfo(rows[index].id)
            .then((res) => {
              this.$message({
                message:
                  this.$i18n.locale === "zh"
                    ? "删除成功!"
                    : "Successfully deleted",
                type: "success",
              });
              this.getReply();
            })
            .catch((error) => {
              this.$message.error(res.msg);
            });
        })
        .catch(() => {
          this.$message({
            type: "info",
            message: this.$t("common.Cancelled"),
          });
        });
    },
    changeToAlliance(index, rows) {
      this.$router.push("userCentermyConcernsProgressCheckAlliance", rows);
    },
    handleCurrentChange(val) {
      this.currentPage = val;
      this.param.pageNo = val;
      this.getMyInfoData();
    },
    getTaberPhone(item, index) {
      this.taberIndex = item.value;
      console.log(this.taberIndex);
    },
    handleCurrentChange1(val) {
      this.currentPage1 = val;
      this.items.pageNo = val;
      this.getPeriodicalInformationByUserCenter();
    },
    //数据页面分页
    informationHandleCurrentChange(val) {
      this.informationparam.pageNo = val;
      this.getMyDataInformation();
    },
    YymmddFormat(newDate) {
      let Month = newDate.getMonth() + 1;
      Month = Month >= 10 ? Month : "0" + Month;
      let d = newDate.getDate();
      d = d >= 10 ? d : "0" + d;
      return [
        [newDate.getFullYear(), Month, d].join("-"),
        [newDate.getHours(), newDate.getMinutes()].join(":"),
      ].join(" ");
    },
    edit(row) {
      console.log(row);
      this.$router.push({
        name: "IntroductionMemberProfile",
        query: { data: row, key: "custom", index: this.taberIndex },
      });
    },
    //数据信息处理部分
    // viewInformation(router,json){
    //   this.$router.push({name:router,params:{key:json}})
    // },
    informationEdit(row) {
      this.$router.push({
        name: "userCenterGeiWebDataForm",
        query: { key: row.id },
      });
    },
    //资讯信息处理部分
    toEditor(row) {
      this.$router.push({
        name: "addMyInfoData",
        query: { key: row.baseEntityId },
      });
    },

    //资讯详情
    toDetail(row) {
      this.$router.push({
        name: "addMyInfoData",
        query: { key: row.baseEntityId, disableDet: true },
      });
    },

    //刊期详情
    toPeriodicalDetail(row) {
      this.$router.push({
        name: "addMyPeriodical",
        query: { key: row.id, disableDet: true },
      });
    },

    //刊期信息
    toEdit(row) {
      this.$router.push({ name: "addMyPeriodical", query: { key: row.id } });
    },
    toLook(row) {
      // this.toView('projectPresentationDetails',row.columnCode)
    },
    toView(router, json) {
      this.$router.push({ name: router, params: { key: json } });
    },
    toViewQuery(router, json) {
      this.$router.push({ name: router, query: { key: json } });
    },
    commiter(row) {
      var params = {
        id: row.id,
      };
      this.$confirm(
        this.$i18n.locale === "zh"
          ? "确定提交？"
          : "Are you sure you want to commit?",
        this.$t("common.Tips"),
        {
          confirmButtonText: this.$t("common.OK"),
          cancelButtonText: this.$t("common.cancel"),
          type: "warning",
        }
      )
        .then(() => {
          commitJournalByUserCenter(params).then(() => {
            this.$message({
              type: "success",
              message:
                this.$i18n.locale === "zh"
                  ? "提交成功!"
                  : "Commit Successfully",
            });
            this.getPeriodicalInformationByUserCenter();
          });
        })
        .catch(() => {});
    },
    toDeleter(row, index) {
      var params = {
        id: row.id,
      };
      this.$confirm(
        this.$i18n.locale === "zh"
          ? "确定删除？"
          : "Are you sure you want to delete?",
        this.$t("common.Tips"),
        {
          confirmButtonText: this.$t("common.OK"),
          cancelButtonText: this.$t("common.cancel"),
          type: "warning",
        }
      )
        .then(() => {
          deleteJournalByUserCenter(params).then(() => {
            this.$message({
              type: "success",
              message:
                this.$i18n.locale === "zh"
                  ? "删除成功!"
                  : "Successfully deleted",
            });
          });
          this.getPeriodicalInformationByUserCenter();
        })
        .catch(() => {
          this.$message({
            type: "info",
            message: this.$t("common.Cancelled"),
          });
        });
    },
    view(row) {
      this.$router.push({
        name: "IntroductionMemberProfile",
        query: {
          data: row,
          key: "custom",
          disable: true,
          index: this.taberIndex,
        },
      });
    },
    commit(row) {
      var params = {
        id: row.baseEntityId,
      };
      this.$confirm(
        this.$i18n.locale === "zh"
          ? "确定提交？"
          : "Are you sure you want to commit?",
        this.$t("common.Tips"),
        {
          confirmButtonText: this.$t("common.OK"),
          cancelButtonText: this.$t("common.cancel"),
          type: "warning",
        }
      )
        .then(() => {
          commitCmsInformationByUserCenter(params).then(() => {
            this.$message({
              type: "success",
              message:
                this.$i18n.locale === "zh"
                  ? "提交成功!"
                  : "Commit Successfully",
            });
            this.getMyInfoData();
          });
        })
        .catch(() => {});
    },
    toDelete(row) {
      var params = {
        id: row.id,
      };
      this.$confirm(
        this.$i18n.locale === "zh"
          ? "确定删除？"
          : "Are you sure you want to delete?",
        this.$t("common.Tips"),
        {
          confirmButtonText: this.$t("common.OK"),
          cancelButtonText: this.$t("common.cancel"),
          type: "warning",
        }
      )
        .then(() => {
          deleteCmsInformationByUserCenter(params).then(() => {
            this.$message({
              type: "success",
              message:
                this.$i18n.locale === "zh"
                  ? "删除成功!"
                  : "Successfully Deleted",
            });
            this.getMyInfoData();
          });
        })
        .catch(() => {
          this.$message({
            type: "info",
            message: this.$t("common.Cancelled"),
          });
        });
    },
    informationDelete(row) {
      var params = {
        id: row.id,
      };
      this.$confirm(
        this.$i18n.locale === "zh"
          ? "确定删除？"
          : "Are you sure you want to delete?",
        this.$t("common.Tips"),
        {
          confirmButtonText: this.$t("common.OK"),
          cancelButtonText: this.$t("common.cancel"),
          type: "warning",
        }
      )
        .then(() => {
          deleteInformationByUserCenter(params).then(() => {
            this.$message({
              type: "success",
              message:
                this.$i18n.locale === "zh"
                  ? "删除成功!"
                  : "Successfully Deleted",
            });
            this.getMyDataInformation();
          });
        })
        .catch(() => {});
    },
    toLookReply(row) {
      this.rowConsultations = row;
      this.dialogVisible1 = true;
    },
    informationHandleSizeChange() {},
  },
};
</script>
<style scoped>
.threeLine {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.el-input {
  width: 200px;
}

.el-form-item__content,
.el-select {
  width: 200px !important;
}

.el-table thead {
  background: #eee;
}

.userCenterMyProject >>> .el-pagination .el-pager li,
.userCenterMyProject >>> .el-pagination .btn-next,
.userCenterMyProject >>> .el-pagination .btn-prev {
  width: 35px;
  height: 35px;
  line-height: 35px;
}

.userCenterMyProject
  >>> .el-pagination.is-background
  .el-pager
  li:not(.disabled).active {
  background: #0050d8;
}

.taberPhone1 {
  border-bottom: 2px solid #0c5afa;
  color: #0c5afa;
}

.el-table_body {
  color: red;
}

.projectName >>> .el-table__row td:nth-of-type(2) {
  color: #0a0000af !important;
}

.projectName >>> .hover-row td:nth-of-type(2) {
  color: #0079ef !important;
}

/* .projectName >>> .el-table__row td:nth-of-type(2){
  color: red ;
} */
.projectName >>> .el-table__row td:nth-of-type(2) .cell {
  cursor: pointer;
}

.menu-container-box {
  width: 28%;
  float: left;
}

.leftContent {
  width: 71%;
  float: right;
}
.el-button {
  padding: 12px 10px;
}
</style>
