diff options
Diffstat (limited to 'usecaseui-portal/src/app/shared/components/city-select/city-select/constants.ts')
-rw-r--r-- | usecaseui-portal/src/app/shared/components/city-select/city-select/constants.ts | 138 |
1 files changed, 135 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/shared/components/city-select/city-select/constants.ts b/usecaseui-portal/src/app/shared/components/city-select/city-select/constants.ts index ecb2d038..82e0cf56 100644 --- a/usecaseui-portal/src/app/shared/components/city-select/city-select/constants.ts +++ b/usecaseui-portal/src/app/shared/components/city-select/city-select/constants.ts @@ -1,4 +1,4 @@ -export const ADDRESS = [ +export const LEVEL3ADDRESS = [ { id: "1", name: "Beijing", @@ -6,7 +6,7 @@ export const ADDRESS = [ { id: "101", name: "Beijing", - county: [ + district: [ { id: "1001", name: "Haiding District", @@ -30,7 +30,7 @@ export const ADDRESS = [ { id: "201", name: "Shanghai City", - county: [ + district: [ { id: "2001", name: "Pudongxin District", @@ -44,3 +44,135 @@ export const ADDRESS = [ ], }, ]; +export const LEVEL4ADDRESS = [ + { + id: "1", + name: "Beijing", + city: [ + { + id: "101", + name: "Beijing", + district: [ + { + id: "1001", + name: "Haiding District", + street: [ + { + id: "100101", + name: "Wanshoulu Street", + }, + { + id: "100102", + name: "Zhongguancun Street", + }, + { + id: "100103", + name: "Haidian Street", + }, + { + id: "100104", + name: "Xisanqi Street", + }, + ], + }, + { + id: "1002", + name: "Xicheng District", + street: [ + { + id: "100201", + name: "Guang'anmenwai Street", + }, + { + id: "100202", + name: "Xuanwumen Street", + }, + { + id: "100203", + name: "West Changan Street", + }, + { + id: "100204", + name: "Financial Street", + }, + ], + }, + { + id: "1003", + name: "Changping District", + street: [ + { + id: "100301", + name: "Chengbei Street", + }, + { + id: "100302", + name: "Chengnan Street", + }, + { + id: "100303", + name: "Tiantongyuan North Street", + }, + { + id: "100304", + name: "Tiantongyuan South Street", + }, + ], + }, + ], + }, + ], + }, + { + id: "2", + name: "Shanghai", + city: [ + { + id: "201", + name: "Shanghai City", + district: [ + { + id: "2001", + name: "Pudongxin District", + street: [ + { + id: "200101", + name: "Lujiazui Street", + }, + { + id: "200102", + name: "Zhoujiadu Street", + }, + { + id: "200103", + name: "Tangqiao Street", + }, + { + id: "200104", + name: "Nanquanlu Street", + }, + ], + }, + { + id: "2002", + name: "Jingan District", + street: [ + { + id: "200201", + name: "Jiangning Lu Street", + }, + { + id: "200202", + name: "Jing'an Temple Street", + }, + { + id: "200203", + name: "Nanjing West Road Street", + }, + ], + }, + ], + }, + ], + }, +]; |