From ec8e1f40c3aa24b8ec3b9eb0ef3b033ddfefb0a1 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期三, 02 四月 2025 09:02:12 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/basShuttle/basShuttle.js | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/basShuttle/basShuttle.js b/src/main/webapp/static/js/basShuttle/basShuttle.js index 5b54268..2c6b8f2 100644 --- a/src/main/webapp/static/js/basShuttle/basShuttle.js +++ b/src/main/webapp/static/js/basShuttle/basShuttle.js @@ -100,6 +100,28 @@ case 'oneUpdateCharge': showUpdateCharge(); break; + case 'shuttleGather': + admin.confirm('纭畾闆嗗悎鍏ㄩ儴灏忚溅鍚楋紵', {shadeClose: true}, function(){ + $.ajax({ + url: baseUrl+"/openapi/shuttleGather", + headers: {'token': localStorage.getItem('token')}, + dataType:'json', + contentType:'application/json;charset=UTF-8', + method: 'POST', + success: function (res) { + layer.closeAll(); + if (res.code === 200) { + layer.msg("璇锋眰鎴愬姛", {icon: 1}); + tableReload(); + } else if (res.code === 403) { + top.location.href = baseUrl+"/"; + } else { + layer.msg(res.msg, {icon: 2}) + } + } + }); + }); + break; case 'exportData': admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ var titles=[]; -- Gitblit v1.9.1