From 123a17c9d50745ea609f91943adca64e5ed12355 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期六, 12 四月 2025 09:08:14 +0800
Subject: [PATCH] 1
---
src/main/webapp/static/js/basShuttle/basShuttle.js | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 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..081a4a1 100644
--- a/src/main/webapp/static/js/basShuttle/basShuttle.js
+++ b/src/main/webapp/static/js/basShuttle/basShuttle.js
@@ -100,6 +100,36 @@
case 'oneUpdateCharge':
showUpdateCharge();
break;
+ case 'shuttleGather':
+ shuttleNos = []
+ checkStatus.map(function (d) {
+ shuttleNos.push(d.shuttleNo)
+ })
+
+ admin.confirm('纭畾闆嗗悎鍏ㄩ儴灏忚溅鍚楋紵', {shadeClose: true}, function(){
+ $.ajax({
+ url: baseUrl+"/openapi/shuttleGather",
+ headers: {'token': localStorage.getItem('token')},
+ dataType:'json',
+ data: JSON.stringify({
+ shuttleNos: shuttleNos
+ }),
+ 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