diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/api/system/area.ts b/src/api/system/area.ts index ef6488e..2ff6cf3 100644 --- a/src/api/system/area.ts +++ b/src/api/system/area.ts @@ -77,3 +77,13 @@ }) } +// 根据父id获取列表 +export function getAreaByPid(pid: string) { + return request({ + url: '/sys/area/list?', + method: 'get', + params: { + pid, + }, + }) +} diff --git a/src/assets/styles/globals.scss b/src/assets/styles/globals.scss index 8960267..67d321f 100644 --- a/src/assets/styles/globals.scss +++ b/src/assets/styles/globals.scss @@ -125,14 +125,14 @@ // 详情页面输入框样式调整, 背景白,字体加深,悬停显示输入字符 .detail-input.is-disabled .el-input__wrapper { - background-color: #fff; + // background-color: #fff; } .detail-input.is-disabled .el-input__inner { - color: var(--el-text-color-regular); - -webkit-text-fill-color: var(--el-text-color-regular); + // color: var(--el-text-color-regular); + // -webkit-text-fill-color: var(--el-text-color-regular); - &:hover { - cursor: text; - } + // &:hover { + // cursor: text; + // } } diff --git a/src/components.d.ts b/src/components.d.ts index d419887..f5797b9 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export interface GlobalComponents { AddNode: typeof import('./components/workFlow/addNode.vue')['default'] AddNodeBan: typeof import('./components/workFlow/addNodeBan.vue')['default'] + AddressSelect: typeof import('./components/AddressSelect/AddressSelect.vue')['default'] AppContainer: typeof import('./components/AppContainer/index.vue')['default'] ApprovalDialog: typeof import('./components/Approval/ApprovalDialog.vue')['default'] ApproverDrawer: typeof import('./components/drawer/approverDrawer.vue')['default'] diff --git a/src/components/AddressSelect/AddressSelect.vue b/src/components/AddressSelect/AddressSelect.vue new file mode 100644 index 0000000..60aa04c --- /dev/null +++ b/src/components/AddressSelect/AddressSelect.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/components/AddressSelect/address-interface.ts b/src/components/AddressSelect/address-interface.ts new file mode 100644 index 0000000..f530dc9 --- /dev/null +++ b/src/components/AddressSelect/address-interface.ts @@ -0,0 +1,12 @@ +// 地址对象 +export interface IAddress { + country: string + countryName: string + province: string + provinceName: string + city: string + cityName: string + area: string + areaName: string + address: string +} diff --git a/src/components/AddressSelect/country-code.json b/src/components/AddressSelect/country-code.json new file mode 100644 index 0000000..dc96d7f --- /dev/null +++ b/src/components/AddressSelect/country-code.json @@ -0,0 +1,1519 @@ +[ + { + "code": "CN", + "name": "China", + "dialCode": 86, + "phoneFormat": "131 2345 6789", + "CNName": "中国" + }, + { + "code": "HK", + "name": "Hong Kong (China)", + "dialCode": 852, + "phoneFormat": "5123 4567", + "CNName": "中国香港" + }, + { + "code": "MO", + "name": "Macao (China)", + "dialCode": 853, + "phoneFormat": "6612 3456", + "CNName": "中国澳门" + }, + { + "code": "TW", + "name": "Taiwan (Province of China)", + "dialCode": 886, + "phoneFormat": "0912 345 678", + "CNName": "中国台湾" + }, + { + "code": "AF", + "name": "Afghanistan", + "dialCode": 93, + "phoneFormat": "070 123 4567", + "CNName": "阿富汗" + }, + { + "code": "AL", + "name": "Albania ", + "dialCode": 355, + "phoneFormat": "066 123 4567", + "CNName": "阿尔巴尼亚" + }, + { + "code": "DZ", + "name": "Algeria ", + "dialCode": 213, + "phoneFormat": "0551 23 45 67", + "CNName": "阿尔及利亚" + }, + { + "code": "AS", + "name": "American Samoa", + "dialCode": 1684, + "phoneFormat": "(684) 733-1234", + "CNName": "美属萨摩亚" + }, + { + "code": "AD", + "name": "Andorra", + "dialCode": 376, + "phoneFormat": "312 345", + "CNName": "安道尔" + }, + { + "code": "AO", + "name": "Angola", + "dialCode": 244, + "phoneFormat": "923 123 456", + "CNName": "安哥拉" + }, + { + "code": "AI", + "name": "Anguilla", + "dialCode": 1264, + "phoneFormat": "(264) 235-1234", + "CNName": "安圭拉" + }, + { + "code": "AG", + "name": "Antigua and Barbuda", + "dialCode": 1268, + "phoneFormat": "(268) 464-1234", + "CNName": "安提瓜和巴布达" + }, + { + "code": "AR", + "name": "Argentina", + "dialCode": 54, + "phoneFormat": "011 15-2345-6789", + "CNName": "阿根廷" + }, + { + "code": "AM", + "name": "Armenia ", + "dialCode": 374, + "phoneFormat": "077 123456", + "CNName": "亚美尼亚" + }, + { + "code": "AW", + "name": "Aruba", + "dialCode": 297, + "phoneFormat": "560 1234", + "CNName": "阿鲁巴" + }, + { + "code": "AU", + "name": "Australia", + "dialCode": 61, + "phoneFormat": "0412 345 678", + "CNName": "澳大利亚" + }, + { + "code": "AT", + "name": "Austria ", + "dialCode": 43, + "phoneFormat": "0664 123456", + "CNName": "奥地利" + }, + { + "code": "AZ", + "name": "Azerbaijan ", + "dialCode": 994, + "phoneFormat": "040 123 45 67", + "CNName": "阿塞拜疆" + }, + { + "code": "BH", + "name": "Bahrain", + "dialCode": 973, + "phoneFormat": "3600 1234", + "CNName": "巴林" + }, + { + "code": "BD", + "name": "Bangladesh", + "dialCode": 880, + "phoneFormat": "01812-345678", + "CNName": "孟加拉国" + }, + { + "code": "BB", + "name": "Barbados", + "dialCode": 1246, + "phoneFormat": "(246) 250-1234", + "CNName": "巴巴多斯" + }, + { + "code": "BY", + "name": "Belarusr", + "dialCode": 375, + "phoneFormat": "8 029 491-19-11", + "CNName": "白俄罗斯" + }, + { + "code": "BE", + "name": "Belgium", + "dialCode": 32, + "phoneFormat": "0470 12 34 56", + "CNName": "比利时" + }, + { + "code": "BZ", + "name": "Belize", + "dialCode": 501, + "phoneFormat": "622-1234", + "CNName": "伯利兹" + }, + { + "code": "BJ", + "name": "Benin", + "dialCode": 229, + "phoneFormat": "90 01 12 34", + "CNName": "贝宁" + }, + { + "code": "BM", + "name": "Bermuda", + "dialCode": 1441, + "phoneFormat": "(441) 370-1234", + "CNName": "百慕大" + }, + { + "code": "BT", + "name": "Bhutan", + "dialCode": 975, + "phoneFormat": "17 12 34 56", + "CNName": "不丹" + }, + { + "code": "BO", + "name": "Bolivia", + "dialCode": 591, + "phoneFormat": "71234567", + "CNName": "玻利维亚" + }, + { + "code": "BA", + "name": "Bosnia and Herzegovina", + "dialCode": 387, + "phoneFormat": "061 123 456", + "CNName": "波黑" + }, + { + "code": "BW", + "name": "Botswana", + "dialCode": 267, + "phoneFormat": "71 123 456", + "CNName": "博茨瓦纳" + }, + { + "code": "BR", + "name": "Brazil", + "dialCode": 55, + "phoneFormat": "(11) 96123-4567", + "CNName": "巴西" + }, + { + "code": "BN", + "name": "Brunei Darussalam", + "dialCode": 673, + "phoneFormat": "712 3456", + "CNName": "文莱" + }, + { + "code": "BG", + "name": "Bulgaria", + "dialCode": 359, + "phoneFormat": "048 123 456", + "CNName": "保加利亚" + }, + { + "code": "BF", + "name": "Burkina Faso", + "dialCode": 226, + "phoneFormat": "70 12 34 56", + "CNName": "布基纳法索" + }, + { + "code": "BI", + "name": "Burundi", + "dialCode": 257, + "phoneFormat": "79 56 12 34", + "CNName": "布隆迪" + }, + { + "code": "KH", + "name": "Cambodia", + "dialCode": 855, + "phoneFormat": "091 234 567", + "CNName": "柬埔寨" + }, + { + "code": "CM", + "name": "Cameroon", + "dialCode": 237, + "phoneFormat": "6 71 23 45 67", + "CNName": "喀麦隆" + }, + { + "code": "CA", + "name": "Canada", + "dialCode": 1, + "phoneFormat": "(204) 234-5678", + "CNName": "加拿大" + }, + { + "code": "CV", + "name": "Cape Verde", + "dialCode": 238, + "phoneFormat": "991 12 34", + "CNName": "佛得角" + }, + { + "code": "KY", + "name": "Cayman Islands", + "dialCode": 1345, + "phoneFormat": "(345) 323-1234", + "CNName": "开曼群岛" + }, + { + "code": "CF", + "name": "Central African Republic", + "dialCode": 236, + "phoneFormat": "70 01 23 45", + "CNName": "中非" + }, + { + "code": "TD", + "name": "Chad", + "dialCode": 235, + "phoneFormat": "63 01 23 45", + "CNName": "乍得" + }, + { + "code": "CL", + "name": "Chile", + "dialCode": 56, + "phoneFormat": "09 6123 4567", + "CNName": "智利" + }, + + { + "code": "CO", + "name": "Colombia", + "dialCode": 57, + "phoneFormat": "321 1234567", + "CNName": "哥伦比亚" + }, + { + "code": "KM", + "name": "Comoros", + "dialCode": 269, + "phoneFormat": "321 23 45", + "CNName": "科摩罗" + }, + { + "code": "CK", + "name": "Cook Islands", + "dialCode": 682, + "phoneFormat": "71 234", + "CNName": "库克群岛" + }, + { + "code": "CR", + "name": "Costa Rica", + "dialCode": 506, + "phoneFormat": "8312 3456", + "CNName": "哥斯达黎加" + }, + + { + "code": "HR", + "name": "Croatia", + "dialCode": 385, + "phoneFormat": "091 234 5678", + "CNName": "克罗地亚" + }, + { + "code": "CU", + "name": "Cuba", + "dialCode": 53, + "phoneFormat": "05 1234567", + "CNName": "古巴" + }, + { + "code": "CW", + "name": "Curaçao", + "dialCode": 599, + "phoneFormat": "9 518 1234", + "CNName": "库拉索" + }, + { + "code": "CY", + "name": "Cyprus ", + "dialCode": 357, + "phoneFormat": "96 123456", + "CNName": "塞浦路斯" + }, + { + "code": "CZ", + "name": "Czech Republic", + "dialCode": 420, + "phoneFormat": "601 123 456", + "CNName": "捷克" + }, + { + "code": "CD", + "name": "Congo (the Democratic Republic of the)", + "dialCode": 243, + "phoneFormat": "0991 234 567", + "CNName": "刚果(金)" + }, + { + "code": "CG", + "name": "Congo", + "dialCode": 242, + "phoneFormat": "0991 234 567", + "CNName": "刚果(布)" + }, + { + "code": "CI", + "name": "Côte d'Ivoire", + "dialCode": 225, + "phoneFormat": "01 23 45 67", + "CNName": "科特迪瓦" + }, + { + "code": "DK", + "name": "Denmark", + "dialCode": 45, + "phoneFormat": "20 12 34 56", + "CNName": "丹麦" + }, + { + "code": "DJ", + "name": "Djibouti", + "dialCode": 253, + "phoneFormat": "77 83 10 01", + "CNName": "吉布提" + }, + { + "code": "DM", + "name": "Dominica", + "dialCode": 1767, + "phoneFormat": "(767) 225-1234", + "CNName": "多米尼克" + }, + { + "code": "DO", + "name": "Dominican Republic", + "dialCode": 1809, + "phoneFormat": "(809) 234-5678", + "CNName": "多米尼加" + }, + { + "code": "EC", + "name": "Ecuador", + "dialCode": 593, + "phoneFormat": "099 123 4567", + "CNName": "厄瓜多尔" + }, + { + "code": "EG", + "name": "Egypt ", + "dialCode": 20, + "phoneFormat": "0100 123 4567", + "CNName": "埃及" + }, + { + "code": "SV", + "name": "El Salvador", + "dialCode": 503, + "phoneFormat": "7012 3456", + "CNName": "萨尔瓦多" + }, + { + "code": "GQ", + "name": "Equatorial Guinea ", + "dialCode": 240, + "phoneFormat": "222 123 456", + "CNName": "赤道几内亚" + }, + { + "code": "ER", + "name": "Eritrea", + "dialCode": 291, + "phoneFormat": "07 123 456", + "CNName": "厄立特里亚" + }, + { + "code": "EE", + "name": "Estonia", + "dialCode": 372, + "phoneFormat": "5123 4567", + "CNName": "爱沙尼亚" + }, + { + "code": "ET", + "name": "Ethiopia", + "dialCode": 251, + "phoneFormat": "091 123 4567", + "CNName": "埃塞俄比亚" + }, + + { + "code": "FO", + "name": "Faroe Islands", + "dialCode": 298, + "phoneFormat": "211234", + "CNName": "法罗群岛" + }, + { + "code": "FJ", + "name": "Fiji", + "dialCode": 679, + "phoneFormat": "701 2345", + "CNName": "斐济" + }, + { + "code": "FI", + "name": "Finland", + "dialCode": 358, + "phoneFormat": "041 2345678", + "CNName": "芬兰" + }, + { + "code": "FR", + "name": "France", + "dialCode": 33, + "phoneFormat": "06 12 34 56 78", + "CNName": "法国" + }, + { + "code": "GF", + "name": "French Guiana", + "dialCode": 594, + "phoneFormat": "0694 20 12 34", + "CNName": "法属圭亚那" + }, + { + "code": "PF", + "name": "French Polynesia", + "dialCode": 689, + "phoneFormat": "87 12 34 56", + "CNName": "法属波利尼西亚" + }, + { + "code": "GA", + "name": "Gabon", + "dialCode": 241, + "phoneFormat": "06 03 12 34", + "CNName": "加蓬" + }, + { + "code": "GE", + "name": "Georgia ", + "dialCode": 995, + "phoneFormat": "555 12 34 56", + "CNName": "格鲁吉亚" + }, + { + "code": "DE", + "name": "Germany", + "dialCode": 49, + "phoneFormat": "01512 3456789", + "CNName": "德国" + }, + { + "code": "GH", + "name": "Ghana", + "dialCode": 233, + "phoneFormat": "023 123 4567", + "CNName": "加纳" + }, + { + "code": "GI", + "name": "Gibraltar", + "dialCode": 350, + "phoneFormat": "57123456", + "CNName": "直布罗陀" + }, + { + "code": "GR", + "name": "Greece", + "dialCode": 30, + "phoneFormat": "691 234 5678", + "CNName": "希腊" + }, + { + "code": "GL", + "name": "Greenland ", + "dialCode": 299, + "phoneFormat": "22 12 34", + "CNName": "格陵兰" + }, + { + "code": "GD", + "name": "Grenada", + "dialCode": 1473, + "phoneFormat": "(473) 403-1234", + "CNName": "格林纳达" + }, + { + "code": "GP", + "name": "Guadeloupe", + "dialCode": 590, + "phoneFormat": "0690 30-1234", + "CNName": "瓜德罗普" + }, + { + "code": "GU", + "name": "Guam", + "dialCode": 1671, + "phoneFormat": "(671) 300-1234", + "CNName": "关岛" + }, + { + "code": "GT", + "name": "Guatemala", + "dialCode": 502, + "phoneFormat": "5123 4567", + "CNName": "危地马拉" + }, + + { + "code": "GN", + "name": "Guinea", + "dialCode": 224, + "phoneFormat": "601 12 34 56", + "CNName": "几内亚" + }, + { + "code": "GW", + "name": "Guinea Bissau", + "dialCode": 245, + "phoneFormat": "955 012 345", + "CNName": "几内亚比绍" + }, + { + "code": "GY", + "name": "Guyana", + "dialCode": 592, + "phoneFormat": "609 1234", + "CNName": "圭亚那" + }, + { + "code": "HT", + "name": "Haiti", + "dialCode": 509, + "phoneFormat": "34 10 1234", + "CNName": "海地" + }, + { + "code": "HN", + "name": "Honduras", + "dialCode": 504, + "phoneFormat": "9123-4567", + "CNName": "洪都拉斯" + }, + + { + "code": "HU", + "name": "Hungary", + "dialCode": 36, + "phoneFormat": "(20) 123 4567", + "CNName": "匈牙利" + }, + { + "code": "IS", + "name": "Iceland", + "dialCode": 354, + "phoneFormat": "611 1234", + "CNName": "冰岛" + }, + { + "code": "IN", + "name": "India", + "dialCode": 91, + "phoneFormat": "099876 54321", + "CNName": "印度" + }, + { + "code": "ID", + "name": "Indonesia", + "dialCode": 62, + "phoneFormat": "0812-345-678", + "CNName": "印度尼西亚" + }, + { + "code": "IR", + "name": "Iran", + "dialCode": 98, + "phoneFormat": "0912 345 6789", + "CNName": "伊朗" + }, + { + "code": "IQ", + "name": "Iraq", + "dialCode": 964, + "phoneFormat": "0791 234 5678", + "CNName": "伊拉克" + }, + { + "code": "IE", + "name": "Ireland", + "dialCode": 353, + "phoneFormat": "085 012 3456", + "CNName": "爱尔兰" + }, + { + "code": "IL", + "name": "Israel", + "dialCode": 972, + "phoneFormat": "050-123-4567", + "CNName": "以色列" + }, + { + "code": "IT", + "name": "Italy", + "dialCode": 39, + "phoneFormat": "312 345 6789", + "CNName": "意大利" + }, + { + "code": "JM", + "name": "Jamaica", + "dialCode": 1876, + "phoneFormat": "(876) 210-1234", + "CNName": "牙买加" + }, + { + "code": "JP", + "name": "Japan ", + "dialCode": 81, + "phoneFormat": "090-1234-5678", + "CNName": "日本" + }, + { + "code": "JO", + "name": "Jordan", + "dialCode": 962, + "phoneFormat": "07 9012 3456", + "CNName": "约旦" + }, + { + "code": "KZ", + "name": "Kazakhstan ", + "dialCode": 7, + "phoneFormat": "8 (771) 000 9998", + "CNName": "哈萨克斯坦" + }, + { + "code": "KE", + "name": "Kenya", + "dialCode": 254, + "phoneFormat": "0712 123456", + "CNName": "肯尼亚" + }, + { + "code": "KI", + "name": "Kiribati", + "dialCode": 686, + "phoneFormat": "72012345", + "CNName": "基里巴斯" + }, + { + "code": "KW", + "name": "Kuwait", + "dialCode": 965, + "phoneFormat": "500 12345", + "CNName": "科威特" + }, + { + "code": "KG", + "name": "Kyrgyzstan ", + "dialCode": 996, + "phoneFormat": "0700 123 456", + "CNName": "吉尔吉斯斯坦" + }, + { + "code": "LA", + "name": "Laos ", + "dialCode": 856, + "phoneFormat": "020 23 123 456", + "CNName": "老挝" + }, + { + "code": "LV", + "name": "Latvia", + "dialCode": 371, + "phoneFormat": "21 234 567", + "CNName": "拉脱维亚" + }, + { + "code": "LB", + "name": "Lebanon", + "dialCode": 961, + "phoneFormat": "71 123 456", + "CNName": "黎巴嫩" + }, + { + "code": "LS", + "name": "Lesotho", + "dialCode": 266, + "phoneFormat": "5012 3456", + "CNName": "莱索托" + }, + { + "code": "LR", + "name": "Liberia", + "dialCode": 231, + "phoneFormat": "077 012 3456", + "CNName": "利比里亚" + }, + { + "code": "LY", + "name": "Libya", + "dialCode": 218, + "phoneFormat": "091-2345678", + "CNName": "利比亚" + }, + { + "code": "LI", + "name": "Liechtenstein", + "dialCode": 423, + "phoneFormat": "660 234 567", + "CNName": "列支敦士登" + }, + { + "code": "LT", + "name": "Lithuania", + "dialCode": 370, + "phoneFormat": "(8-612) 34567", + "CNName": "立陶宛" + }, + { + "code": "LU", + "name": "Luxembourg", + "dialCode": 352, + "phoneFormat": "628 123 456", + "CNName": "卢森堡" + }, + + { + "code": "MK", + "name": "Macedonia", + "dialCode": 389, + "phoneFormat": "072 345 678", + "CNName": "前南马其顿" + }, + { + "code": "MG", + "name": "Madagascar", + "dialCode": 261, + "phoneFormat": "032 12 345 67", + "CNName": "马达加斯加" + }, + { + "code": "MW", + "name": "Malawi", + "dialCode": 265, + "phoneFormat": "0991 23 45 67", + "CNName": "马拉维" + }, + { + "code": "MY", + "name": "Malaysia", + "dialCode": 60, + "phoneFormat": "012-345 6789", + "CNName": "马来西亚" + }, + { + "code": "MV", + "name": "Maldives", + "dialCode": 960, + "phoneFormat": "771-2345", + "CNName": "马尔代夫" + }, + { + "code": "ML", + "name": "Mali", + "dialCode": 223, + "phoneFormat": "65 01 23 45", + "CNName": "马里" + }, + { + "code": "MT", + "name": "Malta", + "dialCode": 356, + "phoneFormat": "9696 1234", + "CNName": "马耳他" + }, + + { + "code": "MQ", + "name": "Martinique", + "dialCode": 596, + "phoneFormat": "0696 20 12 34", + "CNName": "马提尼克" + }, + { + "code": "MR", + "name": "Mauritania", + "dialCode": 222, + "phoneFormat": "22 12 34 56", + "CNName": "毛里塔尼亚" + }, + { + "code": "MU", + "name": "Mauritius", + "dialCode": 230, + "phoneFormat": "5251 2345", + "CNName": "毛里求斯" + }, + { + "code": "YT", + "name": "Mayotte", + "dialCode": 262, + "phoneFormat": "0639 12 34 56", + "CNName": "马约特" + }, + { + "code": "MX", + "name": "Mexico", + "dialCode": 52, + "phoneFormat": "044 222 123 4567", + "CNName": "墨西哥" + }, + + { + "code": "MD", + "name": "Moldova", + "dialCode": 373, + "phoneFormat": "0621 12 345", + "CNName": "摩尔多瓦" + }, + { + "code": "MC", + "name": "Monaco", + "dialCode": 377, + "phoneFormat": "06 12 34 56 78", + "CNName": "摩纳哥" + }, + { + "code": "MN", + "name": "Mongolia ", + "dialCode": 976, + "phoneFormat": "8812 3456", + "CNName": "蒙古" + }, + { + "code": "ME", + "name": "Montenegro", + "dialCode": 382, + "phoneFormat": "067 622 901", + "CNName": "黑山" + }, + { + "code": "MS", + "name": "Montserrat", + "dialCode": 1664, + "phoneFormat": "(664) 492-3456", + "CNName": "蒙特塞拉特" + }, + { + "code": "MA", + "name": "Morocco", + "dialCode": 212, + "phoneFormat": "0650-123456", + "CNName": "摩洛哥" + }, + { + "code": "MZ", + "name": "Mozambique", + "dialCode": 258, + "phoneFormat": "82 123 4567", + "CNName": "莫桑比克" + }, + { + "code": "MM", + "name": "Myanmar", + "dialCode": 95, + "phoneFormat": "09 212 3456", + "CNName": "缅甸" + }, + { + "code": "NA", + "name": "Namibia", + "dialCode": 264, + "phoneFormat": "081 123 4567", + "CNName": "纳米尼亚" + }, + + { + "code": "NP", + "name": "Nepal", + "dialCode": 977, + "phoneFormat": "984-1234567", + "CNName": "尼泊尔" + }, + { + "code": "NL", + "name": "Netherlands", + "dialCode": 31, + "phoneFormat": "06 12345678", + "CNName": "荷兰" + }, + { + "code": "NC", + "name": "New Caledonia", + "dialCode": 687, + "phoneFormat": "75.12.34", + "CNName": "新喀里多尼亚" + }, + { + "code": "NZ", + "name": "New Zealand", + "dialCode": 64, + "phoneFormat": "021 123 4567", + "CNName": "新西兰" + }, + { + "code": "NI", + "name": "Nicaragua", + "dialCode": 505, + "phoneFormat": "8123 4567", + "CNName": "尼加拉瓜" + }, + { + "code": "NE", + "name": "Niger", + "dialCode": 227, + "phoneFormat": "93 12 34 56", + "CNName": "尼日尔" + }, + { + "code": "NG", + "name": "Nigeria", + "dialCode": 234, + "phoneFormat": "0802 123 4567", + "CNName": "尼日利亚" + }, + + { + "code": "NO", + "name": "Norway", + "dialCode": 47, + "phoneFormat": "406 12 345", + "CNName": "挪威" + }, + { + "code": "OM", + "name": "Oman", + "dialCode": 968, + "phoneFormat": "9212 3456", + "CNName": "阿曼" + }, + { + "code": "PK", + "name": "Pakistan", + "dialCode": 92, + "phoneFormat": "0301 2345678", + "CNName": "巴基斯坦" + }, + { + "code": "PW", + "name": "Palau", + "dialCode": 680, + "phoneFormat": "620 1234", + "CNName": "帕劳" + }, + { + "code": "PS", + "name": "Palestine", + "dialCode": 970, + "phoneFormat": "0599 123 456", + "CNName": "巴勒斯坦" + }, + { + "code": "PA", + "name": "Panama ", + "dialCode": 507, + "phoneFormat": "6001-2345", + "CNName": "巴拿马" + }, + { + "code": "PG", + "name": "Papua New Guinea", + "dialCode": 675, + "phoneFormat": "681 2345", + "CNName": "巴布亚新几内亚" + }, + { + "code": "PY", + "name": "Paraguay", + "dialCode": 595, + "phoneFormat": "0961 456789", + "CNName": "巴拉圭" + }, + { + "code": "PE", + "name": "Peru", + "dialCode": 51, + "phoneFormat": "912 345 678", + "CNName": "秘鲁" + }, + { + "code": "PH", + "name": "Philippines", + "dialCode": 63, + "phoneFormat": "0905 123 4567", + "CNName": "菲律宾" + }, + { + "code": "PL", + "name": "Poland", + "dialCode": 48, + "phoneFormat": "512 345 678", + "CNName": "波兰" + }, + { + "code": "PT", + "name": "Portugal", + "dialCode": 351, + "phoneFormat": "912 345 678", + "CNName": "葡萄牙" + }, + { + "code": "PR", + "name": "Puerto Rico", + "dialCode": 1, + "phoneFormat": "(787) 234-5678", + "CNName": "波多黎各" + }, + { + "code": "QA", + "name": "Qatar", + "dialCode": 974, + "phoneFormat": "3312 3456", + "CNName": "卡塔尔" + }, + { + "code": "RE", + "name": "Réunion ", + "dialCode": 262, + "phoneFormat": "0692 12 34 56", + "CNName": "留尼汪" + }, + { + "code": "RO", + "name": "Romania", + "dialCode": 40, + "phoneFormat": "0712 345 678", + "CNName": "罗马尼亚" + }, + { + "code": "RU", + "name": "Russia", + "dialCode": 7, + "phoneFormat": "8 (912) 345-67-89", + "CNName": "俄罗斯" + }, + { + "code": "RW", + "name": "Rwanda", + "dialCode": 250, + "phoneFormat": "0720 123 456", + "CNName": "卢旺达" + }, + + { + "code": "KN", + "name": "Saint Kitts and Nevis", + "dialCode": 1869, + "phoneFormat": "(869) 765-2917", + "CNName": "圣基茨和尼维斯" + }, + { + "code": "LC", + "name": "Saint Lucia", + "dialCode": 1758, + "phoneFormat": "(758) 284-5678", + "CNName": "圣卢西亚" + }, + + { + "code": "PM", + "name": "Saint Pierre and Miquelon ", + "dialCode": 508, + "phoneFormat": "055 12 34", + "CNName": "圣皮埃尔和密克隆" + }, + { + "code": "VC", + "name": "Saint Vincent and the Grenadines", + "dialCode": 1784, + "phoneFormat": "(784) 430-1234", + "CNName": "圣文森特和格林纳丁斯" + }, + { + "code": "WS", + "name": "Samoa", + "dialCode": 685, + "phoneFormat": "601234", + "CNName": "萨摩亚" + }, + { + "code": "SM", + "name": "San Marino", + "dialCode": 378, + "phoneFormat": "66 66 12 12", + "CNName": "圣马力诺" + }, + { + "code": "ST", + "name": "São Tomé and Príncipe ", + "dialCode": 239, + "phoneFormat": "981 2345", + "CNName": "圣多美和普林西比" + }, + { + "code": "SA", + "name": "Saudi Arabia ", + "dialCode": 966, + "phoneFormat": "051 234 5678", + "CNName": "沙特阿拉伯" + }, + { + "code": "SN", + "name": "Senegal ", + "dialCode": 221, + "phoneFormat": "70 123 45 67", + "CNName": "塞内加尔" + }, + { + "code": "RS", + "name": "Serbia", + "dialCode": 381, + "phoneFormat": "060 1234567", + "CNName": "塞尔维亚" + }, + { + "code": "SC", + "name": "Seychelles", + "dialCode": 248, + "phoneFormat": "2 510 123", + "CNName": "塞舌尔" + }, + { + "code": "SL", + "name": "Sierra Leone", + "dialCode": 232, + "phoneFormat": "(025) 123456", + "CNName": "塞拉利昂" + }, + { + "code": "SG", + "name": "Singapore", + "dialCode": 65, + "phoneFormat": "8123 4567", + "CNName": "新加坡" + }, + { + "code": "SX", + "name": "Sint Maarten", + "dialCode": 1721, + "phoneFormat": "(721) 520-5678", + "CNName": "荷属圣马丁" + }, + { + "code": "SK", + "name": "Slovakia", + "dialCode": 421, + "phoneFormat": "0912 123 456", + "CNName": "斯洛伐克" + }, + { + "code": "SI", + "name": "Slovenia ", + "dialCode": 386, + "phoneFormat": "031 234 567", + "CNName": "斯洛文尼亚" + }, + { + "code": "SB", + "name": "Solomon Islands", + "dialCode": 677, + "phoneFormat": "74 21234", + "CNName": "所罗门群岛" + }, + { + "code": "SO", + "name": "Somalia", + "dialCode": 252, + "phoneFormat": "7 1123456", + "CNName": "索马里" + }, + { + "code": "ZA", + "name": "South Africa", + "dialCode": 27, + "phoneFormat": "071 123 4567", + "CNName": "南非" + }, + { + "code": "KR", + "name": "South Korea", + "dialCode": 82, + "phoneFormat": "010-0000-0000", + "CNName": "韩国" + }, + + { + "code": "ES", + "name": "Spain ", + "dialCode": 34, + "phoneFormat": "612 34 56 78", + "CNName": "西班牙" + }, + { + "code": "LK", + "name": "Sri Lanka", + "dialCode": 94, + "phoneFormat": "071 234 5678", + "CNName": "斯里兰卡" + }, + { + "code": "SD", + "name": "Sudan ", + "dialCode": 249, + "phoneFormat": "091 123 1234", + "CNName": "苏丹" + }, + { + "code": "SR", + "name": "Suriname", + "dialCode": 597, + "phoneFormat": "741-2345", + "CNName": "苏里南" + }, + { + "code": "SZ", + "name": "Swaziland", + "dialCode": 268, + "phoneFormat": "7612 3456", + "CNName": "斯威士兰" + }, + { + "code": "SE", + "name": "Sweden", + "dialCode": 46, + "phoneFormat": "070-123 45 67", + "CNName": "瑞典" + }, + { + "code": "CH", + "name": "Switzerland", + "dialCode": 41, + "phoneFormat": "078 123 45 67", + "CNName": "瑞士" + }, + { + "code": "SY", + "name": "Syria", + "dialCode": 963, + "phoneFormat": "0944 567 890", + "CNName": "叙利亚" + }, + + { + "code": "TJ", + "name": "Tajikistan", + "dialCode": 992, + "phoneFormat": "(8) 917 12 3456", + "CNName": "塔吉克斯坦" + }, + { + "code": "TZ", + "name": "Tanzania", + "dialCode": 255, + "phoneFormat": "0621 234 567", + "CNName": "坦桑尼亚" + }, + { + "code": "TH", + "name": "Thailand", + "dialCode": 66, + "phoneFormat": "081 234 5678", + "CNName": "泰国" + }, + { + "code": "BS", + "name": "The Bahamas", + "dialCode": 1242, + "phoneFormat": "(242) 359-1234", + "CNName": "巴哈马" + }, + { + "code": "GM", + "name": "The Gambia", + "dialCode": 220, + "phoneFormat": "301 2345", + "CNName": "冈比亚" + }, + { + "code": "TL", + "name": "Leste", + "dialCode": 670, + "phoneFormat": "7721 2345", + "CNName": "东帝汶-Timor" + }, + { + "code": "TG", + "name": "Togo", + "dialCode": 228, + "phoneFormat": "90 11 23 45", + "CNName": "多哥" + }, + + { + "code": "TO", + "name": "Tonga", + "dialCode": 676, + "phoneFormat": "771 5123", + "CNName": "汤加" + }, + { + "code": "TT", + "name": "Trinidad and Tobago", + "dialCode": 1868, + "phoneFormat": "(868) 291-1234", + "CNName": "特立尼达和多巴哥" + }, + { + "code": "TN", + "name": "Tunisia", + "dialCode": 216, + "phoneFormat": "20 123 456", + "CNName": "突尼斯" + }, + { + "code": "TR", + "name": "Turkey", + "dialCode": 90, + "phoneFormat": "0501 234 56 78", + "CNName": "土耳其" + }, + { + "code": "TM", + "name": "Turkmenistan", + "dialCode": 993, + "phoneFormat": "8 66 123456", + "CNName": "土库曼斯坦" + }, + { + "code": "TC", + "name": "Turks and Caicos Islands", + "dialCode": 1649, + "phoneFormat": "(649) 231-1234", + "CNName": "特克斯和凯科斯群岛" + }, + + { + "code": "US", + "name": "United States", + "dialCode": 1, + "phoneFormat": "(201) 555-0123", + "CNName": "美国" + }, + { + "code": "GB", + "name": "United Kingdom", + "dialCode": 44, + "phoneFormat": "07400 123456", + "CNName": "英国" + }, + { + "code": "UG", + "name": "Uganda", + "dialCode": 256, + "phoneFormat": "0712 345678", + "CNName": "乌干达" + }, + { + "code": "UA", + "name": "Ukraine", + "dialCode": 380, + "phoneFormat": "039 123 4567", + "CNName": "乌克兰" + }, + { + "code": "AE", + "name": "United Arab Emirates", + "dialCode": 971, + "phoneFormat": "050 123 4567", + "CNName": "阿拉伯联合酋长国" + }, + { + "code": "UY", + "name": "Uruguay", + "dialCode": 598, + "phoneFormat": "094 231 234", + "CNName": "乌拉圭" + }, + { + "code": "UZ", + "name": "Uzbekistan", + "dialCode": 998, + "phoneFormat": "8 91 234 56 78", + "CNName": "乌兹别克斯坦" + }, + { + "code": "VU", + "name": "Vanuatu", + "dialCode": 678, + "phoneFormat": "591 2345", + "CNName": "瓦努阿图" + }, + + { + "code": "VE", + "name": "Venezuela", + "dialCode": 58, + "phoneFormat": "0412-1234567", + "CNName": "委内瑞拉" + }, + { + "code": "VN", + "name": "Vietnam", + "dialCode": 84, + "phoneFormat": "091 234 56 78", + "CNName": "越南" + }, + + + { + "code": "YE", + "name": "Yemen", + "dialCode": 967, + "phoneFormat": "0712 345 678", + "CNName": "也门" + }, + { + "code": "ZM", + "name": "Zambia", + "dialCode": 260, + "phoneFormat": "095 5123456", + "CNName": "赞比亚" + }, + { + "code": "ZW", + "name": "Zimbabwe", + "dialCode": 263, + "phoneFormat": "071 123 4567", + "CNName": "津巴布韦" + } +] diff --git a/src/router/modules/device.ts b/src/router/modules/device.ts index d464b09..0c9033d 100644 --- a/src/router/modules/device.ts +++ b/src/router/modules/device.ts @@ -102,7 +102,7 @@ break case 'standardMatchDevice': to.meta.activeMenu = '/standingBook/standardMatchDevice' - to.meta.title = '校准/检定设备' + to.meta.title = '校准检定设备' break case 'adjustDevice': to.meta.activeMenu = '/standingBook/adjustDevice' @@ -112,6 +112,10 @@ to.meta.activeMenu = '/standingBook/measureTool' to.meta.title = '测量工装' break + case 'fixedAssets': + to.meta.activeMenu = '/standingBook/fixedAssets' + to.meta.title = '固定资产' + break } next() }, @@ -126,18 +130,18 @@ auth: '/device/fixedAssets', }, }, - { - path: ':type/:id?', - name: 'fixedAssetsDetailType', - component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), - meta: { - title: '固定资产', - icon: 'ep:key', - sidebar: false, - breadcrumb: true, - activeMenu: '/standingBook/fixedAssets', - }, - }, + // { + // path: 'fixAssets/:type/:id?', + // name: 'fixedAssetsDetailType', + // component: () => import('@/views/device/standingBook/components/fixedAssetsAdd.vue'), + // meta: { + // title: '固定资产', + // icon: 'ep:key', + // sidebar: false, + // breadcrumb: true, + // activeMenu: '/standingBook/fixedAssets', + // }, + // }, ], }, { diff --git a/src/views/device/standingBook/adjustDevice.vue b/src/views/device/standingBook/adjustDevice.vue index a1a38bc..67ef11e 100644 --- a/src/views/device/standingBook/adjustDevice.vue +++ b/src/views/device/standingBook/adjustDevice.vue @@ -5,7 +5,7 @@ diff --git a/src/views/device/standingBook/components/fixedAssetsAdd.vue b/src/views/device/standingBook/components/fixedAssetsAdd.vue deleted file mode 100644 index f272ff7..0000000 --- a/src/views/device/standingBook/components/fixedAssetsAdd.vue +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - diff --git a/src/views/device/standingBook/components/templateAdd.vue b/src/views/device/standingBook/components/templateAdd.vue index 049d8d4..e070af0 100644 --- a/src/views/device/standingBook/components/templateAdd.vue +++ b/src/views/device/standingBook/components/templateAdd.vue @@ -1,87 +1,148 @@ diff --git a/src/views/device/standingBook/components/templatePage.vue b/src/views/device/standingBook/components/templatePage.vue index f69b781..c7105dc 100644 --- a/src/views/device/standingBook/components/templatePage.vue +++ b/src/views/device/standingBook/components/templatePage.vue @@ -1,126 +1,92 @@ - diff --git a/src/views/device/standingBook/fixedAssets.vue b/src/views/device/standingBook/fixedAssets.vue index cddb285..27892a3 100644 --- a/src/views/device/standingBook/fixedAssets.vue +++ b/src/views/device/standingBook/fixedAssets.vue @@ -22,56 +22,16 @@ const loadingTable = ref(false) // 表格loading const total = ref(0) // 数据总条数 const columns = ref([ - { - text: '固定资产编号', - value: 'assetNo', - align: 'center', - }, - { - text: '设备名称', - value: 'equipmentName', - align: 'center', - }, - { - text: '型号', - value: 'modelNo', - align: 'center', - }, - { - text: '设备规格', - value: 'equipmentSpecifications', - align: 'center', - }, - { - text: '设备类别', - value: 'equipmentCategoryName', - align: 'center', - }, - { - text: '设备类型', - value: 'equipmentTypeName', - align: 'center', - }, - { - text: '用途', - value: 'purpose', - align: 'center', - }, - { - text: '管理级别', - value: 'managerLevelName', - align: 'center', - }, - { - text: '使用单位', - value: 'useDeptName', - align: 'center', - }, - { - text: '创建时间', - value: 'createTime', - align: 'center', - }, + { text: '固定资产编号', value: 'assetNo', align: 'center', width: 160 }, + { text: '设备名称', value: 'equipmentName', align: 'center' }, + { text: '型号', value: 'modelNo', align: 'center' }, + { text: '设备规格', value: 'equipmentSpecifications', align: 'center' }, + { text: '设备类别', value: 'equipmentCategoryName', align: 'center' }, + { text: '设备类型', value: 'equipmentTypeName', align: 'center' }, + { text: '用途', value: 'purpose', align: 'center' }, + { text: '管理级别', value: 'managerLevelName', align: 'center', width: 90 }, + { text: '使用部门', value: 'useDeptName', align: 'center' }, + { text: '创建时间', value: 'createTime', align: 'center', width: 165 }, ]) // 表格 const printObj = ref({ id: 'print', // 需要打印元素的id @@ -128,13 +88,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'detail', }, query: { title: '详情', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -146,13 +107,14 @@ // ...row, // }) $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'edit', }, query: { title: '编辑', - ...row, + name: '固定资产', + id: row.id, }, }) } @@ -203,18 +165,15 @@ // 新增 const add = () => { $router.push({ - name: 'fixedAssetsDetailType', + name: 'standingBookDetail', params: { type: 'add', }, query: { title: '新建', + name: '固定资产', }, }) - // dialogVisible.value = true - // addRef.value.initDialog({ - // title: '新建', - // }) } // 表格被选中的行 const selectList = ref([]) @@ -344,7 +303,7 @@ 编辑 - 查看 + 详情 删除 diff --git a/src/views/device/standingBook/measureTool.vue b/src/views/device/standingBook/measureTool.vue index 7b9246a..a940bdf 100644 --- a/src/views/device/standingBook/measureTool.vue +++ b/src/views/device/standingBook/measureTool.vue @@ -5,7 +5,7 @@ diff --git a/src/views/measure/source/list_interface.ts b/src/views/measure/source/list_interface.ts index fe32aca..1ac2abe 100644 --- a/src/views/measure/source/list_interface.ts +++ b/src/views/measure/source/list_interface.ts @@ -62,6 +62,10 @@ companyCity: string // 公司地址-市 companyCountry: string // 公司地址-国家 companyProvince: string // 公司地址-省 + companyAreaName: string // 公司地址-区 + companyCityName: string // 公司地址-市 + companyCountryName: string // 公司地址-国家 + companyProvinceName: string // 公司地址-省 createTime?: string // 创建时间 director: string // 负责人 id: string // 主键id(列表、更新接口参数) @@ -71,6 +75,10 @@ invoiceCity: string // 开票地址-市 invoiceCountry: string // 开票地址-国家 invoiceProvince: string // 开票地址-省 + invoiceAreaName: string // 开票地址-区 + invoiceCityName: string // 开票地址-市 + invoiceCountryName: string // 开票地址-国家 + invoiceProvinceName: string // 开票地址-省 mailbox: string // 邮箱 minioFileName: string // 上传文件返回名称 mobile: string // 手机