123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695 |
- export const cityJson = [{
- value: undefined,
- label: '全市'
- },{
- value: '420102',
- label: '江岸区'
- },
- {
- value: '420103',
- label: '江汉区'
- },
- {
- value: '420104',
- label: '硚口区'
- },
- {
- value: '420105',
- label: '汉阳区'
- },
- {
- value: '420106',
- label: '武昌区'
- },
- {
- value: '420107',
- label: '青山区'
- },
- {
- value: '420111',
- label: '洪山区'
- },
- {
- value: '420112',
- label: '东西湖区'
- },
- {
- value: '420113',
- label: '汉南区'
- },
- {
- value: '420114',
- label: '蔡甸区'
- },
- {
- value: '420115',
- label: '江夏区'
- },
- {
- value: '420116',
- label: '黄陂区'
- },
- {
- value: '420117',
- label: '新洲区'
- }
- ]
- function flattenJsonData(data) {
- let result = []
- data.forEach((item) => {
- result.push({ value: item.value, label: item.label })
- if (item.children) {
- result = result.concat(flattenJsonData(item.children))
- }
- })
- return result
- }
- export const cityJsonOneDim = flattenJsonData(cityJson)
- export const getCityNameByCode = (code) => {
- return cityJsonOneDim.find((item) => item.value == code)?.label
- }
- export const orderTypeJson = [{
- label: '户政业务',
- value: '100000',
- children: [{
- label: '户口登记',
- value: '100100',
- children: [{
- label: '出生登记',
- value: '100101'
- },
- {
- label: '收养登记',
- value: '100102'
- },
- {
- label: '恢复户口登记',
- value: '100103'
- },
- {
- label: '社区公共户登记',
- value: '100104'
- }
- ]
- },
- {
- label: '户口注销',
- value: '100200',
- children: [{
- label: '死亡注销',
- value: '100201'
- },
- {
- label: '出国境注销',
- value: '100202'
- },
- {
- label: '其他注销',
- value: '100203'
- }
- ]
- },
- {
- label: '户口迁移',
- value: '100300',
- children: [{
- label: '市内迁移',
- value: '100301'
- },
- {
- label: '投靠迁移',
- value: '100302'
- },
- {
- label: '购房',
- value: '100303'
- },
- {
- label: '大学生落户',
- value: '100304'
- },
- {
- label: '人才落户',
- value: '100305'
- },
- {
- label: '积分入户',
- value: '100306'
- },
- {
- label: '其他',
- value: '100307'
- }
- ]
- },
- {
- label: '户口项目变更更正',
- value: '100400',
- children: [{
- label: '姓名',
- value: '100401'
- },
- {
- label: '出生日期',
- value: '100402'
- },
- {
- label: '民族',
- value: '100403'
- },
- {
- label: '其他',
- value: '100404'
- }
- ]
- },
- {
- label: '身份证',
- value: '100500',
- children: [{
- label: '证件办理',
- value: '100501'
- },
- {
- label: '临时身份证',
- value: '100502'
- },
- {
- label: '办理进度',
- value: '100503'
- },
- {
- label: '电子证照更新',
- value: '100504'
- }
- ]
- },
- {
- label: '居住证',
- value: '100600',
- children: [{
- label: '证件办理',
- value: '100601'
- },
- {
- label: '进度查询',
- value: '100602'
- },
- {
- label: '电子证照更新',
- value: '100603'
- }
- ]
- },
- {
- label: '开具户籍证明',
- value: '100700',
- children: [{
- label: '亲属关系证明',
- value: '100701'
- },
- {
- label: '变更更正证明',
- value: '100702'
- },
- {
- label: '注销证明',
- value: '100703'
- },
- {
- label: '其他证明',
- value: '100704'
- },
- {
- label: '户口簿打印',
- value: '100705'
- }
- ]
- },
- {
- label: '个人信息查询',
- value: '100800',
- children: [{
- label: '律师查询',
- value: '100801'
- },
- {
- label: '法院查询',
- value: '100802'
- },
- {
- label: '个人历史档案查询',
- value: '100803'
- },
- {
- label: '其他查询',
- value: '100804'
- }
- ]
- },
- {
- label: '自助机',
- value: '100900',
- children: [{
- label: '机器故障',
- value: '100901'
- },
- {
- label: '收退费',
- value: '100902'
- },
- {
- label: '其他',
- value: '100903'
- }
- ]
- },
- {
- label: '其他',
- value: '1001000',
- children: [{
- label: '政策制定建议',
- value: '1001001'
- },
- {
- label: '管辖争议',
- value: '1001002'
- },
- {
- label: '服务态度',
- value: '1001003'
- },
- {
- label: '网络故障',
- value: '1001004'
- }
- ]
- }
- ]
- },
- {
- label: '出入境业务',
- value: '200000',
- children: [{
- label: '普通护照',
- value: '200100',
- children: [{
- label: '签发',
- value: '200101'
- },
- {
- label: '换发',
- value: '200102'
- },
- {
- label: '加注',
- value: '200103'
- },
- {
- label: '补发',
- value: '200104'
- }
- ]
- },
- {
- label: '港澳通行证',
- value: '200200',
- children: [{
- label: '普通办证',
- value: '200201'
- },
- {
- label: '签注签发',
- value: '200202'
- },
- {
- label: '换发',
- value: '200203'
- }
- ]
- },
- {
- label: '往来台湾通行证',
- value: '200300',
- children: [{
- label: '普通办证',
- value: '200301'
- },
- {
- label: '加签注',
- value: '200302'
- },
- {
- label: '补发',
- value: '200303'
- },
- {
- label: '换补发台胞证',
- value: '200304'
- }
- ]
- },
- {
- label: '企业事项',
- value: '200400',
- children: [{
- label: '涉外企业备案',
- value: '200401'
- },
- {
- label: '往来港澳商务单位登记备案',
- value: '200402'
- },
- {
- label: '加签注',
- value: '200403'
- },
- {
- label: '多次往来',
- value: '200404'
- }
- ]
- },
- {
- label: '外国人居留许可',
- value: '200500',
- children: [{
- label: '外国人签证延期',
- value: '200501'
- },
- {
- label: '换发',
- value: '200502'
- },
- {
- label: '补发',
- value: '200503'
- }
- ]
- },
- {
- label: '外国人居留许可',
- value: '200600'
- }
- ]
- },
- {
- label: '内保业务',
- value: '300000',
- children: [{
- label: '金融机构营业场所和金库安全防范设施',
- value: '300100'
- },
- {
- label: '保安服务公司事项',
- value: '300200'
- }
- ]
- },
- {
- label: '网安业务',
- value: '400000',
- children: [{
- label: '互联网上网服务营业场所',
- value: '400100'
- },
- {
- label: '信息安全等级保护',
- value: '400200'
- },
- {
- label: '国际联网备案',
- value: '400300'
- }
- ]
- },
- {
- label: '禁毒业务',
- value: '500000',
- children: [{
- label: '易制毒化学品购买许可',
- value: '500100'
- },
- {
- label: '易制毒化学品运输许可',
- value: '500200'
- },
- {
- label: '禁毒宣传',
- value: '500300'
- }
- ]
- },
- {
- label: '交管业务',
- value: '600000',
- children: [{
- label: '机动车业务',
- value: '600100',
- children: [{
- label: '新车上牌',
- value: '600101'
- },
- {
- label: '二手车过户',
- value: '600102'
- },
- {
- label: '车辆检验',
- value: '600103'
- },
- {
- label: '核发标志',
- value: '600104'
- },
- {
- label: '车辆补换牌证',
- value: '600105'
- },
- {
- label: '车辆转出转入',
- value: '600106'
- },
- {
- label: '变更机动车信息',
- value: '600107'
- },
- {
- label: '车辆改装变更',
- value: '600108'
- },
- {
- label: '换发号牌',
- value: '600109'
- },
- {
- label: '抵押',
- value: '6001010'
- },
- {
- label: '解抵押',
- value: '6001011'
- },
- {
- label: '核发临牌',
- value: '6001012'
- },
- {
- label: '报废',
- value: '6001013'
- },
- {
- label: '注销',
- value: '6001014'
- },
- {
- label: '出口',
- value: '6001015'
- },
- {
- label: '校车标牌',
- value: '6001016'
- },
- {
- label: '临时入境机动车业务',
- value: '6001017'
- },
- {
- label: '失窃',
- value: '6001018'
- },
- {
- label: '被盗',
- value: '6001018'
- }
- ]
- },
- {
- label: '驾驶证业务',
- value: '600200',
- children: [{
- label: '初领',
- value: '600201'
- },
- {
- label: '增驾',
- value: '600202'
- },
- {
- label: '变更C5',
- value: '600203'
- },
- {
- label: '补换领驾驶证',
- value: '600204'
- },
- {
- label: '审验',
- value: '600205'
- },
- {
- label: '满分学习',
- value: '600206'
- },
- {
- label: '提交身份证条件证明',
- value: '600207'
- },
- {
- label: '体检',
- value: '600208'
- },
- {
- label: '驾驶证信息变更',
- value: '600209'
- },
- {
- label: '驾驶证延期',
- value: '6002010'
- },
- {
- label: '驾驶证注销',
- value: '6002011'
- },
- {
- label: '驾驶证恢复',
- value: '6002012'
- },
- {
- label: '校车驾驶资格申请',
- value: '6002013'
- },
- {
- label: '临时驾驶许可申请',
- value: '6002014'
- },
- {
- label: '考试事项',
- value: '6002015'
- }
- ]
- },
- {
- label: '事故业务',
- value: '600300'
- },
- {
- label: '违法业务',
- value: '600400'
- },
- {
- label: '其他业务',
- value: '600500'
- }
- ]
- },
- {
- label: '治安',
- value: '700000',
- children: [{
- label: '爆破作业项目',
- value: '700100'
- },
- {
- label: '大型活动许可',
- value: '700200'
- },
- {
- label: '放射性物品道路运输许可',
- value: '700300'
- },
- {
- label: '公章刻制',
- value: '700400'
- },
- {
- label: '管制刀具',
- value: '700500'
- },
- {
- label: '弩制造许可',
- value: '700600'
- },
- {
- label: '举行集会游行示威许可',
- value: '700700'
- },
- {
- label: '人员备案',
- value: '700800'
- },
- {
- label: '剧毒',
- value: '700900'
- },
- {
- label: '易制爆危险化学品事项',
- value: '7001000'
- },
- {
- label: '旅馆业事项',
- value: '7001100'
- },
- {
- label: '民爆物品事项',
- value: '7001200'
- },
- {
- label: '民用枪支事项',
- value: '7001300'
- },
- {
- label: '犬类准养证核发',
- value: '7001400'
- },
- {
- label: '烟花爆竹燃放',
- value: '7001500'
- },
- {
- label: '娱乐场所备案',
- value: '7001600'
- },
- {
- label: '烟花爆竹事项',
- value: '7001700'
- },
- {
- label: '射击竞技体育运动备案',
- value: '7001800'
- },
- {
- label: '许可',
- value: '7001900'
- }
- ]
- }
- ]
- export const typeJsonOneDim = flattenJsonData(orderTypeJson)
- export const getTypeNameByCode = (code) => {
- return typeJsonOneDim.find((item) => item.value == code)?.label
- }
|