-
Notifications
You must be signed in to change notification settings - Fork 26
/
picker.city.js
13576 lines (13576 loc) · 226 KB
/
picker.city.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
module.exports =[{
"value": 110000,
"text": "北京市",
"children": [{
"value": 110100,
"text": "北京市",
"children": [{
"value": 110101,
"text": "东城区"
},
{
"value": 110102,
"text": "西城区"
},
{
"value": 110105,
"text": "朝阳区"
},
{
"value": 110106,
"text": "丰台区"
},
{
"value": 110107,
"text": "石景山区"
},
{
"value": 110108,
"text": "海淀区"
},
{
"value": 110109,
"text": "门头沟区"
},
{
"value": 110111,
"text": "房山区"
},
{
"value": 110112,
"text": "通州区"
},
{
"value": 110113,
"text": "顺义区"
},
{
"value": 110114,
"text": "昌平区"
},
{
"value": 110115,
"text": "大兴区"
},
{
"value": 110116,
"text": "怀柔区"
},
{
"value": 110117,
"text": "平谷区"
},
{
"value": 110118,
"text": "密云区"
},
{
"value": 110119,
"text": "延庆区"
}
]
}]
},
{
"value": 120000,
"text": "天津市",
"children": [{
"value": 120100,
"text": "天津市",
"children": [{
"value": 120101,
"text": "和平区"
},
{
"value": 120102,
"text": "河东区"
},
{
"value": 120103,
"text": "河西区"
},
{
"value": 120104,
"text": "南开区"
},
{
"value": 120105,
"text": "河北区"
},
{
"value": 120106,
"text": "红桥区"
},
{
"value": 120110,
"text": "东丽区"
},
{
"value": 120111,
"text": "西青区"
},
{
"value": 120112,
"text": "津南区"
},
{
"value": 120113,
"text": "北辰区"
},
{
"value": 120114,
"text": "武清区"
},
{
"value": 120115,
"text": "宝坻区"
},
{
"value": 120116,
"text": "滨海新区"
},
{
"value": 120117,
"text": "宁河区"
},
{
"value": 120118,
"text": "静海区"
},
{
"value": 120119,
"text": "蓟州区"
}
]
}]
},
{
"value": 130000,
"text": "河北省",
"children": [{
"value": 130100,
"text": "石家庄市",
"children": [{
"value": 130102,
"text": "长安区"
},
{
"value": 130104,
"text": "桥西区"
},
{
"value": 130105,
"text": "新华区"
},
{
"value": 130107,
"text": "井陉矿区"
},
{
"value": 130108,
"text": "裕华区"
},
{
"value": 130109,
"text": "藁城区"
},
{
"value": 130110,
"text": "鹿泉区"
},
{
"value": 130111,
"text": "栾城区"
},
{
"value": 130121,
"text": "井陉县"
},
{
"value": 130123,
"text": "正定县"
},
{
"value": 130125,
"text": "行唐县"
},
{
"value": 130126,
"text": "灵寿县"
},
{
"value": 130127,
"text": "高邑县"
},
{
"value": 130128,
"text": "深泽县"
},
{
"value": 130129,
"text": "赞皇县"
},
{
"value": 130130,
"text": "无极县"
},
{
"value": 130131,
"text": "平山县"
},
{
"value": 130132,
"text": "元氏县"
},
{
"value": 130133,
"text": "赵县"
},
{
"value": 130181,
"text": "辛集市"
},
{
"value": 130183,
"text": "晋州市"
},
{
"value": 130184,
"text": "新乐市"
}
]
},
{
"value": 130200,
"text": "唐山市",
"children": [{
"value": 130202,
"text": "路南区"
},
{
"value": 130203,
"text": "路北区"
},
{
"value": 130204,
"text": "古冶区"
},
{
"value": 130205,
"text": "开平区"
},
{
"value": 130207,
"text": "丰南区"
},
{
"value": 130208,
"text": "丰润区"
},
{
"value": 130209,
"text": "曹妃甸区"
},
{
"value": 130224,
"text": "滦南县"
},
{
"value": 130225,
"text": "乐亭县"
},
{
"value": 130227,
"text": "迁西县"
},
{
"value": 130229,
"text": "玉田县"
},
{
"value": 130281,
"text": "遵化市"
},
{
"value": 130283,
"text": "迁安市"
},
{
"value": 130284,
"text": "滦州市"
}
]
},
{
"value": 130300,
"text": "秦皇岛市",
"children": [{
"value": 130302,
"text": "海港区"
},
{
"value": 130303,
"text": "山海关区"
},
{
"value": 130304,
"text": "北戴河区"
},
{
"value": 130306,
"text": "抚宁区"
},
{
"value": 130321,
"text": "青龙满族自治县"
},
{
"value": 130322,
"text": "昌黎县"
},
{
"value": 130324,
"text": "卢龙县"
}
]
},
{
"value": 130400,
"text": "邯郸市",
"children": [{
"value": 130402,
"text": "邯山区"
},
{
"value": 130403,
"text": "丛台区"
},
{
"value": 130404,
"text": "复兴区"
},
{
"value": 130406,
"text": "峰峰矿区"
},
{
"value": 130407,
"text": "肥乡区"
},
{
"value": 130408,
"text": "永年区"
},
{
"value": 130423,
"text": "临漳县"
},
{
"value": 130424,
"text": "成安县"
},
{
"value": 130425,
"text": "大名县"
},
{
"value": 130426,
"text": "涉县"
},
{
"value": 130427,
"text": "磁县"
},
{
"value": 130430,
"text": "邱县"
},
{
"value": 130431,
"text": "鸡泽县"
},
{
"value": 130432,
"text": "广平县"
},
{
"value": 130433,
"text": "馆陶县"
},
{
"value": 130434,
"text": "魏县"
},
{
"value": 130435,
"text": "曲周县"
},
{
"value": 130481,
"text": "武安市"
}
]
},
{
"value": 130500,
"text": "邢台市",
"children": [{
"value": 130502,
"text": "桥东区"
},
{
"value": 130503,
"text": "桥西区"
},
{
"value": 130521,
"text": "邢台县"
},
{
"value": 130522,
"text": "临城县"
},
{
"value": 130523,
"text": "内丘县"
},
{
"value": 130524,
"text": "柏乡县"
},
{
"value": 130525,
"text": "隆尧县"
},
{
"value": 130526,
"text": "任县"
},
{
"value": 130527,
"text": "南和县"
},
{
"value": 130528,
"text": "宁晋县"
},
{
"value": 130529,
"text": "巨鹿县"
},
{
"value": 130530,
"text": "新河县"
},
{
"value": 130531,
"text": "广宗县"
},
{
"value": 130532,
"text": "平乡县"
},
{
"value": 130533,
"text": "威县"
},
{
"value": 130534,
"text": "清河县"
},
{
"value": 130535,
"text": "临西县"
},
{
"value": 130581,
"text": "南宫市"
},
{
"value": 130582,
"text": "沙河市"
}
]
},
{
"value": 130600,
"text": "保定市",
"children": [{
"value": 130602,
"text": "竞秀区"
},
{
"value": 130606,
"text": "莲池区"
},
{
"value": 130607,
"text": "满城区"
},
{
"value": 130608,
"text": "清苑区"
},
{
"value": 130609,
"text": "徐水区"
},
{
"value": 130623,
"text": "涞水县"
},
{
"value": 130624,
"text": "阜平县"
},
{
"value": 130626,
"text": "定兴县"
},
{
"value": 130627,
"text": "唐县"
},
{
"value": 130628,
"text": "高阳县"
},
{
"value": 130629,
"text": "容城县"
},
{
"value": 130630,
"text": "涞源县"
},
{
"value": 130631,
"text": "望都县"
},
{
"value": 130632,
"text": "安新县"
},
{
"value": 130633,
"text": "易县"
},
{
"value": 130634,
"text": "曲阳县"
},
{
"value": 130635,
"text": "蠡县"
},
{
"value": 130636,
"text": "顺平县"
},
{
"value": 130637,
"text": "博野县"
},
{
"value": 130638,
"text": "雄县"
},
{
"value": 130681,
"text": "涿州市"
},
{
"value": 130682,
"text": "定州市"
},
{
"value": 130683,
"text": "安国市"
},
{
"value": 130684,
"text": "高碑店市"
}
]
},
{
"value": 130700,
"text": "张家口市",
"children": [{
"value": 130702,
"text": "桥东区"
},
{
"value": 130703,
"text": "桥西区"
},
{
"value": 130705,
"text": "宣化区"
},
{
"value": 130706,
"text": "下花园区"
},
{
"value": 130708,
"text": "万全区"
},
{
"value": 130709,
"text": "崇礼区"
},
{
"value": 130722,
"text": "张北县"
},
{
"value": 130723,
"text": "康保县"
},
{
"value": 130724,
"text": "沽源县"
},
{
"value": 130725,
"text": "尚义县"
},
{
"value": 130726,
"text": "蔚县"
},
{
"value": 130727,
"text": "阳原县"
},
{
"value": 130728,
"text": "怀安县"
},
{
"value": 130730,
"text": "怀来县"
},
{
"value": 130731,
"text": "涿鹿县"
},
{
"value": 130732,
"text": "赤城县"
}
]
},
{
"value": 130800,
"text": "承德市",
"children": [{
"value": 130802,
"text": "双桥区"
},
{
"value": 130803,
"text": "双滦区"
},
{
"value": 130804,
"text": "鹰手营子矿区"
},
{
"value": 130821,
"text": "承德县"
},
{
"value": 130822,
"text": "兴隆县"
},
{
"value": 130824,
"text": "滦平县"
},
{
"value": 130825,
"text": "隆化县"
},
{
"value": 130826,
"text": "丰宁满族自治县"
},
{
"value": 130827,
"text": "宽城满族自治县"
},
{
"value": 130828,
"text": "围场满族蒙古族自治县"
},
{
"value": 130881,
"text": "平泉市"
}
]
},
{
"value": 130900,
"text": "沧州市",
"children": [{
"value": 130902,
"text": "新华区"
},
{
"value": 130903,
"text": "运河区"
},
{
"value": 130921,
"text": "沧县"
},
{
"value": 130922,
"text": "青县"
},
{
"value": 130923,
"text": "东光县"
},
{
"value": 130924,
"text": "海兴县"
},
{
"value": 130925,
"text": "盐山县"
},
{
"value": 130926,
"text": "肃宁县"
},
{
"value": 130927,
"text": "南皮县"
},
{
"value": 130928,
"text": "吴桥县"
},
{
"value": 130929,
"text": "献县"
},
{
"value": 130930,
"text": "孟村回族自治县"
},
{
"value": 130981,
"text": "泊头市"
},
{
"value": 130982,
"text": "任丘市"
},
{
"value": 130983,
"text": "黄骅市"
},
{
"value": 130984,
"text": "河间市"
}
]
},
{
"value": 131000,
"text": "廊坊市",
"children": [{
"value": 131002,
"text": "安次区"
},
{
"value": 131003,
"text": "广阳区"
},
{
"value": 131022,
"text": "固安县"
},
{
"value": 131023,
"text": "永清县"
},
{
"value": 131024,
"text": "香河县"
},
{
"value": 131025,
"text": "大城县"
},
{
"value": 131026,
"text": "文安县"
},
{
"value": 131028,
"text": "大厂回族自治县"
},
{
"value": 131081,
"text": "霸州市"
},
{
"value": 131082,
"text": "三河市"
}
]
},
{
"value": 131100,
"text": "衡水市",
"children": [{
"value": 131102,
"text": "桃城区"
},
{
"value": 131103,
"text": "冀州区"
},
{
"value": 131121,
"text": "枣强县"
},
{
"value": 131122,
"text": "武邑县"
},
{
"value": 131123,
"text": "武强县"
},
{
"value": 131124,
"text": "饶阳县"
},
{
"value": 131125,
"text": "安平县"
},
{
"value": 131126,
"text": "故城县"
},
{
"value": 131127,
"text": "景县"
},
{
"value": 131128,
"text": "阜城县"
},
{
"value": 131182,
"text": "深州市"
}
]
}
]
},
{
"value": 140000,
"text": "山西省",
"children": [{
"value": 140100,
"text": "太原市",
"children": [{
"value": 140105,
"text": "小店区"
},
{
"value": 140106,
"text": "迎泽区"
},
{
"value": 140107,
"text": "杏花岭区"
},
{
"value": 140108,
"text": "尖草坪区"
},
{
"value": 140109,
"text": "万柏林区"
},
{
"value": 140110,
"text": "晋源区"
},
{
"value": 140121,
"text": "清徐县"
},
{
"value": 140122,
"text": "阳曲县"
},
{
"value": 140123,
"text": "娄烦县"
},
{
"value": 140181,
"text": "古交市"
}
]
},
{
"value": 140200,
"text": "大同市",
"children": [{
"value": 140212,
"text": "新荣区"
},
{
"value": 140213,
"text": "平城区"
},
{
"value": 140214,
"text": "云冈区"
},
{
"value": 140215,
"text": "云州区"
},
{
"value": 140221,
"text": "阳高县"
},
{
"value": 140222,
"text": "天镇县"
},
{
"value": 140223,
"text": "广灵县"
},
{
"value": 140224,
"text": "灵丘县"
},
{
"value": 140225,
"text": "浑源县"
},
{
"value": 140226,
"text": "左云县"
}
]
},
{
"value": 140300,
"text": "阳泉市",
"children": [{
"value": 140302,
"text": "城区"
},
{
"value": 140303,
"text": "矿区"
},
{
"value": 140311,
"text": "郊区"
},
{
"value": 140321,
"text": "平定县"
},
{
"value": 140322,
"text": "盂县"
}
]
},
{
"value": 140400,
"text": "长治市",
"children": [{