<template>
	<view class="dataExportTool">
		<view class="relevant">
			<view class="relevantTitle">{{ $i18n.locale=='zh'?'已选择指标':'Indicator' }}</view>
			<view class="page-section">
				<view class="page-section-spacing">
					<scroll-view scroll-x="true" class="relevantScroll">
						<block>
							<view v-for="(item,index) in indicatorList" class="scroll-item">
								<view v-if="item.add"
									style="width: 100%; height: 100%;overflow: auto;text-align: left;margin-left: 20upx;">
									<u-icon name="plus-circle-fill" color="#6e6e6e" size="100" style="margin-top: 45upx"
										@click="addIndicator"></u-icon>
								</view>
								<view v-else style="width: 100%; height: 100%;overflow: auto;">
									<view class="icon">
										<u-image :src="item.icon" mode="widthFix" alt="" width="100%"
											@click="removeIndicator(item,'indicator')"></u-image>
									</view>
									<view class="labelText" @click="removeIndicator(item,'indicator')">{{item.label}}
									</view>
								</view>
							</view>
						</block>
					</scroll-view>
				</view>
			</view>
		</view>
		<view class="relevant">
			<view class="relevantTitle">{{ $i18n.locale=='zh'?'已选择区域/国家':'Region/Country' }}</view>
			<view class="page-section">
				<view class="page-section-spacing">
					<scroll-view scroll-x="true" class="relevantScroll">
						<block>
							<view v-for="(item,index) in worldList" class="scroll-item" style="width: 33%">
								<view v-if="item.add"
									style="width: 100%; height: 100%;overflow: auto;text-align: left;margin-left: 20upx;">
									<u-icon name="plus-circle-fill" color="#6e6e6e" size="100" style="margin-top: 45upx"
										@click="addWorld"></u-icon>
								</view>
								<view v-else style="width: 100%; height: 100%;overflow: auto;">
									<view class="icon" style="max-width: 200upx">
										<u-image :src="item.icon" alt="" width="100%" height="120upx"
											@click="removeWorld(item,'world')"></u-image>
									</view>
									<view class="labelText" @click="removeWorld(item,'world')">{{item.label}}</view>
								</view>
							</view>
						</block>
					</scroll-view>
				</view>
			</view>
		</view>
		<view class="relevant">
			<view class="relevantTitle">{{ $i18n.locale=='zh'?'已选择年份':'Year' }}</view>
			<view class="page-section">
				<view class="page-section-spacing">
					<view style="width: 400upx;height: 100upx; text-align: center;line-height: 70upx;padding: 15upx 0;"
						@click="addTime">
						<text
							style="padding: 0 20upx;border: 1px solid #6e6e6e;margin-right: 20upx;">{{params.time.startDate}}</text>
						<text>~</text>
						<text
							style="padding: 0 20upx;border: 1px solid #6e6e6e;margin-left: 20upx;">{{params.time.endDate}}</text>
					</view>
				</view>
			</view>
		</view>
		<view class="btnList">
			<u-button class="btn" type="primary" size="mini" @click="selectExportType('EXCEL')" style="width: 250upx;">
				<u-loading v-if="loading"></u-loading>
				<text v-else>{{$i18n.locale == 'zh' ? '导出Excel' : 'Export Excel'}}</text>
			</u-button>
			<u-button class="btn" type="primary" size="mini" @click="selectExportType('PDF')" style="width: 180upx;">
				<u-loading v-if="loading"></u-loading>
				<text v-else>{{$i18n.locale == 'zh' ? '导出PDF' : 'Export PDF'}}</text>
			</u-button>
			<u-button class="btn" type="primary" size="mini" @click="Reset">{{i18n('Reset')}}</u-button>
		</view>
		<u-popup v-model="params.indicator.show" mode="bottom" height="1000rpx">
			<view class="slot-content">
				<view style="height:1000upx;position: relative;">
					<scroll-view scroll-y="true" class="left">
						<view v-for="(fItem, fIndex) in params.indicator.searchList" :key="fItem+fIndex" class="row"
							:class="[fIndex===params.indicator.showCategoryIndex ?'on':'']"
							@tap="params.indicator.showCategoryIndex = fIndex">
							<view class="text">
								{{ $i18n.locale == 'zh' ? fItem['indexName'] : fItem['indexEnName'] }}
							</view>
						</view>
					</scroll-view>
					<block v-for="(fItem, fIndex) in params.indicator.searchList" :key="fItem+fIndex+'1'">
						<scroll-view scroll-y class="right" v-if="fIndex === params.indicator.showCategoryIndex">
							<view v-for="(item,index) in fItem['child']" :key="'c'+index"
								:class="(item['child']&&item['child'].length>0)?'':'cate'">
								<view v-if="item['child'] && item['child'].length>0">
									<view :class="{'getCategory':item['child'].length>0}">
										{{ $i18n.locale=='zh'?item['indexName']:item['indexEnName'] }}
									</view>
									<view class="threemenu">
										<view v-for="(i,j) in item['child']" :key="j" class="cateText"
											@click="getCategory1({item:i,index:j})"
											:class="{'cateTextActive':i.ifClick}">
											{{$i18n.locale=='zh'?i['indexName']:i['indexEnName']}}
										</view>
									</view>
								</view>
								<view v-else>
									<view class="cateText" @click="getCategory1({item,index})"
										:class="{'cateTextActive':item.ifClick}">
										{{ $i18n.locale=='zh'?item['indexName']:item['indexEnName'] }}
									</view>
								</view>
							</view>
						</scroll-view>
					</block>
				</view>
			</view>
		</u-popup>
		<u-popup v-model="params.world.show" mode="bottom" height="1000rpx">
			<view class="slot-content">
				<view style="height:1000upx;position: relative;">
					<scroll-view scroll-y="true" class="left">
						<view v-for="(fItem, fIndex) in params.world.countryList" :key="fItem+fIndex" class="row"
							:class="[fIndex===params.world.showCategoryIndex ?'on':'']"
							@tap="params.world.showCategoryIndex = fIndex">
							<view class="text">
								{{ $i18n.locale == 'zh' ? fItem['label'] : fItem['label'] }}
							</view>
						</view>
					</scroll-view>
					<block v-for="(fItem, fIndex) in params.world.countryList" :key="fItem+fIndex+'1'">
						<scroll-view scroll-y class="right" v-if="fIndex === params.world.showCategoryIndex">
							<view class="cate">
								<view>
									<view class="cateText"
										@click="getCategory2({item:fItem,index:null,ifClick:!fItem.ifClick})"
										:class="{'cateTextActive':fItem.ifClick}">
										{{ fItem['label'] }}
									</view>
								</view>
							</view>
							<view v-for="(item,index) in fItem['children']" :key="'c2'+index"
								:class="(item['children']&&item['children'].length>0)?'':'cate'">
								<view>
									<view class="cateText" @click="getCategory2({item:item,index:index,ifClick:true})"
										:class="{'cateTextActive':item.ifClick}">
										{{ $i18n.locale=='zh'?item['label']:item['label'] }}
									</view>
								</view>
							</view>
						</scroll-view>
					</block>
				</view>
			</view>
		</u-popup>
		<yearSelector :show="params.time.showDateFlag" :defaultTimeValue="[2013,2020]" @getTimeValue="getTimeValue"
			@cancel="timeCancel"></yearSelector>
		<u-toast ref="uToast" />
		<u-modal v-model="removeShow" :title="$i18n.locale == 'zh' ? '提示' : 'Tips'"
			:confirm-text="$i18n.locale == 'zh' ? '确定' : 'Submit'" :cancel-text="$i18n.locale == 'zh' ? '取消' : 'Cancel'"
			@confirm="removeConfirm" @cancel="removeCancel" :content="$i18n.locale == 'zh' ? '是否删除？' : 'Delete?'"
			:show-cancel-button="true"></u-modal>
	</view>
</template>

<script>
	import yearSelector from "./yearSelector";
	import RelevantIndicators from "./RelevantIndicators";
	let _self;
	let canvasColumnIns = null;
	let canvasLineIns = null;
	let countryPinyin = [{
			"aleph": "zg",
			"cnValue": "中国",
			"continent": 1,
			"enValue": "China",
			"id": "0086",
			"length": 11,
			"pinyin": "zhongguo",
			"validateflag": false,
			"value": "中国 0086"
		},
		{
			"aleph": "zgtw",
			"cnValue": "中国台湾",
			"continent": 0,
			"enValue": "Taiwan, China",
			"id": "0886",
			"length": 9,
			"maxlength": 10,
			"minlength": 6,
			"pinyin": "zhongguotaiwan",
			"validateflag": true,
			"value": "中国台湾 0886"
		},
		{
			"aleph": "zgxg",
			"cnValue": "中国香港",
			"continent": 0,
			"enValue": "Hong Kong, China",
			"id": "0852",
			"length": 8,
			"maxlength": 10,
			"minlength": 6,
			"pinyin": "zhongguoxianggang",
			"validateflag": true,
			"value": "中国香港 0852"
		},
		{
			"aleph": "adly",
			"cnValue": "澳大利亚",
			"continent": 0,
			"enValue": "Australia",
			"id": "0061",
			"length": 9,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "aodaliya",
			"validateflag": true,
			"value": "澳大利亚 0061"
		},
		{
			"aleph": "mg",
			"cnValue": "美国",
			"continent": 0,
			"enValue": "United States",
			"id": "0001",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "meiguo",
			"validateflag": true,
			"value": "美国 0001"
		},
		{
			"aleph": "mlxy",
			"cnValue": "马来西亚",
			"continent": 0,
			"enValue": "Malaysia",
			"id": "0060",
			"length": 9,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "malaixiya",
			"validateflag": true,
			"value": "马来西亚 0060"
		},
		{
			"aleph": "xjp",
			"cnValue": "新加坡",
			"continent": 0,
			"enValue": "Singapore",
			"id": "0065",
			"length": 8,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "xinjiapo",
			"validateflag": true,
			"value": "新加坡 0065"
		},
		{
			"aleph": "rb",
			"cnValue": "日本",
			"continent": 0,
			"enValue": "Japan",
			"id": "0081",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "riben",
			"validateflag": true,
			"value": "日本 0081"
		},
		{
			"aleph": "xxl",
			"cnValue": "新西兰",
			"continent": 0,
			"enValue": "New Zealand",
			"id": "0064",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "xinxilan",
			"validateflag": true,
			"value": "新西兰 0064"
		},
		{
			"aleph": "jnd",
			"cnValue": "加拿大",
			"continent": 0,
			"enValue": "Canada",
			"id": "0001",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "jianada",
			"validateflag": true,
			"value": "加拿大 0001"
		},
		{
			"aleph": "hg",
			"cnValue": "韩国",
			"continent": 0,
			"enValue": "South Korea",
			"id": "0082",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "hanguo",
			"validateflag": true,
			"value": "韩国 0082"
		},
		{
			"aleph": "zgam",
			"cnValue": "中国澳门",
			"continent": 1,
			"enValue": "Macao, China",
			"id": "0853",
			"length": 8,
			"maxlength": 10,
			"minlength": 6,
			"pinyin": "zhongguoaomen",
			"validateflag": true,
			"value": "中国澳门 0853"
		},
		{
			"aleph": "flb",
			"cnValue": "菲律宾",
			"continent": 1,
			"enValue": "Philippines",
			"id": "0063",
			"length": 10,
			"pinyin": "feilvbin",
			"validateflag": false,
			"value": "菲律宾 0063"
		},
		{
			"aleph": "ydnxy",
			"cnValue": "印度尼西亚",
			"continent": 1,
			"enValue": "Indonesia",
			"id": "0062",
			"length": 11,
			"pinyin": "yindunixiya",
			"validateflag": false,
			"value": "印度尼西亚 0062"
		},
		{
			"aleph": "yn",
			"cnValue": "越南",
			"continent": 1,
			"enValue": "Vietnam",
			"id": "0084",
			"length": 10,
			"pinyin": "yuenan",
			"validateflag": false,
			"value": "越南 0084"
		},
		{
			"aleph": "afh",
			"cnValue": "阿富汗",
			"continent": 1,
			"enValue": "Afghanistan",
			"id": "0093",
			"length": 9,
			"pinyin": "afuhan",
			"validateflag": false,
			"value": "阿富汗 0093"
		},
		{
			"aleph": "asbj",
			"cnValue": "阿塞拜疆",
			"continent": 1,
			"enValue": "Azerbaijan",
			"id": "0994",
			"length": 9,
			"pinyin": "asaibaijiang",
			"validateflag": false,
			"value": "阿塞拜疆 0994"
		},
		{
			"aleph": "bl",
			"cnValue": "巴林",
			"continent": 1,
			"enValue": "Bahrain",
			"id": "0973",
			"length": 9,
			"pinyin": "balin",
			"validateflag": false,
			"value": "巴林 0973"
		},
		{
			"aleph": "mjl",
			"cnValue": "孟加拉",
			"continent": 1,
			"enValue": "Bangladesh",
			"id": "0880",
			"length": 9,
			"pinyin": "mengjiala",
			"validateflag": false,
			"value": "孟加拉 0880"
		},
		{
			"aleph": "bd",
			"cnValue": "不丹",
			"continent": 1,
			"enValue": "Bhutan",
			"id": "0975",
			"length": 9,
			"pinyin": "budan",
			"validateflag": false,
			"value": "不丹 0975"
		},
		{
			"aleph": "wl",
			"cnValue": "文莱",
			"continent": 1,
			"enValue": "Brunei",
			"id": "0673",
			"length": 9,
			"pinyin": "wenlai",
			"validateflag": false,
			"value": "文莱 0673"
		},
		{
			"aleph": "spls",
			"cnValue": "塞浦路斯",
			"continent": 1,
			"enValue": "Cyprus",
			"id": "0357",
			"length": 9,
			"pinyin": "saipulusi",
			"validateflag": false,
			"value": "塞浦路斯 0357"
		},
		{
			"aleph": "cx",
			"cnValue": "朝鲜",
			"continent": 1,
			"enValue": "North Korea",
			"id": "0850",
			"length": 9,
			"pinyin": "chaoxian",
			"validateflag": false,
			"value": "朝鲜 0850"
		},
		{
			"aleph": "ddw",
			"cnValue": "东帝汶",
			"continent": 1,
			"enValue": "East Timor",
			"id": "0670",
			"length": 9,
			"pinyin": "dongdiwen",
			"validateflag": false,
			"value": "东帝汶 0670"
		},
		{
			"aleph": "gljy",
			"cnValue": "格鲁吉亚",
			"continent": 1,
			"enValue": "Georgia",
			"id": "0995",
			"length": 9,
			"pinyin": "gelujiya",
			"validateflag": false,
			"value": "格鲁吉亚 0995"
		},
		{
			"aleph": "ylk",
			"cnValue": "伊拉克",
			"continent": 1,
			"enValue": "Iraq",
			"id": "0964",
			"length": 9,
			"pinyin": "yilake",
			"validateflag": false,
			"value": "伊拉克 0964"
		},
		{
			"aleph": "yd",
			"cnValue": "约旦",
			"continent": 1,
			"enValue": "Jordan",
			"id": "0962",
			"length": 9,
			"pinyin": "yuedan",
			"validateflag": false,
			"value": "约旦 0962"
		},
		{
			"aleph": "jpz",
			"cnValue": "柬埔寨",
			"continent": 1,
			"enValue": "Cambodia",
			"id": "0855",
			"length": 9,
			"pinyin": "jianpuzhai",
			"validateflag": false,
			"value": "柬埔寨 0855"
		},
		{
			"aleph": "kwt",
			"cnValue": "科威特",
			"continent": 1,
			"enValue": "Kuwait",
			"id": "0965",
			"length": 9,
			"pinyin": "keweite",
			"validateflag": false,
			"value": "科威特 0965"
		},
		{
			"aleph": "lw",
			"cnValue": "老挝",
			"continent": 1,
			"enValue": "Laos",
			"id": "0856",
			"length": 9,
			"pinyin": "laowo",
			"validateflag": false,
			"value": "老挝 0856"
		},
		{
			"aleph": "lbn",
			"cnValue": "黎巴嫩",
			"continent": 1,
			"enValue": "Lebanon",
			"id": "0961",
			"length": 9,
			"pinyin": "libanen",
			"validateflag": false,
			"value": "黎巴嫩 0961"
		},
		{
			"aleph": "mg",
			"cnValue": "蒙古",
			"continent": 1,
			"enValue": "Mongolia",
			"id": "0976",
			"length": 9,
			"pinyin": "menggu",
			"validateflag": false,
			"value": "蒙古 0976"
		},
		{
			"aleph": "nbe",
			"cnValue": "尼泊尔",
			"continent": 1,
			"enValue": "Nepal",
			"id": "0977",
			"length": 9,
			"pinyin": "niboer",
			"validateflag": false,
			"value": "尼泊尔 0977"
		},
		{
			"aleph": "am",
			"cnValue": "阿曼",
			"continent": 1,
			"enValue": "Oman",
			"id": "0968",
			"length": 9,
			"pinyin": "aman",
			"validateflag": false,
			"value": "阿曼 0968"
		},
		{
			"aleph": "bjst",
			"cnValue": "巴基斯坦",
			"continent": 1,
			"enValue": "Pakistan",
			"id": "0092",
			"length": 10,
			"pinyin": "bajisitan",
			"validateflag": false,
			"value": "巴基斯坦 0092"
		},
		{
			"aleph": "blst",
			"cnValue": "巴勒斯坦",
			"continent": 1,
			"enValue": "Palestine",
			"id": "0970",
			"length": 9,
			"pinyin": "balesitan",
			"validateflag": false,
			"value": "巴勒斯坦 0970"
		},
		{
			"aleph": "kte",
			"cnValue": "卡塔尔",
			"continent": 1,
			"enValue": "Qatar",
			"id": "0974",
			"length": 9,
			"pinyin": "kataer",
			"validateflag": false,
			"value": "卡塔尔 0974"
		},
		{
			"aleph": "stalb",
			"cnValue": "沙特阿拉伯",
			"continent": 1,
			"enValue": "Saudi Arabia",
			"id": "0966",
			"length": 9,
			"pinyin": "shatealabo",
			"validateflag": false,
			"value": "沙特阿拉伯 0966"
		},
		{
			"aleph": "sllk",
			"cnValue": "斯里兰卡",
			"continent": 1,
			"enValue": "Sri Lanka",
			"id": "0094",
			"length": 9,
			"pinyin": "sililanka",
			"validateflag": false,
			"value": "斯里兰卡 0094"
		},
		{
			"aleph": "tg",
			"cnValue": "泰国",
			"continent": 1,
			"enValue": "Thailand",
			"id": "0066",
			"length": 9,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "taiguo",
			"validateflag": true,
			"value": "泰国 0066"
		},
		{
			"aleph": "jejsst",
			"cnValue": "吉尔吉斯斯坦",
			"continent": 1,
			"enValue": "Kyrgyzstan",
			"id": "0996",
			"length": 9,
			"pinyin": "jierjisisitan",
			"validateflag": false,
			"value": "吉尔吉斯斯坦 0996"
		},
		{
			"aleph": "ymny",
			"cnValue": "亚美尼亚",
			"continent": 1,
			"enValue": "Armenia",
			"id": "0374",
			"length": 9,
			"pinyin": "yameiniya",
			"validateflag": false,
			"value": "亚美尼亚 0374"
		},
		{
			"aleph": "hskst",
			"cnValue": "哈萨克斯坦",
			"continent": 1,
			"enValue": "Kazakhstan",
			"id": "0007",
			"length": 9,
			"pinyin": "hasakesitan",
			"validateflag": false,
			"value": "哈萨克斯坦 0007"
		},
		{
			"aleph": "medf",
			"cnValue": "马尔代夫",
			"continent": 1,
			"enValue": "Maldives",
			"id": "0960",
			"length": 9,
			"pinyin": "maerdaifu",
			"validateflag": false,
			"value": "马尔代夫 0960"
		},
		{
			"aleph": "tjkst",
			"cnValue": "塔吉克斯坦",
			"continent": 1,
			"enValue": "Tajikistan",
			"id": "0992",
			"length": 9,
			"pinyin": "tajikesitan",
			"validateflag": false,
			"value": "塔吉克斯坦 0992"
		},
		{
			"aleph": "wzbkst",
			"cnValue": "乌兹别克斯坦",
			"continent": 1,
			"enValue": "Uzbekistan",
			"id": "0998",
			"length": 9,
			"pinyin": "wuzibiekesitan",
			"validateflag": false,
			"value": "乌兹别克斯坦 0998"
		},
		{
			"aleph": "ysl",
			"cnValue": "以色列",
			"continent": 1,
			"enValue": "Israel",
			"id": "0972",
			"length": 9,
			"pinyin": "yiselie",
			"validateflag": false,
			"value": "以色列 0972"
		},
		{
			"aleph": "teq",
			"cnValue": "土耳其",
			"continent": 1,
			"enValue": "Turkey",
			"id": "0090",
			"length": 9,
			"pinyin": "tuerqi",
			"validateflag": false,
			"value": "土耳其 0090"
		},
		{
			"aleph": "tkmst",
			"cnValue": "土库曼斯坦",
			"continent": 1,
			"enValue": "Turkmenistan",
			"id": "0993",
			"length": 9,
			"pinyin": "tukumansitan",
			"validateflag": false,
			"value": "土库曼斯坦 0993"
		},
		{
			"aleph": "alq",
			"cnValue": "阿联酋",
			"continent": 1,
			"enValue": "United Arab Emirates",
			"id": "0971",
			"length": 9,
			"pinyin": "alianqiu",
			"validateflag": false,
			"value": "阿联酋 0971"
		},
		{
			"aleph": "ym",
			"cnValue": "也门",
			"continent": 1,
			"enValue": "Yemen",
			"id": "0967",
			"length": 9,
			"pinyin": "yemen",
			"validateflag": false,
			"value": "也门 0967"
		},
		{
			"aleph": "bx",
			"cnValue": "巴西",
			"continent": 2,
			"enValue": "Brazil",
			"id": "0055",
			"length": 11,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "baxi",
			"validateflag": true,
			"value": "巴西 0055"
		},
		{
			"aleph": "wnrl",
			"cnValue": "委内瑞拉",
			"continent": 2,
			"enValue": "Venezuela",
			"id": "0058",
			"length": 11,
			"pinyin": "weineiruila",
			"validateflag": false,
			"value": "委内瑞拉 0058"
		},
		{
			"aleph": "agl",
			"cnValue": "安圭拉",
			"continent": 2,
			"enValue": "Anguilla",
			"id": "1264",
			"length": 9,
			"pinyin": "anguila",
			"validateflag": false,
			"value": "安圭拉 1264"
		},
		{
			"aleph": "atghbbd",
			"cnValue": "安提瓜和巴布达",
			"continent": 2,
			"enValue": "Antigua and Barbuda",
			"id": "1268",
			"length": 9,
			"pinyin": "antiguahebabuda",
			"validateflag": false,
			"value": "安提瓜和巴布达 1268"
		},
		{
			"aleph": "alb",
			"cnValue": "阿鲁巴",
			"continent": 2,
			"enValue": "Aruba",
			"id": "0297",
			"length": 9,
			"pinyin": "aluba",
			"validateflag": false,
			"value": "阿鲁巴 0297"
		},
		{
			"aleph": "bhm",
			"cnValue": "巴哈马",
			"continent": 2,
			"enValue": "Bahamas",
			"id": "1242",
			"length": 9,
			"pinyin": "bahama",
			"validateflag": false,
			"value": "巴哈马 1242"
		},
		{
			"aleph": "bbds",
			"cnValue": "巴巴多斯",
			"continent": 2,
			"enValue": "Barbados",
			"id": "1246",
			"length": 9,
			"pinyin": "babaduosi",
			"validateflag": false,
			"value": "巴巴多斯 1246"
		},
		{
			"aleph": "blz",
			"cnValue": "伯利兹",
			"continent": 2,
			"enValue": "Belize",
			"id": "0501",
			"length": 9,
			"pinyin": "bolizi",
			"validateflag": false,
			"value": "伯利兹 0501"
		},
		{
			"aleph": "bmdqd",
			"cnValue": "百慕大群岛",
			"continent": 2,
			"enValue": "Bermuda",
			"id": "1441",
			"length": 9,
			"pinyin": "baimudaqundao",
			"validateflag": false,
			"value": "百慕大群岛 1441"
		},
		{
			"aleph": "kmqd",
			"cnValue": "开曼群岛",
			"continent": 2,
			"enValue": "Cayman Islands",
			"id": "1345",
			"length": 9,
			"pinyin": "kaimanqundao",
			"validateflag": false,
			"value": "开曼群岛 1345"
		},
		{
			"aleph": "gsdlj",
			"cnValue": "哥斯达黎加",
			"continent": 2,
			"enValue": "Costa Rica",
			"id": "0506",
			"length": 9,
			"pinyin": "gesidalijia",
			"validateflag": false,
			"value": "哥斯达黎加 0506"
		},
		{
			"aleph": "sewd",
			"cnValue": "萨尔瓦多",
			"continent": 2,
			"enValue": "Salvador",
			"id": "0503",
			"length": 9,
			"pinyin": "saerwaduo",
			"validateflag": false,
			"value": "萨尔瓦多 0503"
		},
		{
			"aleph": "gll",
			"cnValue": "格陵兰",
			"continent": 2,
			"enValue": "Greenland",
			"id": "0299",
			"length": 9,
			"pinyin": "gelinglan",
			"validateflag": false,
			"value": "格陵兰 0299"
		},
		{
			"aleph": "glnd",
			"cnValue": "格林纳达",
			"continent": 2,
			"enValue": "Grenada",
			"id": "1473",
			"length": 9,
			"pinyin": "gelinnada",
			"validateflag": false,
			"value": "格林纳达 1473"
		},
		{
			"aleph": "gdlp",
			"cnValue": "瓜德罗普",
			"continent": 2,
			"enValue": "Guadeloupe",
			"id": "0590",
			"length": 9,
			"pinyin": "guadeluopu",
			"validateflag": false,
			"value": "瓜德罗普 0590"
		},
		{
			"aleph": "wdml",
			"cnValue": "危地马拉",
			"continent": 2,
			"enValue": "Guatemala",
			"id": "0502",
			"length": 9,
			"pinyin": "weidimala",
			"validateflag": false,
			"value": "危地马拉 0502"
		},
		{
			"aleph": "hd",
			"cnValue": "海地",
			"continent": 2,
			"enValue": "Haiti",
			"id": "0509",
			"length": 9,
			"pinyin": "haidi",
			"validateflag": false,
			"value": "海地 0509"
		},
		{
			"aleph": "hdls",
			"cnValue": "洪都拉斯",
			"continent": 2,
			"enValue": "Honduras",
			"id": "0504",
			"length": 9,
			"pinyin": "hongdoulasi",
			"validateflag": false,
			"value": "洪都拉斯 0504"
		},
		{
			"aleph": "ymj",
			"cnValue": "牙买加",
			"continent": 2,
			"enValue": "Jamaica",
			"id": "1876",
			"length": 9,
			"pinyin": "yamaijia",
			"validateflag": false,
			"value": "牙买加 1876"
		},
		{
			"aleph": "mtnk",
			"cnValue": "马提尼克",
			"continent": 2,
			"enValue": "Martinique",
			"id": "0596",
			"length": 9,
			"pinyin": "matinike",
			"validateflag": false,
			"value": "马提尼克 0596"
		},
		{
			"aleph": "mxg",
			"cnValue": "墨西哥",
			"continent": 2,
			"enValue": "Mexico",
			"id": "0052",
			"length": 9,
			"pinyin": "moxige",
			"validateflag": false,
			"value": "墨西哥 0052"
		},
		{
			"aleph": "mtslt",
			"cnValue": "蒙特塞拉特",
			"continent": 2,
			"enValue": "Montserrat",
			"id": "1664",
			"length": 9,
			"pinyin": "mengtesailate",
			"validateflag": false,
			"value": "蒙特塞拉特 1664"
		},
		{
			"aleph": "bnm",
			"cnValue": "巴拿马",
			"continent": 2,
			"enValue": "Panama",
			"id": "0507",
			"length": 9,
			"pinyin": "banama",
			"validateflag": false,
			"value": "巴拿马 0507"
		},
		{
			"aleph": "bdlg",
			"cnValue": "波多黎各",
			"continent": 2,
			"enValue": "Puerto Rico",
			"id": "1787",
			"length": 9,
			"pinyin": "boduolige",
			"validateflag": false,
			"value": "波多黎各 1787"
		},
		{
			"aleph": "swsthglnds",
			"cnValue": "圣文森特和格林纳丁斯",
			"continent": 2,
			"enValue": "Saint Vincent and the Grenadines",
			"id": "1784",
			"length": 9,
			"pinyin": "shengwensentehegelinnadingsi",
			"validateflag": false,
			"value": "圣文森特和格林纳丁斯 1784"
		},
		{
			"aleph": "slxy",
			"cnValue": "圣卢西亚",
			"continent": 2,
			"enValue": "Saint Lucia",
			"id": "1758",
			"length": 9,
			"pinyin": "shengluxiya",
			"validateflag": false,
			"value": "圣卢西亚 1758"
		},
		{
			"aleph": "dmnk",
			"cnValue": "多米尼克",
			"continent": 2,
			"enValue": "The Commonwealth of Dominica",
			"id": "1767",
			"length": 9,
			"pinyin": "duominike",
			"validateflag": false,
			"value": "多米尼克 1767"
		},
		{
			"aleph": "dmnj",
			"cnValue": "多米尼加",
			"continent": 2,
			"enValue": "The Dominican Republic",
			"id": "1849",
			"length": 9,
			"pinyin": "duominijia",
			"validateflag": false,
			"value": "多米尼加 1849"
		},
		{
			"aleph": "sjchnws",
			"cnValue": "圣基茨和尼维斯",
			"continent": 2,
			"enValue": "The Federation of Saint Kitts and Nevis",
			"id": "1869",
			"length": 9,
			"pinyin": "shengjiciheniweisi",
			"validateflag": false,
			"value": "圣基茨和尼维斯 1869"
		},
		{
			"aleph": "njlg",
			"cnValue": "尼加拉瓜",
			"continent": 2,
			"enValue": "Nicaragua",
			"id": "0505",
			"length": 9,
			"pinyin": "nijialagua",
			"validateflag": false,
			"value": "尼加拉瓜 0505"
		},
		{
			"aleph": "tkshkksqd",
			"cnValue": "特克斯和凯科斯群岛",
			"continent": 2,
			"enValue": "Turks and Caicos Islands",
			"id": "1649",
			"length": 9,
			"pinyin": "tekesihekaikesiqundao",
			"validateflag": false,
			"value": "特克斯和凯科斯群岛 1649"
		},
		{
			"aleph": "tlndhdbg",
			"cnValue": "特立尼达和多巴哥",
			"continent": 2,
			"enValue": "Trinidad and Tobago",
			"id": "1868",
			"length": 9,
			"pinyin": "telinidaheduobage",
			"validateflag": false,
			"value": "特立尼达和多巴哥 1868"
		},
		{
			"aleph": "mswejqd",
			"cnValue": "美属维尔京群岛",
			"continent": 2,
			"enValue": "United States Virgin Islands",
			"id": "1340",
			"length": 9,
			"pinyin": "meishuweierjingqundao",
			"validateflag": false,
			"value": "美属维尔京群岛 1340"
		},
		{
			"aleph": "yswejqd",
			"cnValue": "英属维尔京群岛",
			"continent": 2,
			"enValue": "British Virgin Islands",
			"id": "1284",
			"length": 9,
			"pinyin": "yingshuweierjingqundao",
			"validateflag": false,
			"value": "英属维尔京群岛 1284"
		},
		{
			"aleph": "agt",
			"cnValue": "阿根廷",
			"continent": 2,
			"enValue": "Argentina",
			"id": "0054",
			"length": 9,
			"pinyin": "agenting",
			"validateflag": false,
			"value": "阿根廷 0054"
		},
		{
			"aleph": "blwy",
			"cnValue": "玻利维亚",
			"continent": 2,
			"enValue": "Bolivia",
			"id": "0591",
			"length": 9,
			"pinyin": "boliweiya",
			"validateflag": false,
			"value": "玻利维亚 0591"
		},
		{
			"aleph": "zl",
			"cnValue": "智利",
			"continent": 2,
			"enValue": "Chile",
			"id": "0056",
			"length": 9,
			"pinyin": "zhili",
			"validateflag": false,
			"value": "智利 0056"
		},
		{
			"aleph": "glby",
			"cnValue": "哥伦比亚",
			"continent": 2,
			"enValue": "Columbia",
			"id": "0057",
			"length": 9,
			"pinyin": "gelunbiya",
			"validateflag": false,
			"value": "哥伦比亚 0057"
		},
		{
			"aleph": "egde",
			"cnValue": "厄瓜多尔",
			"continent": 2,
			"enValue": "Ecuador",
			"id": "0593",
			"length": 9,
			"pinyin": "eguaduoer",
			"validateflag": false,
			"value": "厄瓜多尔 0593"
		},
		{
			"aleph": "fsgyn",
			"cnValue": "法属圭亚那",
			"continent": 2,
			"enValue": "French Guiana",
			"id": "0594",
			"length": 9,
			"pinyin": "fashuguiyanei",
			"validateflag": false,
			"value": "法属圭亚那 0594"
		},
		{
			"aleph": "gyn",
			"cnValue": "圭亚那",
			"continent": 2,
			"enValue": "Guyana",
			"id": "0592",
			"length": 9,
			"pinyin": "guiyanei",
			"validateflag": false,
			"value": "圭亚那 0592"
		},
		{
			"aleph": "hsadlsqd",
			"cnValue": "荷属安的列斯群岛",
			"continent": 2,
			"enValue": "Netherlands Antilles",
			"id": "0599",
			"length": 9,
			"pinyin": "heshuandeliesiqundao",
			"validateflag": false,
			"value": "荷属安的列斯群岛 0599"
		},
		{
			"aleph": "blg",
			"cnValue": "巴拉圭",
			"continent": 2,
			"enValue": "Paraguay",
			"id": "0595",
			"length": 9,
			"pinyin": "balagui",
			"validateflag": false,
			"value": "巴拉圭 0595"
		},
		{
			"aleph": "ml",
			"cnValue": "秘鲁",
			"continent": 2,
			"enValue": "Peru",
			"id": "0051",
			"length": 9,
			"pinyin": "milu",
			"validateflag": false,
			"value": "秘鲁 0051"
		},
		{
			"aleph": "sln",
			"cnValue": "苏里南",
			"continent": 2,
			"enValue": "Surinam",
			"id": "0597",
			"length": 9,
			"pinyin": "sulinan",
			"validateflag": false,
			"value": "苏里南 0597"
		},
		{
			"aleph": "wlg",
			"cnValue": "乌拉圭",
			"continent": 2,
			"enValue": "Uruguay",
			"id": "0598",
			"length": 9,
			"pinyin": "wulagui",
			"validateflag": false,
			"value": "乌拉圭 0598"
		},
		{
			"aleph": "els",
			"cnValue": "俄罗斯",
			"continent": 3,
			"enValue": "Russia",
			"id": "0007",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "eluosi",
			"validateflag": true,
			"value": "俄罗斯 0007"
		},
		{
			"aleph": "dm",
			"cnValue": "丹麦",
			"continent": 3,
			"enValue": "Denmark",
			"id": "0045",
			"length": 8,
			"pinyin": "danmai",
			"validateflag": false,
			"value": "丹麦 0045"
		},
		{
			"aleph": "ydl",
			"cnValue": "意大利",
			"continent": 3,
			"enValue": "Italy",
			"id": "0039",
			"length": 10,
			"pinyin": "yidali",
			"validateflag": false,
			"value": "意大利 0039"
		},
		{
			"aleph": "yg",
			"cnValue": "英国",
			"continent": 3,
			"enValue": "England",
			"id": "0044",
			"length": 10,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "yingguo",
			"validateflag": true,
			"value": "英国 0044"
		},
		{
			"aleph": "dg",
			"cnValue": "德国",
			"continent": 3,
			"enValue": "German",
			"id": "0049",
			"length": 11,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "deguo",
			"validateflag": true,
			"value": "德国 0049"
		},
		{
			"aleph": "aebny",
			"cnValue": "阿尔巴尼亚",
			"continent": 3,
			"enValue": "Albania",
			"id": "0355",
			"length": 9,
			"pinyin": "aerbaniya",
			"validateflag": false,
			"value": "阿尔巴尼亚 0355"
		},
		{
			"aleph": "adl",
			"cnValue": "奥地利",
			"continent": 3,
			"enValue": "Austria",
			"id": "0043",
			"length": 9,
			"pinyin": "aodili",
			"validateflag": false,
			"value": "奥地利 0043"
		},
		{
			"aleph": "bls",
			"cnValue": "比利时",
			"continent": 3,
			"enValue": "Belgium",
			"id": "0032",
			"length": 9,
			"pinyin": "bilishi",
			"validateflag": false,
			"value": "比利时 0032"
		},
		{
			"aleph": "bsnyhhsgwn",
			"cnValue": "波斯尼亚和黑塞哥维那",
			"continent": 3,
			"enValue": "Bosnia and Herzegovina",
			"id": "0387",
			"length": 9,
			"pinyin": "bosiniyaheheisaigeweinei",
			"validateflag": false,
			"value": "波斯尼亚和黑塞哥维那 0387"
		},
		{
			"aleph": "bjly",
			"cnValue": "保加利亚",
			"continent": 3,
			"enValue": "Bulgaria",
			"id": "0359",
			"length": 9,
			"pinyin": "baojialiya",
			"validateflag": false,
			"value": "保加利亚 0359"
		},
		{
			"aleph": "flqd",
			"cnValue": "法罗群岛",
			"continent": 3,
			"enValue": "Faroe Islands",
			"id": "0298",
			"length": 9,
			"pinyin": "faluoqundao",
			"validateflag": false,
			"value": "法罗群岛 0298"
		},
		{
			"aleph": "fl",
			"cnValue": "芬兰",
			"continent": 3,
			"enValue": "Finland",
			"id": "0358",
			"length": 9,
			"pinyin": "fenlan",
			"validateflag": false,
			"value": "芬兰 0358"
		},
		{
			"aleph": "fg",
			"cnValue": "法国",
			"continent": 3,
			"enValue": "France",
			"id": "0033",
			"length": 9,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "faguo",
			"validateflag": true,
			"value": "法国 0033"
		},
		{
			"aleph": "xl",
			"cnValue": "希腊",
			"continent": 3,
			"enValue": "Greece",
			"id": "0030",
			"length": 9,
			"pinyin": "xila",
			"validateflag": false,
			"value": "希腊 0030"
		},
		{
			"aleph": "xyl",
			"cnValue": "匈牙利",
			"continent": 3,
			"enValue": "Hungary",
			"id": "0036",
			"length": 9,
			"pinyin": "xiongyali",
			"validateflag": false,
			"value": "匈牙利 0036"
		},
		{
			"aleph": "bd",
			"cnValue": "冰岛",
			"continent": 3,
			"enValue": "Iceland",
			"id": "0354",
			"length": 9,
			"pinyin": "bingdao",
			"validateflag": false,
			"value": "冰岛 0354"
		},
		{
			"aleph": "ael",
			"cnValue": "爱尔兰",
			"continent": 3,
			"enValue": "Ireland",
			"id": "0353",
			"length": 9,
			"pinyin": "aierlan",
			"validateflag": false,
			"value": "爱尔兰 0353"
		},
		{
			"aleph": "lsb",
			"cnValue": "卢森堡",
			"continent": 3,
			"enValue": "Luxembourg",
			"id": "0352",
			"length": 9,
			"pinyin": "lusenbao",
			"validateflag": false,
			"value": "卢森堡 0352"
		},
		{
			"aleph": "met",
			"cnValue": "马耳他",
			"continent": 3,
			"enValue": "Malta",
			"id": "0356",
			"length": 9,
			"pinyin": "maerta",
			"validateflag": false,
			"value": "马耳他 0356"
		},
		{
			"aleph": "mng",
			"cnValue": "摩纳哥",
			"continent": 3,
			"enValue": "Monaco",
			"id": "0377",
			"length": 9,
			"pinyin": "monage",
			"validateflag": false,
			"value": "摩纳哥 0377"
		},
		{
			"aleph": "hs",
			"cnValue": "黑山",
			"continent": 3,
			"enValue": "Montenegro",
			"id": "0382",
			"length": 9,
			"pinyin": "heishan",
			"validateflag": false,
			"value": "黑山 0382"
		},
		{
			"aleph": "hl",
			"cnValue": "荷兰",
			"continent": 3,
			"enValue": "Netherlands",
			"id": "0031",
			"length": 9,
			"maxlength": 13,
			"minlength": 6,
			"pinyin": "helan",
			"validateflag": true,
			"value": "荷兰 0031"
		},
		{
			"aleph": "nw",
			"cnValue": "挪威",
			"continent": 3,
			"enValue": "Norway",
			"id": "0047",
			"length": 9,
			"pinyin": "nuowei",
			"validateflag": false,
			"value": "挪威 0047"
		},
		{
			"aleph": "bl",
			"cnValue": "波兰",
			"continent": 3,
			"enValue": "Poland",
			"id": "0048",
			"length": 9,
			"pinyin": "bolan",
			"validateflag": false,
			"value": "波兰 0048"
		},
		{
			"aleph": "pty",
			"cnValue": "葡萄牙",
			"continent": 3,
			"enValue": "Portugal",
			"id": "0351",
			"length": 9,
			"pinyin": "putaoya",
			"validateflag": false,
			"value": "葡萄牙 0351"
		},
		{
			"aleph": "lmny",
			"cnValue": "罗马尼亚",
			"continent": 3,
			"enValue": "Romania",
			"id": "0040",
			"length": 9,
			"pinyin": "luomaniya",
			"validateflag": false,
			"value": "罗马尼亚 0040"
		},
		{
			"aleph": "smln",
			"cnValue": "圣马力诺",
			"continent": 3,
			"enValue": "San Marino",
			"id": "0378",
			"length": 9,
			"pinyin": "shengmalinuo",
			"validateflag": false,
			"value": "圣马力诺 0378"
		},
		{
			"aleph": "xby",
			"cnValue": "西班牙",
			"continent": 3,
			"enValue": "Spain",
			"id": "0034",
			"length": 9,
			"pinyin": "xibanya",
			"validateflag": false,
			"value": "西班牙 0034"
		},
		{
			"aleph": "rd",
			"cnValue": "瑞典",
			"continent": 3,
			"enValue": "Sweden",
			"id": "0046",
			"length": 9,
			"pinyin": "ruidian",
			"validateflag": false,
			"value": "瑞典 0046"
		},
		{
			"aleph": "rs",
			"cnValue": "瑞士",
			"continent": 3,
			"enValue": "Switzerland",
			"id": "0041",
			"length": 9,
			"pinyin": "ruishi",
			"validateflag": false,
			"value": "瑞士 0041"
		},
		{
			"aleph": "jk",
			"cnValue": "捷克",
			"continent": 3,
			"enValue": "Czech",
			"id": "0420",
			"length": 9,
			"pinyin": "jieke",
			"validateflag": false,
			"value": "捷克 0420"
		},
		{
			"aleph": "ade",
			"cnValue": "安道尔",
			"continent": 3,
			"enValue": "Andorra",
			"id": "0376",
			"length": 9,
			"pinyin": "andaoer",
			"validateflag": false,
			"value": "安道尔 0376"
		},
		{
			"aleph": "lzdsd",
			"cnValue": "列支敦士登",
			"continent": 3,
			"enValue": "Liechtenstein",
			"id": "4175",
			"length": 9,
			"pinyin": "liezhidunshideng",
			"validateflag": false,
			"value": "列支敦士登 4175"
		},
		{
			"aleph": "bels",
			"cnValue": "白俄罗斯",
			"continent": 3,
			"enValue": "Belarus",
			"id": "0375",
			"length": 9,
			"pinyin": "baieluosi",
			"validateflag": false,
			"value": "白俄罗斯 0375"
		},
		{
			"aleph": "kldy",
			"cnValue": "克罗地亚",
			"continent": 3,
			"enValue": "Croatia",
			"id": "0385",
			"length": 9,
			"pinyin": "keluodiya",
			"validateflag": false,
			"value": "克罗地亚 0385"
		},
		{
			"aleph": "asny",
			"cnValue": "爱沙尼亚",
			"continent": 3,
			"enValue": "Estonia",
			"id": "0372",
			"length": 9,
			"pinyin": "aishaniya",
			"validateflag": false,
			"value": "爱沙尼亚 0372"
		},
		{
			"aleph": "ltwy",
			"cnValue": "拉脱维亚",
			"continent": 3,
			"enValue": "Latvia",
			"id": "0371",
			"length": 9,
			"pinyin": "latuoweiya",
			"validateflag": false,
			"value": "拉脱维亚 0371"
		},
		{
			"aleph": "ltw",
			"cnValue": "立陶宛",
			"continent": 3,
			"enValue": "Lithuania",
			"id": "0370",
			"length": 9,
			"pinyin": "litaowan",
			"validateflag": false,
			"value": "立陶宛 0370"
		},
		{
			"aleph": "mqd",
			"cnValue": "马其顿",
			"continent": 3,
			"enValue": "Macedonia",
			"id": "0389",
			"length": 9,
			"pinyin": "maqidun",
			"validateflag": false,
			"value": "马其顿 0389"
		},
		{
			"aleph": "medw",
			"cnValue": "摩尔多瓦",
			"continent": 3,
			"enValue": "Moldova",
			"id": "0373",
			"length": 9,
			"pinyin": "moerduowa",
			"validateflag": false,
			"value": "摩尔多瓦 0373"
		},
		{
			"aleph": "sewy",
			"cnValue": "塞尔维亚",
			"continent": 3,
			"enValue": "Serbia",
			"id": "0381",
			"length": 9,
			"pinyin": "saierweiya",
			"validateflag": false,
			"value": "塞尔维亚 0381"
		},
		{
			"aleph": "slwny",
			"cnValue": "斯洛文尼亚",
			"continent": 3,
			"enValue": "Slovenia",
			"id": "0386",
			"length": 9,
			"pinyin": "siluowenniya",
			"validateflag": false,
			"value": "斯洛文尼亚 0386"
		},
		{
			"aleph": "slfk",
			"cnValue": "斯洛伐克",
			"continent": 3,
			"enValue": "Slovakia",
			"id": "0421",
			"length": 9,
			"pinyin": "siluofake",
			"validateflag": false,
			"value": "斯洛伐克 0421"
		},
		{
			"aleph": "wkl",
			"cnValue": "乌克兰",
			"continent": 3,
			"enValue": "Ukraine",
			"id": "0380",
			"length": 9,
			"pinyin": "wukelan",
			"validateflag": false,
			"value": "乌克兰 0380"
		},
		{
			"aleph": "fdg",
			"cnValue": "梵蒂冈",
			"continent": 3,
			"enValue": "Vatican",
			"id": "0396",
			"length": 9,
			"pinyin": "fandigang",
			"validateflag": false,
			"value": "梵蒂冈 0396"
		},
		{
			"aleph": "mssmy",
			"cnValue": "美属萨摩亚",
			"continent": 4,
			"enValue": "American Samoa",
			"id": "0684",
			"length": 9,
			"pinyin": "meishusamoya",
			"validateflag": false,
			"value": "美属萨摩亚 0684"
		},
		{
			"aleph": "kkqd",
			"cnValue": "库克群岛",
			"continent": 4,
			"enValue": "Cook Islands",
			"id": "0682",
			"length": 9,
			"pinyin": "kukequndao",
			"validateflag": false,
			"value": "库克群岛 0682"
		},
		{
			"aleph": "mklnxy",
			"cnValue": "密克罗尼西亚",
			"continent": 4,
			"enValue": "Micronesia",
			"id": "0691",
			"length": 9,
			"pinyin": "mikeluonixiya",
			"validateflag": false,
			"value": "密克罗尼西亚 0691"
		},
		{
			"aleph": "fjqd",
			"cnValue": "斐济群岛",
			"continent": 4,
			"enValue": "Fiji Islands",
			"id": "0679",
			"length": 9,
			"pinyin": "feijiqundao",
			"validateflag": false,
			"value": "斐济群岛 0679"
		},
		{
			"aleph": "gd",
			"cnValue": "关岛",
			"continent": 4,
			"enValue": "Guam",
			"id": "1671",
			"length": 9,
			"pinyin": "guandao",
			"validateflag": false,
			"value": "关岛 1671"
		},
		{
			"aleph": "nl",
			"cnValue": "瑙鲁",
			"continent": 4,
			"enValue": "Nauru",
			"id": "0674",
			"length": 9,
			"pinyin": "naolu",
			"validateflag": false,
			"value": "瑙鲁 0674"
		},
		{
			"aleph": "xkldny",
			"cnValue": "新喀里多尼亚",
			"continent": 4,
			"enValue": "New Caledonia",
			"id": "0687",
			"length": 9,
			"pinyin": "xinkaliduoniya",
			"validateflag": false,
			"value": "新喀里多尼亚 0687"
		},
		{
			"aleph": "nad",
			"cnValue": "纽埃岛",
			"continent": 4,
			"enValue": "The Island of Nine",
			"id": "0683",
			"length": 9,
			"pinyin": "niuaidao",
			"validateflag": false,
			"value": "纽埃岛 0683"
		},
		{
			"aleph": "nfkd",
			"cnValue": "诺福克岛",
			"continent": 4,
			"enValue": "Norfolk Island",
			"id": "6723",
			"length": 9,
			"pinyin": "nuofukedao",
			"validateflag": false,
			"value": "诺福克岛 6723"
		},
		{
			"aleph": "bbyxjny",
			"cnValue": "巴布亚新几内亚",
			"continent": 4,
			"enValue": "Papua New Guinea",
			"id": "0675",
			"length": 9,
			"pinyin": "babuyaxinjineiya",
			"validateflag": false,
			"value": "巴布亚新几内亚 0675"
		},
		{
			"aleph": "fsblnxy",
			"cnValue": "法属波利尼西亚",
			"continent": 4,
			"enValue": "French Polynesia",
			"id": "0689",
			"length": 9,
			"pinyin": "fashubolinixiya",
			"validateflag": false,
			"value": "法属波利尼西亚 0689"
		},
		{
			"aleph": "slmqd",
			"cnValue": "所罗门群岛",
			"continent": 4,
			"enValue": "Solomon Islands",
			"id": "0677",
			"length": 9,
			"pinyin": "suoluomenqundao",
			"validateflag": false,
			"value": "所罗门群岛 0677"
		},
		{
			"aleph": "smy",
			"cnValue": "萨摩亚",
			"continent": 4,
			"enValue": "Samoa",
			"id": "0685",
			"length": 9,
			"pinyin": "samoya",
			"validateflag": false,
			"value": "萨摩亚 0685"
		},
		{
			"aleph": "jlbs",
			"cnValue": "基里巴斯",
			"continent": 4,
			"enValue": "Kiribati",
			"id": "0686",
			"length": 9,
			"pinyin": "jilibasi",
			"validateflag": false,
			"value": "基里巴斯 0686"
		},
		{
			"aleph": "mseqd",
			"cnValue": "马绍尔群岛",
			"continent": 4,
			"enValue": "Marshall Islands",
			"id": "0692",
			"length": 9,
			"pinyin": "mashaoerqundao",
			"validateflag": false,
			"value": "马绍尔群岛 0692"
		},
		{
			"aleph": "pl",
			"cnValue": "帕劳",
			"continent": 4,
			"enValue": "Palau",
			"id": "0680",
			"length": 9,
			"pinyin": "palao",
			"validateflag": false,
			"value": "帕劳 0680"
		},
		{
			"aleph": "wnat",
			"cnValue": "瓦努阿图",
			"continent": 4,
			"enValue": "Vanuatu",
			"id": "0678",
			"length": 9,
			"pinyin": "wanuatu",
			"validateflag": false,
			"value": "瓦努阿图 0678"
		},
		{
			"aleph": "tkl",
			"cnValue": "托克劳",
			"continent": 4,
			"enValue": "Tokelau",
			"id": "0690",
			"length": 9,
			"pinyin": "tuokelao",
			"validateflag": false,
			"value": "托克劳 0690"
		},
		{
			"aleph": "tj",
			"cnValue": "汤加",
			"continent": 4,
			"enValue": "Tonga",
			"id": "0676",
			"length": 9,
			"pinyin": "tangjia",
			"validateflag": false,
			"value": "汤加 0676"
		},
		{
			"aleph": "twl",
			"cnValue": "图瓦卢",
			"continent": 4,
			"enValue": "Tuvalu",
			"id": "0688",
			"length": 9,
			"pinyin": "tuwalu",
			"validateflag": false,
			"value": "图瓦卢 0688"
		},
		{
			"aleph": "wlshftn",
			"cnValue": "瓦利斯和富图纳",
			"continent": 4,
			"enValue": "Wallis and Futuna",
			"id": "0681",
			"length": 9,
			"pinyin": "walisihefutuna",
			"validateflag": false,
			"value": "瓦利斯和富图纳 0681"
		},
		{
			"aleph": "agl",
			"cnValue": "安哥拉",
			"continent": 5,
			"enValue": "Angola",
			"id": "0244",
			"length": 9,
			"pinyin": "angela",
			"validateflag": false,
			"value": "安哥拉 0244"
		},
		{
			"aleph": "assd",
			"cnValue": "阿森松岛",
			"continent": 5,
			"enValue": "Ascension Island",
			"id": "0247",
			"length": 9,
			"pinyin": "asensongdao",
			"validateflag": false,
			"value": "阿森松岛 0247"
		},
		{
			"aleph": "bn",
			"cnValue": "贝宁",
			"continent": 5,
			"enValue": "Benin",
			"id": "0229",
			"length": 9,
			"pinyin": "beining",
			"validateflag": false,
			"value": "贝宁 0229"
		},
		{
			"aleph": "bcwn",
			"cnValue": "博茨瓦纳",
			"continent": 5,
			"enValue": "Botswana",
			"id": "0267",
			"length": 9,
			"pinyin": "bociwana",
			"validateflag": false,
			"value": "博茨瓦纳 0267"
		},
		{
			"aleph": "bjnfs",
			"cnValue": "布基纳法索",
			"continent": 5,
			"enValue": "Burkina Faso",
			"id": "0226",
			"length": 9,
			"pinyin": "bujinafasuo",
			"validateflag": false,
			"value": "布基纳法索 0226"
		},
		{
			"aleph": "bld",
			"cnValue": "布隆迪",
			"continent": 5,
			"enValue": "Burundi",
			"id": "0257",
			"length": 9,
			"pinyin": "bulongdi",
			"validateflag": false,
			"value": "布隆迪 0257"
		},
		{
			"aleph": "kml",
			"cnValue": "喀麦隆",
			"continent": 5,
			"enValue": "Cameroon",
			"id": "0237",
			"length": 9,
			"pinyin": "kamailong",
			"validateflag": false,
			"value": "喀麦隆 0237"
		},
		{
			"aleph": "zf",
			"cnValue": "中非",
			"continent": 5,
			"enValue": "Central Africa",
			"id": "0236",
			"length": 9,
			"pinyin": "zhongfei",
			"validateflag": false,
			"value": "中非 0236"
		},
		{
			"aleph": "ktdw",
			"cnValue": "科特迪瓦",
			"continent": 5,
			"enValue": "Cote d'Ivoire",
			"id": "0225",
			"length": 9,
			"pinyin": "ketediwa",
			"validateflag": false,
			"value": "科特迪瓦 0225"
		},
		{
			"aleph": "jbt",
			"cnValue": "吉布提",
			"continent": 5,
			"enValue": "Djibouti",
			"id": "0253",
			"length": 9,
			"pinyin": "jibuti",
			"validateflag": false,
			"value": "吉布提 0253"
		},
		{
			"aleph": "aj",
			"cnValue": "埃及",
			"continent": 5,
			"enValue": "Egypt",
			"id": "0020",
			"length": 9,
			"pinyin": "aiji",
			"validateflag": false,
			"value": "埃及 0020"
		},
		{
			"aleph": "aseby",
			"cnValue": "埃塞俄比亚",
			"continent": 5,
			"enValue": "Ethiopia",
			"id": "0251",
			"length": 9,
			"pinyin": "aisaiebiya",
			"validateflag": false,
			"value": "埃塞俄比亚 0251"
		},
		{
			"aleph": "jp",
			"cnValue": "加蓬",
			"continent": 5,
			"enValue": "Gabon",
			"id": "0241",
			"length": 9,
			"pinyin": "jiapeng",
			"validateflag": false,
			"value": "加蓬 0241"
		},
		{
			"aleph": "gby",
			"cnValue": "冈比亚",
			"continent": 5,
			"enValue": "Gambia",
			"id": "0220",
			"length": 9,
			"pinyin": "gangbiya",
			"validateflag": false,
			"value": "冈比亚 0220"
		},
		{
			"aleph": "kny",
			"cnValue": "肯尼亚",
			"continent": 5,
			"enValue": "Kenya",
			"id": "0254",
			"length": 9,
			"pinyin": "kenniya",
			"validateflag": false,
			"value": "肯尼亚 0254"
		},
		{
			"aleph": "lst",
			"cnValue": "莱索托",
			"continent": 5,
			"enValue": "Lesotho",
			"id": "0266",
			"length": 9,
			"pinyin": "laisuotuo",
			"validateflag": false,
			"value": "莱索托 0266"
		},
		{
			"aleph": "lbly",
			"cnValue": "利比里亚",
			"continent": 5,
			"enValue": "Liberia",
			"id": "0231",
			"length": 9,
			"pinyin": "libiliya",
			"validateflag": false,
			"value": "利比里亚 0231"
		},
		{
			"aleph": "lby",
			"cnValue": "利比亚",
			"continent": 5,
			"enValue": "Libya",
			"id": "0218",
			"length": 9,
			"pinyin": "libiya",
			"validateflag": false,
			"value": "利比亚 0218"
		},
		{
			"aleph": "mdjsj",
			"cnValue": "马达加斯加",
			"continent": 5,
			"enValue": "Madagascar",
			"id": "0261",
			"length": 9,
			"pinyin": "madajiasijia",
			"validateflag": false,
			"value": "马达加斯加 0261"
		},
		{
			"aleph": "ml",
			"cnValue": "马里",
			"continent": 5,
			"enValue": "Mali",
			"id": "0223",
			"length": 9,
			"pinyin": "mali",
			"validateflag": false,
			"value": "马里 0223"
		},
		{
			"aleph": "mlqs",
			"cnValue": "毛里求斯",
			"continent": 5,
			"enValue": "Mauritius",
			"id": "0230",
			"length": 9,
			"pinyin": "maoliqiusi",
			"validateflag": false,
			"value": "毛里求斯 0230"
		},
		{
			"aleph": "mlg",
			"cnValue": "摩洛哥",
			"continent": 5,
			"enValue": "Morocco",
			"id": "0212",
			"length": 9,
			"pinyin": "moluoge",
			"validateflag": false,
			"value": "摩洛哥 0212"
		},
		{
			"aleph": "msbk",
			"cnValue": "莫桑比克",
			"continent": 5,
			"enValue": "Mozambique",
			"id": "0258",
			"length": 9,
			"pinyin": "mosangbike",
			"validateflag": false,
			"value": "莫桑比克 0258"
		},
		{
			"aleph": "nre",
			"cnValue": "尼日尔",
			"continent": 5,
			"enValue": "Niger",
			"id": "0227",
			"length": 9,
			"pinyin": "nirier",
			"validateflag": false,
			"value": "尼日尔 0227"
		},
		{
			"aleph": "nrly",
			"cnValue": "尼日利亚",
			"continent": 5,
			"enValue": "Nigeria",
			"id": "0234",
			"length": 9,
			"pinyin": "niriliya",
			"validateflag": false,
			"value": "尼日利亚 0234"
		},
		{
			"aleph": "aejly",
			"cnValue": "阿尔及利亚",
			"continent": 5,
			"enValue": "Algeria",
			"id": "0213",
			"length": 9,
			"pinyin": "aerjiliya",
			"validateflag": false,
			"value": "阿尔及利亚 0213"
		},
		{
			"aleph": "lnwd",
			"cnValue": "留尼旺岛",
			"continent": 5,
			"enValue": "Reunion Islands",
			"id": "0262",
			"length": 9,
			"pinyin": "liuniwangdao",
			"validateflag": false,
			"value": "留尼旺岛 0262"
		},
		{
			"aleph": "shlnd",
			"cnValue": "圣赫勒拿岛",
			"continent": 5,
			"enValue": "Saint Helena",
			"id": "0290",
			"length": 9,
			"pinyin": "shenghelenadao",
			"validateflag": false,
			"value": "圣赫勒拿岛 0290"
		},
		{
			"aleph": "sdmhplxb",
			"cnValue": "圣多美和普林西比",
			"continent": 5,
			"enValue": "Sao Tome and Principe",
			"id": "0239",
			"length": 9,
			"pinyin": "shengduomeihepulinxibi",
			"validateflag": false,
			"value": "圣多美和普林西比 0239"
		},
		{
			"aleph": "snje",
			"cnValue": "塞内加尔",
			"continent": 5,
			"enValue": "Senegal",
			"id": "0221",
			"length": 9,
			"pinyin": "saineijiaer",
			"validateflag": false,
			"value": "塞内加尔 0221"
		},
		{
			"aleph": "sse",
			"cnValue": "塞舌尔",
			"continent": 5,
			"enValue": "Seychelles",
			"id": "0248",
			"length": 9,
			"pinyin": "saisheer",
			"validateflag": false,
			"value": "塞舌尔 0248"
		},
		{
			"aleph": "slla",
			"cnValue": "塞拉利昂",
			"continent": 5,
			"enValue": "Sierra Leone",
			"id": "0232",
			"length": 9,
			"pinyin": "sailaliang",
			"validateflag": false,
			"value": "塞拉利昂 0232"
		},
		{
			"aleph": "eltly",
			"cnValue": "厄立特里亚",
			"continent": 5,
			"enValue": "Eritrea",
			"id": "0291",
			"length": 9,
			"pinyin": "eliteliya",
			"validateflag": false,
			"value": "厄立特里亚 0291"
		},
		{
			"aleph": "swsl",
			"cnValue": "斯威士兰",
			"continent": 5,
			"enValue": "Swaziland",
			"id": "0268",
			"length": 9,
			"pinyin": "siweishilan",
			"validateflag": false,
			"value": "斯威士兰 0268"
		},
		{
			"aleph": "tsny",
			"cnValue": "坦桑尼亚",
			"continent": 5,
			"enValue": "Tanzania",
			"id": "0255",
			"length": 9,
			"pinyin": "tansangniya",
			"validateflag": false,
			"value": "坦桑尼亚 0255"
		},
		{
			"aleph": "mltny",
			"cnValue": "毛里塔尼亚",
			"continent": 5,
			"enValue": "Mauritania",
			"id": "0222",
			"length": 9,
			"pinyin": "maolitaniya",
			"validateflag": false,
			"value": "毛里塔尼亚 0222"
		},
		{
			"aleph": "fdj",
			"cnValue": "佛得角",
			"continent": 5,
			"enValue": "Cape Verde",
			"id": "0238",
			"length": 9,
			"pinyin": "fodejiao",
			"validateflag": false,
			"value": "佛得角 0238"
		},
		{
			"aleph": "zd",
			"cnValue": "乍得",
			"continent": 5,
			"enValue": "Chad",
			"id": "0235",
			"length": 9,
			"pinyin": "zhade",
			"validateflag": false,
			"value": "乍得 0235"
		},
		{
			"aleph": "cdjny",
			"cnValue": "赤道几内亚",
			"continent": 5,
			"enValue": "Equatorial Guinea",
			"id": "0240",
			"length": 9,
			"pinyin": "chidaojineiya",
			"validateflag": false,
			"value": "赤道几内亚 0240"
		},
		{
			"aleph": "jn",
			"cnValue": "加纳",
			"continent": 5,
			"enValue": "Ghana",
			"id": "0233",
			"length": 9,
			"pinyin": "jiana",
			"validateflag": false,
			"value": "加纳 0233"
		},
		{
			"aleph": "jny",
			"cnValue": "几内亚",
			"continent": 5,
			"enValue": "Guinea",
			"id": "0224",
			"length": 9,
			"pinyin": "jineiya",
			"validateflag": false,
			"value": "几内亚 0224"
		},
		{
			"aleph": "jnybs",
			"cnValue": "几内亚比绍",
			"continent": 5,
			"enValue": "Guinea-Bissau",
			"id": "0245",
			"length": 9,
			"pinyin": "jineiyabishao",
			"validateflag": false,
			"value": "几内亚比绍 0245"
		},
		{
			"aleph": "mlw",
			"cnValue": "马拉维",
			"continent": 5,
			"enValue": "Malawi",
			"id": "0265",
			"length": 9,
			"pinyin": "malawei",
			"validateflag": false,
			"value": "马拉维 0265"
		},
		{
			"aleph": "nmby",
			"cnValue": "纳米比亚",
			"continent": 5,
			"enValue": "Namibia",
			"id": "0264",
			"length": 9,
			"pinyin": "namibiya",
			"validateflag": false,
			"value": "纳米比亚 0264"
		},
		{
			"aleph": "lwd",
			"cnValue": "卢旺达",
			"continent": 5,
			"enValue": "Rwanda",
			"id": "0250",
			"length": 9,
			"pinyin": "luwangda",
			"validateflag": false,
			"value": "卢旺达 0250"
		},
		{
			"aleph": "nf",
			"cnValue": "南非",
			"continent": 5,
			"enValue": "South Africa",
			"id": "0027",
			"length": 9,
			"pinyin": "nanfei",
			"validateflag": false,
			"value": "南非 0027"
		},
		{
			"aleph": "sml",
			"cnValue": "索马里",
			"continent": 5,
			"enValue": "Somalia",
			"id": "0252",
			"length": 9,
			"pinyin": "suomali",
			"validateflag": false,
			"value": "索马里 0252"
		},
		{
			"aleph": "dg",
			"cnValue": "多哥",
			"continent": 5,
			"enValue": "Togo",
			"id": "0228",
			"length": 9,
			"pinyin": "duoge",
			"validateflag": false,
			"value": "多哥 0228"
		},
		{
			"aleph": "tns",
			"cnValue": "突尼斯",
			"continent": 5,
			"enValue": "Tunisia",
			"id": "0216",
			"length": 9,
			"pinyin": "tunisi",
			"validateflag": false,
			"value": "突尼斯 0216"
		},
		{
			"aleph": "wgd",
			"cnValue": "乌干达",
			"continent": 5,
			"enValue": "Uganda",
			"id": "0256",
			"length": 9,
			"pinyin": "wuganda",
			"validateflag": false,
			"value": "乌干达 0256"
		},
		{
			"aleph": "kml",
			"cnValue": "科摩罗",
			"continent": 5,
			"enValue": "Comoros",
			"id": "0269",
			"length": 9,
			"pinyin": "kemoluo",
			"validateflag": false,
			"value": "科摩罗 0269"
		},
		{
			"aleph": "xshl",
			"cnValue": "西撒哈拉",
			"continent": 5,
			"enValue": "Western Sahara",
			"id": "0210",
			"length": 9,
			"pinyin": "xisahala",
			"validateflag": false,
			"value": "西撒哈拉 0210"
		},
		{
			"aleph": "zby",
			"cnValue": "赞比亚",
			"continent": 5,
			"enValue": "Zambia",
			"id": "0260",
			"length": 9,
			"pinyin": "zanbiya",
			"validateflag": false,
			"value": "赞比亚 0260"
		},
		{
			"aleph": "jbbw",
			"cnValue": "津巴布韦",
			"continent": 5,
			"enValue": "Zimbabwe",
			"id": "0263",
			"length": 9,
			"pinyin": "jinbabuwei",
			"validateflag": false,
			"value": "津巴布韦 0263"
		}
	]
	export default {
		name: "dataExportTool",
		components: {
			yearSelector
		},
		data() {
			return {
				loading: false,
				params: {
					indicator: {
						searchSelect: [],
						show: false,
						showCategoryIndex: 0,
					},
					world: {
						searchSelect: [],
						searchList: [],
						countryList: [{
								label: this.$i18n.locale == 'zh' ? '亚洲' : 'ASIA',
								labelEn: 'ASIA',
								children: [],
							},
							{
								label: this.$i18n.locale == 'zh' ? '非洲' : 'AFRICA',
								labelEn: 'AFRICA',
								children: [],
							},
							{
								label: this.$i18n.locale == 'zh' ? '欧洲' : 'EUROPE',
								labelEn: 'EUROPE',
								children: [],
							},
							{
								label: this.$i18n.locale == 'zh' ? '北美洲' : 'NORTH AMERICA',
								labelEn: 'NORTH AMERICA',
								children: [],
							},
							{
								label: this.$i18n.locale == 'zh' ? '南美洲' : 'SOUTH AMERICA',
								labelEn: 'SOUTH AMERICA',
								children: [],
							},
							{
								label: this.$i18n.locale == 'zh' ? '大洋洲' : 'OCEANIA',
								labelEn: 'OCEANIA',
								children: [],
							},
						],
						originalCountryData: [],
						show: false,
						showCategoryIndex: 0,
					},
					time: {
						startDate: 2013,
						endDate: 2020,
						showDateFlag: false,
					}
				},
				correlationIconList: [{
						icon: require('@/static/img/infomationdata/shehuijingji/jingji.png'),
						label: '基础经济'
					},
					{
						icon: require('@/static/img/infomationdata/shehuijingji/maoyi.png'),
						label: '贸易'
					},
					{
						icon: require('@/static/img/infomationdata/shehuijingji/renkou.png'),
						label: '人口'
					},
					{
						icon: require('@/static/img/infomationdata/shehuijingji/guotu.png'),
						label: '国土'
					},
					{
						icon: require('@/static/img/infomationdata/nengyuan/shengcheng.png'),
						label: '能源生产'
					},
					{
						icon: require('@/static/img/infomationdata/nengyuan/xiaofei.png'),
						label: '能源消费'
					},
					{
						icon: require('@/static/img/infomationdata/nengyuan/zhuanhua.png'),
						label: '能源转化'
					},
					{
						icon: require('@/static/img/infomationdata/dianli/fadianzhuangzhi.png'),
						label: '发电装机'
					},
					{
						icon: require('@/static/img/infomationdata/dianli/fadian.png'),
						label: '发电'
					},
					{
						icon: require('@/static/img/infomationdata/dianli/yongdian.png'),
						label: '用电'
					},
					{
						icon: require('@/static/img/infomationdata/qihou/huanjing.png'),
						label: '排放量'
					},
				],
				exportId: [],
				exportPoll: '',
				removeShow: false,
				removeType: '',
				removeData: {},
			}
		},
		computed: {
			indicatorList() {
				let arr = []
				if (this.params.indicator.searchSelect && this.params.indicator.searchSelect.length >= 5) {
					arr = [...this.params.indicator.searchSelect]
				} else {
					arr = [...this.params.indicator.searchSelect, {
						"label": '',
						add: true
					}]
				}
				return arr;
			},
			worldList() {
				let arr = []
				if (this.params.world.searchSelect && this.params.world.searchSelect.length >= 5) {
					arr = [...this.params.world.searchSelect]
				} else {
					arr = [...this.params.world.searchSelect, {
						"label": '',
						add: true
					}]
				}
				return arr;
			},
		},
		watch: {
			exportId(n, o) {
				let _this = this;
				if (_this.exportId.length > 0) {

				} else {
					this.loading = false
				}
				clearInterval(this.exportPoll)
				this.exportPoll = setInterval(() => {
					_this.exportId.forEach(item => {
						_this.getTime(item)
					})
				}, 2000)
			}
		},
		created() {
			this.init()
		},
		async mounted() {
			_self = this;
			this.cWidth = uni.upx2px(750);
			this.cHeight = uni.upx2px(500);
		},
		methods: {
			async init() {
				await this.getServerData()
				await this.getCountryList()
			},
			i18n(data) {
				return this.$t('common.' + data);
			},
			isJsonString(str) {
				try {
					if (typeof JSON.parse(str) == "object") {
						return true;
					}
				} catch (e) {}
				return false;
			},
			/**
			 * 指标
			 */
			async getServerData() {
				const res = await this.$myRequest({
					url: '/op/geiIntegratedDataMenus/getMenu',
					data: {}
				});
				this.params.indicator.searchList = res.data;
				this.setIcon(this.params.indicator.searchList, null)
			},
			setIcon(data, parent) {
				data.forEach(item => {
					this.correlationIconList.forEach(icon => {
						if (item.indexName == icon.label) {
							item.icon = icon.icon;
						} else {
							if (parent && parent.icon) {
								item.icon = parent.icon;
							}
						}
					})
					if (item.child && item.child.length != 0) {
						this.setIcon(item.child, item)
					}
				})
			},
			addIndicator() {
				this.params.indicator.show = true
			},
			getCategory1({
				item,
				index,
				ifClick
			}) {
				this.params.indicator.searchSelect.push({
					icon: item.icon,
					"label": this.$i18n.locale == 'zh' ? item.indexName : item.indexEnName,
					"item": {
						"indexName": item.indexName,
						"indexEnName": item.indexEnName,
						"source": item.source
					}
				})
				this.$forceUpdate()
				this.params.indicator.show = false
			},
			/**
			 * 国家/地区
			 */
			async getCountryList() {
				this.params.world.originalCountryData = this.$i18n.locale === 'zh' ?
					await this.$api.json('originalCountryDataZH') :
					await this.$api.json('originalCountryDataEN');
				this.params.world.countryList.forEach(originalItem => {
					this.params.world.originalCountryData.forEach((item, j) => {
						if (item.COUNTRY_EN_NAME === originalItem.labelEn) {
							originalItem.COUNTRY_ID = item.COUNTRY_ID;
							originalItem.COUNTRY_CN_NAME = item.COUNTRY_CN_NAME;
							originalItem.COUNTRY_EN_NAME = item.COUNTRY_EN_NAME;
						}
						if (item.CONTINENT_EN_NAME === originalItem.labelEn) {
							item.value = item.COUNTRY_ID;
							item.label = this.$i18n.locale == 'zh' ? item.COUNTRY_CN_NAME : item
								.COUNTRY_EN_NAME;
							originalItem.children.push(item);
						}
					})
				})
			},
			addWorld() {
				this.params.world.show = true
			},
			getCategory2({
				item,
				index,
				ifClick
			}) {
				let temp = countryPinyin.filter(it => it.cnValue == item.COUNTRY_CN_NAME)[0]
				this.params.world.searchSelect.push({
					icon: (temp && temp.pinyin) ? require('@/static/img/nationalflag/' + temp.pinyin + '_' + temp
						.id + '.png') : '',
					"label": this.$i18n.locale == 'zh' ? item.COUNTRY_CN_NAME : item.COUNTRY_EN_NAME,
					"item": item
				})
				this.$forceUpdate()
				this.params.world.show = false
			},
			removeIndicator(item, type) {
				this.removeShow = true
				this.removeType = type
				this.removeData = item
			},
			removeWorld(item, type) {
				this.removeShow = true
				this.removeType = type
				this.removeData = item
			},
			removeConfirm() {
				if (this.removeType == 'indicator') {
					this.params.indicator.searchSelect = this.params.indicator.searchSelect.filter((item) => item != this
						.removeData)
				}
				if (this.removeType == 'world') {
					this.params.world.searchSelect = this.params.world.searchSelect.filter((item) => item != this
						.removeData)
				}
				this.removeCancel()
			},
			removeCancel() {
				this.removeShow = false
				this.removeType = ''
				this.removeData = {}
			},
			/**
			 * 年份
			 */
			// 日历选择
			getTimeValue(e) {
				this.params.time.startDate = e[0]
				this.params.time.endDate = e[1]
				this.params.time.showDateFlag = false
			},
			timeCancel(e) {
				if (e) {
					this.$refs.uToast.show({
						title: this.$i18n.locale == 'zh' ? '请正确选择时间，时间段为7年内' :
							'Please select the right time period within 7 years',
						type: 'error',
					});
				}
				this.params.time.showDateFlag = false
			},
			addTime() {
				this.params.time.showDateFlag = true
			},
			// 重置按钮
			Reset() {
				this.$emit('reset', 2)
			},
			/**
			 * 导出
			 */
			async selectExportType(data) {
				let _this = this
				this.loading = true
				let source = this.params.indicator.searchSelect.map(item => JSON.parse(item.item.source));
				let sources = []
				source.forEach(item => {
					sources.push(this.getSubmitSource(item))
				})
				let id = this.randomString(18)
				try {
					const resId = await this.$myRequest({
						url: '/op/geiIntegratedDataMenus/getRandomId',
						method: 'get',
						data: {
							uuid: id
						},
					});
					let params = {
						"Source": sources,
						"country": _this.params.world.searchSelect.map(item => item.item.COUNTRY_CN_NAME),
						"time": [String(this.params.time.startDate), String(this.params.time.endDate)],
						"language": this.$i18n.locale,
						"type": {
							"rule": 'CIRCLE'
						}
					}
					const res = await this.$myRequest({
						url: '/op/geiIntegratedDataMenus/saveFile',
						data: {
							...params
						},
						method: 'post',
					});
					if (res) {
						this.exportId.push({
							type: data,
							id: id
						})
					}
				} catch (e) {
					this.loading = false
					let eg = _this.$i18n.locale == 'zh' ? '失败请重新下载' : 'Please download again if failed'
					uni.showToast({
						icon: 'none',
						mask: true,
						title: eg,
					});
				}
			},
			async getTime(id) {
				let _this = this
				const res = await this.$myRequest({
					url: '/op/geiIntegratedDataMenus/getTime',
					method: 'get',
					data: {
						uuid: id.id
					},
				});
				if (res.data && res.status == '200') {
					let url = id.type == 'EXCEL' ? res.data[0] : res.data[1]
					this.exportId = this.exportId.filter(item => item.id != id.id)
					this.download(url)
				} else if (res.data && res.status == '500') {
					this.exportId = this.exportId.filter(item => item.id != id.id)
					let eg = _this.$i18n.locale == 'zh' ? '失败请重新下载' : 'Please download again if failed'
					uni.showToast({
						icon: 'none',
						mask: true,
						title: eg,
					});
				}
			},
			download(url) {
				let _this = this
				// this.playpapers(this.websiteUrl + url)
				uni.downloadFile({
					url: 'https://m.geidcp.com/api/file/pub/' + url,
					success: (data) => {
						if (data.statusCode === 200) {
							//文件保存到本地
							// #ifdef APP-PLUS
							uni.saveFile({
								tempFilePath: data.tempFilePath, //临时路径
								success: function(res) {
									let eg = _this.$i18n.locale == 'zh' ? '文件已保存:' :
										'The file is saved:'
									uni.showToast({
										icon: 'none',
										mask: true,
										title: eg + res.savedFilePath, //保存路径
										duration: 3000,
									});
									setTimeout(() => {
										//打开文档查看
										uni.openDocument({
											filePath: res.savedFilePath,
											success: function(res) {
												// console.log('打开文档成功');
											}
										});
									}, 3000)
								}
							});
							// #endif
						} else {
							let eg = _this.$i18n.locale == 'zh' ? '失败请重新下载' : 'Please download again if failed'
							uni.showToast({
								icon: 'none',
								mask: true,
								title: eg,
							});
						}
					},
					fail: (err) => {
						let eg = _this.$i18n.locale == 'zh' ? '失败请重新下载' : 'Please download again if failed'
						uni.showToast({
							icon: 'none',
							mask: true,
							title: eg,
						});
					},
				});
			},
			playpapers(url) {

				let dload = document.createElement("a");

				dload.download = ''; // 设置下载的文件名，默认是'下载'

				dload.href = url;

				document.body.appendChild(dload);

				dload.click();

				dload.remove(); // 下载之后把创建的元素删除
			},
			randomString(length) {
				let str = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
				let result = '';
				for (let i = length; i > 0; --i)
					result += str[Math.floor(Math.random() * str.length)];
				return result;
			},

			/**
			 * 查询优先级
			 */
			getSubmitSource(sources) {
				let dataSources = [];
				let sourceKeys = Object.keys(sources);
				sourceKeys.forEach(item => {
					dataSources.push({
						label: item,
						value: JSON.stringify({
							[item]: sources[item]
						})
					})
				})
				let buer = sourceKeys.indexOf("IEA") > -1 ? true : false;
				if (buer == true) {
					let i = sourceKeys.indexOf("IEA")
					// 如果本条数据的dataSources里有IEA就使用IEA作为查询时使用的数据源
					return JSON.parse(dataSources[i].value);
				} else {
					// 由于客户没有英国石油公司的数据使用权限,所以不能用英国石油公司的数据源查询
					return JSON.parse(dataSources[0].value)
				}
			},
			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;
				}
			},
	
	}
}
</script>

<style scoped lang="scss">
	.dataExportTool {
		.relevant {
			background-color: #fff;

			.relevantTitle {
				padding: 20upx;
				position: relative;
				overflow: hidden;
				text-indent: 10upx;
			}

			.relevantTitle:after {
				content: "";
				width: 6upx;
				height: 30upx;
				background: #1777FE;
				position: absolute;
				left: 10upx;
				top: 50%;
				text-indent: 8upx;
				margin-top: -18upx;
			}

			.relevantScroll {
				overflow: hidden;
				white-space: nowrap; // 滚动必须加的属性
				width: 100%;
				height: 240upx;
				margin: 0 auto;
			}

			.scroll-item {
				display: inline-block;
				font-size: 26upx;
				/*margin:20upx 20upx;*/
				text-align: center;
				cursor: pointer;
				width: 25%;
				height: 240upx;
				box-sizing: border-box;

				.icon {
					position: relative;
					overflow: hidden;
					max-width: 100upx;
					margin: 20upx auto 10upx;

					img {
						display: block;
						width: 100%;
					}
				}

				.labelText {
					width: 100%;
					//word-break: break-all;
					text-overflow: ellipsis;
					overflow: hidden;
					white-space: normal;
					//display: -webkit-box;
					//-webkit-line-clamp: 2;
					//-webkit-box-orient: vertical;
				}
			}
		}

		.btnList {
			background-color: #fff;
			display: flex;
			padding: 20upx 0;
			box-sizing: border-box;
			justify-content: center;

			.btn {
				width: auto;
				margin: 0 20upx;
				padding: 0 40upx;
				border-radius: 70upx;
			}
		}
	}
</style>
<style scoped lang="scss">
	.left {
		position: absolute;
		height: 100%;
		top: 0;
		bottom: 0upx;
		width: 24%;
		left: 0upx;
		background: #F2F2F2;

	}

	.right {
		position: absolute;
		height: 100%;
		top: 0;
		bottom: 0upx;
		width: 76%;
		left: 24%;
		background-color: #fff;
		margin-left: 0;
		padding: 0 20upx;
	}

	.row {
		width: 100%;
		height: 90upx;
		display: flex;
		align-items: center;

		.text {
			width: 100%;
			position: relative;
			font-size: 28upx;
			display: flex;
			justify-content: center;
			color: #3c3c3c;
			text-align: center;

			.block {
				position: absolute;
				width: 0upx;
				left: 0;
			}
		}

		&.on {
			height: 90upx;
			background-color: #fff;

			.text {
				font-size: 30upx;
				color: #1677FD;

				.block {
					width: 6upx;
					height: 100%;
					left: 10upx;
				}
			}

			&:before {
				content: "";
				position: absolute;
				left: 10upx;
				width: 10upx;
				height: 60upx;
				background-color: rgba(22, 119, 253, 0.8);
			}
		}
	}

	.threemenu {
		display: flex;
		flex-wrap: wrap;
	}

	.getCategory {
		height: 90upx;
		line-height: 90upx;
		font-weight: 700;
		//color: #0079ef;
	}

	.cate {
		display: inline-block;
		width: 240upx;
		vertical-align: middle;
		margin-right: 20upx;
	}

	.cateText {
		padding: 10upx;
		margin: 10upx 20upx 10upx 0;
		display: inline-block;
		width: 240upx;
		vertical-align: middle;
		background: #f1f2f3;
		text-align: center;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.cateTextActive {
		padding: 10upx;
		margin: 10upx 20upx 10upx 0;
		display: inline-block;
		width: 240upx;
		vertical-align: middle;
		background-color: #0079ef;
		color: #fff;
		text-align: center;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.contry-btn {
		height: 50upx;
		display: inline-block;
		line-height: 50upx;
	}
</style>
