guanqb
2024-02-02 127188cb84a91dd76bf467423501436b94e019de
src/views/publicSecurity/ninePlaceManage/situationRectification.vue
@@ -13,7 +13,9 @@
import {
    mapGetters
} from "vuex"
import website from '@/config/website'
import {
    getZGQKList
} from "@/api/publicSecurity/ninePlaceManage"
export default {
    data () {
@@ -46,36 +48,80 @@
                dialogClickModal: false,
                column: [{
                    label: "场所名称",
                    prop: "regionName",
                    prop: "placeName",
                    align: 'center',
                    search: true,
                    searchSpan: 4,
                    searchLabelWidth: 76,
                }, {
                    label: "地址名称",
                    prop: "regionName",
                    prop: "addressName",
                    align: 'center',
                    search: true,
                    searchSpan: 4,
                    searchLabelWidth: 96,
                }, {
                    label: "场所类别",
                    prop: "regionName",
                    prop: "nineType",
                    align: 'center',
                    dicUrl: "/api/blade-system/dict-biz/tree?code=nineType",
                    props: {
                        label: "title",
                        value: "key",
                    },
                    search: true,
                    searchSpan: 4,
                    searchLabelWidth: 96,
                }, {
                    label: "存在安全隐患或违法行为",
                    prop: "regionName",
                    prop: "hiddenDanger",
                    align: 'center',
                }, {
                    label: "是否下发《责令改正通知书》或是否处罚",
                    prop: "regionName",
                    prop: "rectificationNoticeFlag",
                    align: 'center',
                    dicData: [
                        {
                            label: "否",
                            value: 1,
                        },
                        {
                            label: "是",
                            value: 2,
                        }
                    ]
                }, {
                    label: "是否整改完毕",
                    prop: "regionName",
                    prop: "rectificationFlag",
                    align: 'center',
                    dicData: [
                        {
                            label: "否",
                            value: 1,
                        },
                        {
                            label: "是",
                            value: 2,
                        }
                    ],
                    search: true,
                    searchSpan: 4,
                    searchLabelWidth: 124,
                }, {
                    label: "完成整改时限",
                    prop: "regionName",
                    prop: "rectificationEndTime",
                    align: 'center',
                }, {
                    label: "xx派出所",
                    prop: "regionName",
                    label: "检查时间",
                    prop: "createTime",
                    align: 'center',
                }, {
                    label: "派出所名称",
                    prop: "deptName",
                    align: 'center',
                    search: true,
                    searchSpan: 4,
                    searchLabelWidth: 106,
                }],
            },
            data: []
@@ -266,7 +312,23 @@
        onLoad (page, params = {}) {
            this.loading = true
            this.loading = false
            getZGQKList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
                console.log('getZGQKList', res.data.data)
                const data = {
                    ...res.data.data,
                    records: res.data.data.records.map(item => {
                        return {
                            ...item,
                            'principalPhoneflag': false
                        }
                    })
                }
                this.page.total = data.total
                this.data = data.records
                this.loading = false
                this.selectionClear()
            })
        }
    }
}