From ab701df859cd79ae036f8cc86268137d2c8da8ee Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Thu, 22 Feb 2024 18:00:56 +0800
Subject: [PATCH] 消防自查导出、消防自查和场所检查增加场所类别字段

---
 src/views/cGovernance/gridPatrolRecord.vue |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/views/cGovernance/gridPatrolRecord.vue b/src/views/cGovernance/gridPatrolRecord.vue
index b5d0e66..8243539 100644
--- a/src/views/cGovernance/gridPatrolRecord.vue
+++ b/src/views/cGovernance/gridPatrolRecord.vue
@@ -46,14 +46,17 @@
             datetime: "",
             selectionList: [],
             option: {
+                labelWidth: 96,
+                searchLabelWidth: 96,
+                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,
@@ -68,6 +71,7 @@
                         row: true,
                         searchSpan: 4,
                         search: true,
+                        searchLabelWidth: 76,
                         rules: [
                             {
                                 required: true,
@@ -102,6 +106,7 @@
                     },
 
                     {
+                        width: 96,
                         slot: true,
                         addDisplay: false,
                         editDisplay: false,
@@ -111,6 +116,7 @@
                     },
 
                     {
+                        width: 96,
                         slot: true,
                         addDisplay: false,
                         editDisplay: false,
@@ -134,9 +140,9 @@
                         span: 24,
                     },
                     {
+                        width: 144,
                         label: "巡查时间",
                         prop: "patrolTime",
-                        width: 160,
                         type: "date",
                         format: "yyyy-MM-dd HH:mm:ss",
                         valueFormat: "yyyy-MM-dd HH:mm:ss",
@@ -386,6 +392,10 @@
                 })
                 this.loading = false
                 this.selectionClear()
+            }).catch(err => {
+                setTimeout(() => {
+                    this.loading = false
+                }, 1000)
             })
         }
     },

--
Gitblit v1.9.3