From 1ff4b70e59b8c9ceb80d0a695d26b4419ed349f1 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期三, 08 一月 2025 09:48:53 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index f925e16..2bd4961 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -78,6 +78,7 @@
 					<div>
 <!--						<el-button @click="testMove()">娴嬭瘯绉诲姩杞�</el-button>-->
 						<el-button @click="resetMap()">閲嶇疆鍦板浘</el-button>
+						<el-button @click="initLoc()">鍒濆鍖栧簱浣�</el-button>
 					</div>
 				</div>
 			</div>
@@ -662,6 +663,24 @@
 							}
 						})
 					},
+					initLoc() {
+						//鍒濆鍖栧簱浣�
+						let that = this
+						$.ajax({
+							url:baseUrl+"/locMast/init",
+							headers:{
+								'token': localStorage.getItem('token')
+							},
+							data:{},
+							method:'post',
+							success:function (res) {
+								that.$message({
+									message: '鍒濆鍖栧畬鎴�',
+									type: 'success'
+								});
+							}
+						})
+					},
 					getCodeData(){
 						this.sendWs(JSON.stringify({
 							"url": "/console/barcode/output/site",

--
Gitblit v1.9.1