forked from gzzfw/frontEnd/gzDyh

dminyi
2024-09-11 5ee9584f0ba878514b58f2e37a9d01bca956cc46
地域修改
2 files modified
30 ■■■■ changed files
gz-customerSystem/public/locationSelect.js 29 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx 1 ●●●● patch | view | raw | blame | history
gz-customerSystem/public/locationSelect.js
@@ -1,15 +1,20 @@
let locationSelect = {
    '19': [
        {
                    'label': '广东省',
                    'value': '19',
                    'parentId': 'root',
                    'children': [
                            {
                                    'label': '广州市',
                                    'value': '1601',
                                    'parentId': '19',
                                    'children': [
                                            {
            'label': '白云区',
            'value': '50258',
            'parentId': '1601',
            'children': [
                {
                    'label': '新市街道',
                    'value': '62857',
                    'parentId': '50258',
                },
                {
                    'label': '云城街道',
                    'value': '129164',
@@ -53,6 +58,11 @@
                {
                    'label': '钟落潭镇',
                    'value': '50377',
                                                                    'parentId': '50258',
                                                            },
                                                            {
                                                                    'label': '城区',
                                                                    'value': '51885',
                    'parentId': '50258',
                },
                {
@@ -103,6 +113,11 @@
                {
                    'label': '同德街道',
                    'value': '62856',
                                                                    'parentId': '50258',
                                                            },
                                                            {
                                                                    'label': '新市街道',
                                                                    'value': '62857',
                    'parentId': '50258',
                },
                {
@@ -1043,4 +1058,8 @@
            ],
        },
    ],
                            },
                    ],
            },
    ],
};
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -284,6 +284,7 @@
                showSearch
                onChange={(value, option) => {
                  if (option) {
                    console.log(option)
                    props.formRef.current.setFieldsValue({
                      queProv: option[0].value,
                      queProvName: option[0].label,