From f2e4a9d500d2ae2a0ca0fe9ff8cb050c90ccaa2e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 05 Jan 2024 18:02:00 +0800
Subject: [PATCH] 所有图片字段需要调整

---
 src/views/cGovernance/punchCard.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/cGovernance/punchCard.vue b/src/views/cGovernance/punchCard.vue
index 46d0315..8bbc1ef 100644
--- a/src/views/cGovernance/punchCard.vue
+++ b/src/views/cGovernance/punchCard.vue
@@ -31,7 +31,7 @@
                 menu: false,
                 addBtn: false,
                 border: true,
-                index: false,
+                index: true,
                 selection: false,
                 height: "auto",
                 calcHeight: 54,
@@ -101,11 +101,11 @@
                         prop: "address",
                     },
                     {
+                        width: 110,
                         label: "打卡图片",
                         prop: "img",
                         type: "upload",
                         labelWidth: 120,
-                        width: 80,
                         listType: "picture-img",
                         action: "/api/blade-resource/oss/endpoint/put-file",
                         propsHttp: {
@@ -194,6 +194,9 @@
                         item.img = urls.join(",")
                     }
 
+                    item.lat = Number(item.lat).toFixed(6)
+                    item.lng = Number(item.lng).toFixed(6)
+
                     return item
                 })
 

--
Gitblit v1.9.3