guanqb
2024-02-02 92acee73cbe8d5a230cf45e1146bd594153dc364
src/views/publicSecurity/ninePlaceManage/hiddenDangerStatistics.vue
@@ -245,7 +245,7 @@
                label
            }).then(
                () => {
                    this.onLoad(this.page)
                    this.onLoad()
                    this.$message({
                        type: "success",
                        message: "操作成功!",
@@ -283,7 +283,7 @@
                label
            }).then(
                () => {
                    this.onLoad(this.page)
                    this.onLoad()
                    this.$message({
                        type: "success",
                        message: "操作成功!",
@@ -308,7 +308,7 @@
                    return removeTask(row)
                })
                .then(() => {
                    this.onLoad(this.page)
                    this.onLoad()
                    this.$message({
                        type: "success",
@@ -319,7 +319,7 @@
        searchReset () {
            this.query = {}
            this.onLoad(this.page)
            this.onLoad()
        },
        searchChange (params, done) {
@@ -330,7 +330,7 @@
                endTime: params.daterange[1],
            } : {}
            this.page.currentPage = 1
            this.onLoad(this.page)
            this.onLoad()
            done()
        },
@@ -359,7 +359,7 @@
                    return remove(this.ids)
                })
                .then(() => {
                    this.onLoad(this.page)
                    this.onLoad()
                    this.$message({
                        type: "success",
                        message: "操作成功!",
@@ -388,7 +388,7 @@
            // this.onLoad(this.page, this.query)
        },
        onLoad (page, params = {}) {
        onLoad () {
            this.loading = true
            if (!this.query.startTime) {
                this.query = {
@@ -396,7 +396,8 @@
                    endTime: this.getLastMouth[0],
                }
            }
            getYHTJList(page.currentPage, page.pageSize, this.query).then(res => {
            console.log('onLoad', this.query)
            getYHTJList(this.query).then(res => {
                console.log('getZGQKList', res.data.data)
                const data = res.data.data
                data.forEach(item => {