#
Junjie
2025-04-11 ff946b88fb75736e4adbf6d68727c081fd78633c
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=[];