From ebfc739bdbbc0dd0fccd0bf47b7d2d5397c3c511 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Fri, 22 Mar 2024 12:44:21 +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