guanqb
2024-01-29 bf45ce8559383eb2c940affc6296c4c156ecf5e2
src/views/article/rotation.vue
@@ -34,13 +34,16 @@
            datetime: "",
            selectionList: [],
            option: {
                labelWidth: 66,
                searchLabelWidth: 66,
                searchShow: true,
                searchMenuSpan: 3,
                menuWidth: 210,
                height: "auto",
                calcHeight: 54,
                dialogWidth: 950,
                tip: false,
                searchShow: true,
                searchMenuSpan: 3,
                menuWidth: 350,
                border: false,
                //stripe:true,
                index: true,
@@ -55,33 +58,37 @@
                        span: 12,
                        searchSpan: 4,
                        search: true,
                        searchLabelWidth: 46,
                    },
                    {
                        width: 110,
                        label: "类型",
                        prop: "type",
                        span: 12,
                        searchSpan: 4,
                        search: true,
                        type:"select",
                        dicData:[
                        type: "select",
                        dicData: [
                            {
                                label:"系统",
                                value:"1"
                                label: "系统",
                                value: "1"
                            },
                            {
                                label:"社区",
                                value:"2"
                                label: "社区",
                                value: "2"
                            }
                        ]
                    },
                    {
                        parent: false,
                        width: 156,
                        overHidden: true,
                        label: "所属社区",
                        parent: false,
                        prop: "communityCode",
                        search: true,
                        searchSpan: 4,
                        searchLabelWidth: 96,
                        search: true,
                        searchType: 'input',
                        width: 150,
                        type: "tree",
                        dicUrl: "/api/blade-system/region/tree",
                        props: {
@@ -102,10 +109,10 @@
                        span: 12,
                    },
                    {
                        width: 110,
                        label: "图片",
                        prop: "url",
                        type: "upload",
                        width: 80,
                        listType: "picture-img",
                        action: "/api/blade-resource/oss/endpoint/put-file",
                        propsHttp: {
@@ -116,9 +123,9 @@
                        span: 24,
                    },
                    {
                        width: 144,
                        label: "时间",
                        prop: "createTime",
                        width: 160,
                        addDisplay: false,
                        editDisplay: false,
                        type: "date",