shuishen
2023-12-20 8a6ebefd7583478aec94b6d5fd3d5a22d2245991
src/views/district/index.vue
@@ -47,6 +47,62 @@
                dialogClickModal: false,
                column: [
                    {
                        parent: false,
                        label: "小区名称",
                        prop: "name",
                        searchSpan: 5,
                        search: true,
                        type: 'tree',
                        dicUrl: `/api/blade-district/district/getDistrictTree`,
                        props: {
                            label: "name",
                            value: "id"
                        },
                        defaultExpandedKeys: ["361102003"],
                        span: 12,
                        labelWidth: 120,
                        width: 220,
                        overHidden: true,
                        rules: [
                            {
                                required: true,
                                message: "请选择小区",
                                trigger: "blur",
                            },
                        ],
                    },
                    {
                        label: "小区图片",
                        prop: "picUrl",
                        width: 80,
                        type: "upload",
                        listType: "picture-img",
                        action: "/api/blade-resource/oss/endpoint/put-file",
                        propsHttp: {
                            res: "data",
                            url: "link",
                        },
                        span: 24,
                    },
                    {
                        label: "小区简介",
                        prop: "remark",
                        component: "AvueUeditor",
                        options: {
                            action: "/api/blade-resource/oss/endpoint/put-file",
                            props: {
                                res: "data",
                                url: "link",
                            },
                        },
                        hide: true,
                        minRows: 6,
                        span: 24,
                    },
                    {
                        addDisplay: false,
                        editDisplay: false,
                        viewDisplay: false,
@@ -54,6 +110,7 @@
                        label: "所属街道",
                        prop: "townStreetName",
                    },
                    {
                        label: "所属社区",
                        prop: "communityCode",
@@ -74,6 +131,7 @@
                            },
                        ],
                    },
                    {
                        addDisplay: false,
                        editDisplay: false,
@@ -83,34 +141,6 @@
                        prop: "gridName",
                    },
                    {
                        label: "小区名称",
                        prop: "name",
                        searchSpan: 4,
                        search: true,
                        width: 260,
                        rules: [
                            {
                                required: true,
                                message: "请输入小区名称",
                                trigger: "blur",
                            },
                        ],
                    },
                    {
                        label: "小区图片",
                        prop: "picUrl",
                        width: 80,
                        type: "upload",
                        listType: "picture-img",
                        action: "/api/blade-resource/oss/endpoint/put-file",
                        propsHttp: {
                            res: "data",
                            url: "link",
                        },
                        span: 24,
                    },
                    {
                        label: "地址",
                        prop: "address",
@@ -122,22 +152,6 @@
                                trigger: "blur",
                            },
                        ],
                    },
                    {
                        label: "小区简介",
                        prop: "remark",
                        component: "AvueUeditor",
                        options: {
                            action: "/api/blade-resource/oss/endpoint/put-file",
                            props: {
                                res: "data",
                                url: "link",
                            },
                        },
                        hide: true,
                        minRows: 6,
                        span: 24,
                    },
                ],
            },