From 0d30daf9ee89603b97c6181c2949abbb89bd64c4 Mon Sep 17 00:00:00 2001
From: tzsk <Administrator@qq.com>
Date: 星期四, 11 四月 2024 13:37:10 +0800
Subject: [PATCH] Merge branch 'tzskasrs-2' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-2

---
 src/main/webapp/static/js/locDetl/locDetl.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js
index 9db9be7..9999628 100644
--- a/src/main/webapp/static/js/locDetl/locDetl.js
+++ b/src/main/webapp/static/js/locDetl/locDetl.js
@@ -192,6 +192,17 @@
                             layer.close(loadIndex);
                             layer.closeAll();
                             if (res.code === 200) {
+                                res.data.forEach((item,index) => {
+                                    if (item[0] != null) {
+                                        item[0] = "'" + item[0];
+                                    }
+                                    if (item[1] != null) {
+                                        item[1] = "'" + item[1];
+                                    }
+                                    if (item[2] != null) {
+                                        item[2] = "'" + item[2];
+                                    }
+                                })
                                 table.exportFile(titles,res.data,'xls');
                             } else if (res.code === 403) {
                                 top.location.href = baseUrl+"/";

--
Gitblit v1.9.1