Lou
2024-04-08 3aceaa16063d39b6f1ff7dc11d268fde85ee63a9
src/views/backblask/BackblastPubRecord.vue
@@ -83,47 +83,88 @@
                        label: "地址",
                        prop: "address",
                        // align: 'center',
                        minWidth: 210,
                        labelWidth:120,
                        minWidth: 180,
                        labelWidth: 120,
                        search: true,
                        searchSpan: 5,
                        overHidden: true,
                        row:true,
                        span:24,
                        row: true,
                        span: 24,
                    }, {
                        label: "问卷调查内容",
                        label: "宣防内容",
                        prop: "pubContent",
                        labelWidth:120,
                        labelWidth: 120,
                        // align: 'center',
                        type:"textarea",
                        row:true,
                        span:24,
                        overHidden:true,
                        type: "textarea",
                        row: true,
                        span: 24,
                        overHidden: true,
                    },
                    {
                        label: "是否下载国家反诈app",
                        prop: "isFzApp",
                        labelWidth: 120,
                        // align: 'center',
                        type: "select",
                        row: true,
                        span: 24,
                        overHidden: true,
                        hide: true,
                        dicData: [{
                            label: "是",
                            value: 1
                        },
                        {
                            label: "否",
                            value: 2
                        }
                        ],
                    },
                    {
                        label: "宣传佐证照片",
                        label: "是否打开预警共能",
                        prop: "isOpenAlarm",
                        labelWidth: 120,
                        // align: 'center',
                        type: "select",
                        row: true,
                        span: 24,
                        overHidden: true,
                        hide: true,
                        dicData: [{
                            label: "是",
                            value: 1
                        },
                        {
                            label: "否",
                            value: 2
                        }
                        ],
                    },
                    {
                        label: "宣防佐证照片",
                        prop: "pubUrls",
                        // align: 'center',
                        fileType: 'img',
                        labelWidth:120,
                        labelWidth: 120,
                        type: "upload",
                        listType: "picture-card",
                        dataType: "string",
                        width: 110,
                        row:true,
                        span:24,
                        row: true,
                        span: 24,
                    }, {
                        label: "时间",
                        prop: "createTime",
                        align: 'center',
                        labelWidth:120,
                        labelWidth: 120,
                        width: 156,
                        row:true,
                        row: true,
                    }, {
                        label: "民警姓名",
                        prop: "policeman",
                        align: 'center',
                        labelWidth:120,
                        labelWidth: 120,
                        search: true,
                        searchSpan: 4,
                        // searchLabelWidth: 96,
@@ -134,31 +175,33 @@
                        prop: "policemanPhone",
                        align: 'center',
                        slot: true,
                        labelWidth:120,
                        labelWidth: 120,
                        search: true,
                        searchLabelWidth: 110,
                        searchSpan: 4,
                        width: 120
                    }, {
                        label: "地区",
                        label: "所属街道",
                        prop: "townName",
                        align: 'center',
                        search: true,
                        searchSpan: 3,
                        searchSpan: 4,
                        searchLabelWidth: 46,
                        labelWidth: 120,
                        width: 156,
                        searchPlaceholder: '请输入地区'
                        searchPlaceholder: '请输入街道'
                    }, {
                        label: "辖区派出所",
                        prop: "pcsName",
                        align: 'center',
                        labelWidth:120,
                        search: true,
                        labelWidth: 120,
                        search: false,
                        searchSpan: 4,
                        searchLabelWidth: 96,
                        searchPlaceholder: '请输入辖区派出所'
                    }],
                        searchPlaceholder: '请输入辖区派出所',
                        hide:true
                    }
                ],
            },
            data: []
        }
@@ -368,7 +411,7 @@
        beforeOpen(done, type) {
            if (["edit", "view"].includes(type)) {
                getDetail(this.form.id).then(res => {
                })
                done()
            } else {