From 247c22192e3075f2f658d383ea4ddbe4059c1a68 Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Fri, 20 Sep 2024 16:48:08 +0800 Subject: [PATCH] 'commit' --- dsBase/WebRoot/html/pages/unit/unitList.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/dsBase/WebRoot/html/pages/unit/unitList.html b/dsBase/WebRoot/html/pages/unit/unitList.html index f26c74c8..383cd25f 100644 --- a/dsBase/WebRoot/html/pages/unit/unitList.html +++ b/dsBase/WebRoot/html/pages/unit/unitList.html @@ -82,6 +82,9 @@
+
+ 一键同步 +
导出职务与分管工作
@@ -351,6 +354,20 @@ window.exportExcel = function () { window.location.href = "/dsBase/base/getPrincipalshipThirdPartyForExcel"; } + window.sync = function () { + $.ajax({ + type: "POST", + async: false, + url: '/dsBase/dataAuthority/syncResource', + dataType: "json", + success: function (res) { + if(res.success){ + layer.msg(res.message, {icon: 1, time: 2000, shade: 0.1}); + } + + } + }); + } })