zhongrj
2024-01-05 335642b3d8a4cdda3d43ea5a784087bdccdd2f73
src/views/community/index.vue
@@ -32,6 +32,7 @@
            datetime: "",
            selectionList: [],
            option: {
                labelWidth: 120,
                height: "auto",
                calcHeight: 54,
                dialogWidth: 950,
@@ -47,14 +48,13 @@
                dialogClickModal: false,
                column: [
                    {
                        width: 156,
                        overHidden: true,
                        label: "社区名称",
                        prop: "name",
                        searchSpan: 5,
                        search: true,
                        span: 12,
                        labelWidth: 120,
                        width: 220,
                        overHidden: true,
                        rules: [
                            {
                                required: true,
@@ -64,14 +64,13 @@
                        ],
                    },
                    {
                        width: 110,
                        overHidden: true,
                        label: "社区编号",
                        prop: "code",
                        searchSpan: 5,
                        search: true,
                        span: 12,
                        labelWidth: 120,
                        width: 220,
                        overHidden: true,
                        rules: [
                            {
                                required: true,
@@ -82,23 +81,22 @@
                    },
                    {
                        width: 110,
                        label: "所属街道",
                        parent: false,
                        addDisplay: false,
                        editDisplay: false,
                        viewDisplay: false,
                        width: 96,
                        label: "所属街道",
                        prop: "townName",
                        search: true,
                        searchSpan: 4
                    },
                    {
                        label: "所属街道",
                        hide: true,
                        parent: false,
                        label: "所属街道",
                        prop: "streetCode",
                        width: 150,
                        type: "tree",
                        dicUrl: "/api/blade-system/region/getTownTree",
                        props: {
@@ -115,9 +113,9 @@
                    },
                    {
                        width: 110,
                        label: "社区民警",
                        prop: "resPoliceUserId",
                        labelWidth: 120,
                        type: "tree",
                        dicUrl: "/api/blade-system/user/getUserListByParam?roleName=民警",
                        props: {
@@ -127,16 +125,15 @@
                        rules: [
                            {
                                required: true,
                                message: "请选择所属街道",
                                message: "请选择社区民警",
                                trigger: "blur",
                            },
                        ],
                    },
                    {
                        width: 110,
                        label: "社区图片",
                        prop: "picUrl",
                        width: 80,
                        labelWidth: 120,
                        type: "upload",
                        listType: "picture-img",
                        action: "/api/blade-resource/oss/endpoint/put-file",
@@ -148,10 +145,10 @@
                    },
                    {
                        overHidden: true,
                        label: "地址",
                        prop: "address",
                        span: 24,
                        labelWidth: 120,
                        rules: [
                            {
                                required: false,
@@ -163,7 +160,6 @@
                    {
                        label: "社区简介",
                        prop: "remark",
                        labelWidth: 120,
                        component: "AvueUeditor",
                        options: {
                            action: "/api/blade-resource/oss/endpoint/put-file",