From ff946b88fb75736e4adbf6d68727c081fd78633c Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期五, 11 四月 2025 13:47:18 +0800
Subject: [PATCH] #

---
 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