shuishen
2024-03-16 e27410aca7eb65b11fec83adb39643399bf3a6b4
src/views/article/rotation.vue
@@ -34,14 +34,17 @@
            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,
                border: true,
                //stripe:true,
                index: true,
                viewBtn: true,
@@ -55,36 +58,47 @@
                        span: 12,
                        searchSpan: 4,
                        search: true,
                        searchLabelWidth: 46,
                        labelWidth:100,
                    },
                    {
                        width: 110,
                        labelWidth:100,
                        label: "类型",
                        prop: "type",
                        span: 12,
                        searchSpan: 4,
                        search: true,
                        cascader: ["communityCode"],
                        type: "select",
                        dicData: [
                            {
                                label: "系统",
                                value: "1"
                                value: 3
                            },
                            {
                                label: "社区",
                                value: "2"
                                label: "公安",
                                value: 1
                            },
                            {
                                label: "综治",
                                value: 2
                            }
                        ]
                    },
                    {
                        width: 156,
                        labelWidth:100,
                        overHidden: true,
                        label: "所属社区",
                        parent: false,
                        // parent: false,
                        prop: "communityCode",
                        search: true,
                        searchSpan: 4,
                        searchType: 'input',
                        multiple: true,
                        tags: true,
                        hide:true,
                        dateType:"string",
                        type: "tree",
                        dicUrl: "/api/blade-system/region/tree",
                        dicUrl: "/api/blade-system/region/tree?deptNature={{type}}",
                        props: {
                            label: "name",
                            value: "id"
@@ -101,9 +115,11 @@
                        label: "跳转地址",
                        prop: "junpUrl",
                        span: 12,
                        labelWidth:100,
                    },
                    {
                        width: 110,
                        labelWidth:100,
                        label: "图片",
                        prop: "url",
                        type: "upload",
@@ -117,9 +133,10 @@
                        span: 24,
                    },
                    {
                        width: 144,
                        labelWidth:100,
                        label: "时间",
                        prop: "createTime",
                        width: 160,
                        addDisplay: false,
                        editDisplay: false,
                        type: "date",