From 4eea05e31ab4092236c3edfd5567851f09930bb1 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Fri, 02 Feb 2024 17:21:07 +0800
Subject: [PATCH] 隐患统计加时间查询和合计行、整改时间格式修改

---
 src/views/publicSecurity/ninePlaceManage/situationRectification.vue |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/views/publicSecurity/ninePlaceManage/situationRectification.vue b/src/views/publicSecurity/ninePlaceManage/situationRectification.vue
index 13952c5..a14be66 100644
--- a/src/views/publicSecurity/ninePlaceManage/situationRectification.vue
+++ b/src/views/publicSecurity/ninePlaceManage/situationRectification.vue
@@ -314,16 +314,11 @@
             this.loading = true
             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
-                        }
-                    })
-                }
+                const data = res.data.data
+                data.records.forEach(item => {
+                    item.createTime = item.createTime ? item.createTime.slice(0, 10) : ''
+                    item.rectificationEndTime = item.rectificationEndTime ? item.rectificationEndTime.slice(0, 10) : ''
+                })
                 this.page.total = data.total
                 this.data = data.records
                 this.loading = false

--
Gitblit v1.9.3