From 0a1ff7f86f00476c3f6e3ac7084be6f6f299de2f Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期五, 16 一月 2026 08:06:25 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/report/viewLocMap.html |   56 ++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 38 insertions(+), 18 deletions(-)

diff --git a/src/main/webapp/views/report/viewLocMap.html b/src/main/webapp/views/report/viewLocMap.html
index b2a54a0..f180da1 100644
--- a/src/main/webapp/views/report/viewLocMap.html
+++ b/src/main/webapp/views/report/viewLocMap.html
@@ -50,22 +50,35 @@
         .layui-table td:hover {
             opacity: 0.5;
         }
-</style>
+    </style>
 </head>
 <body>
 <!-- 鎼滅储鏍� -->
 <div id="search-box" class="layui-form layui-card-header">
     <div class="layui-inline" style="margin-left: 10px">
+        <label class="layui-form-label" style="width:80px">鏄剧ず妯″紡</label>
+        <div class="layui-input-inline" style="width:120px;">
+            <select id="viewMode" name="viewMode" lay-filter="viewMode">
+                <option value="byRow">鎸夋帓鏄剧ず</option>
+                <option value="byLayer">鎸夊眰鏄剧ず</option>
+            </select>
+        </div>
+    </div>
+
+    <!-- 鎸夋帓鏃剁殑涓嬫媺妗嗭紙榛樿鏄剧ず锛� -->
+    <div class="layui-inline" id="rowSelectBox" style="margin-left: 20px;">
         <div class="layui-input-inline">
             <select id="rowSelect" name="row" lay-filter="row">
-<!--                <option value="1">绗�1鎺�</option>-->
-<!--                <option value="2">绗�2鎺�</option>-->
-<!--                <option value="3">绗�3鎺�</option>-->
-<!--                <option value="4">绗�4鎺�</option>-->
-<!--                <option value="5">绗�5鎺�</option>-->
-<!--                <option value="6">绗�6鎺�</option>-->
-<!--                <option value="7">绗�7鎺�</option>-->
-<!--                <option value="8">绗�8鎺�</option>-->
+                <!-- 閫夐」鐢眏s鍔ㄦ�佺敓鎴� -->
+            </select>
+        </div>
+    </div>
+
+    <!-- 鎸夊眰鏃剁殑涓嬫媺妗嗭紙鍒濆闅愯棌锛� -->
+    <div class="layui-inline" id="layerSelectBox" style="margin-left: 20px; display:none;">
+        <div class="layui-input-inline">
+            <select id="layerSelect" name="layer" lay-filter="layer">
+                <!-- 閫夐」鐢眏s鍔ㄦ�佺敓鎴� -->
             </select>
         </div>
     </div>
@@ -79,20 +92,20 @@
 
 <script type="text/template" id="locMapTemplate">
     <thead>
-        <tr>
+    <tr>
         {{#each title}}
-            <th lay-data="{field:'{{this}}', width:100}">{{this}}</th>
+        <th lay-data="{field:'{{this}}', width:100}">{{this}}</th>
         {{/each}}
-        </tr>
+    </tr>
     </thead>
     <tbody>
-        {{#each body}}
-        <tr>
-            {{#each loc}}
-                <td class="a-loc" title="{{locNo}}" onclick="locDetl(this)" style="background-color:{{bgc}};color:{{color}}">{{locSts}}</td>
-            {{/each}}
-        </tr>
+    {{#each body}}
+    <tr>
+        {{#each loc}}
+        <td class="a-loc" title="{{locNo}}" onclick="locDetl(this)" style="background-color:{{bgc}};color:{{color}}">{{locSts}}</td>
         {{/each}}
+    </tr>
+    {{/each}}
     </tbody>
 </script>
 <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
@@ -107,5 +120,12 @@
     <option value="{{this}}">{{this}}</option>
     {{/each}}
 </script>
+<script src="../../static/js/translate.js"></script>
+<script>
+    translate.selectLanguageTag.show = false; //涓嶅嚭鐜扮殑select鐨勯�夋嫨璇█
+    translate.service.use('client.edge'); //璁剧疆缈昏瘧鏈嶅姟
+    translate.listener.start(); //寮�鍚〉闈㈠厓绱犲姩鎬佺洃鎺э紝js鏀瑰彉鐨勫唴瀹逛篃浼氳缈昏瘧锛屽弬鑰冩枃妗o細 http://translate.zvo.cn/4067.html
+    translate.execute();
+</script>
 </html>
 

--
Gitblit v1.9.1