From 81c1b4bb4c88980ad56c77abdc31a5e15e1143a8 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期一, 05 一月 2026 15:07:02 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/locMast/locMast.js | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/locMast/locMast.js b/src/main/webapp/static/js/locMast/locMast.js
index 9197a35..405b7d0 100644
--- a/src/main/webapp/static/js/locMast/locMast.js
+++ b/src/main/webapp/static/js/locMast/locMast.js
@@ -231,6 +231,22 @@
})
});
break;
+ case "sync":
+ $.ajax({
+ url: baseUrl + "/locMast/init/syncWcs",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ layer.msg(res.msg)
+ } else if (res.code === 403){
+ parent.location.href = "/";
+ }else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ break;
}
});
--
Gitblit v1.9.1