From be5373a650a8a40e808ab1664e59c60807809a7c Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期日, 21 十二月 2025 08:50:58 +0800
Subject: [PATCH] 1
---
src/main/webapp/static/js/locDetl/locDetl.js | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js
index b6adad1..9d58342 100644
--- a/src/main/webapp/static/js/locDetl/locDetl.js
+++ b/src/main/webapp/static/js/locDetl/locDetl.js
@@ -72,6 +72,7 @@
elem: '#locDetl',
headers: {token: localStorage.getItem('token')},
url: baseUrl+'/locDetl/list/auth',
+
page: true,
limit: 16,
limits: [16, 30, 50, 100, 200, 500],
@@ -492,6 +493,26 @@
tableReload(false);
});
+ // 鍚屾鎺ュ彛
+ form.on('submit(sync)', function (data) {
+ layer.confirm('纭畾鍚屾鏁版嵁鍚�', function(){
+ $.ajax({
+ url: baseUrl+"/locDetl/sync/auth",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'GET',
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ });
+
// 鏃堕棿閫夋嫨鍣�
layDate.render({
elem: '#modiTime\\$',
@@ -512,6 +533,7 @@
function tableReload(child) {
var searchData = {
+ "three_code":"寰呭垽"
};
$.each($('#search-box [name]').serializeArray(), function() {
searchData[this.name] = this.value;
--
Gitblit v1.9.1