From a073250f6f4f8c32888bc60b24ff6984e29af51e Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期四, 01 八月 2024 17:04:01 +0800 Subject: [PATCH] #增加弃车功能 --- src/main/webapp/static/js/wrkMast/wrkMast.js | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js index 8b03117..245a447 100644 --- a/src/main/webapp/static/js/wrkMast/wrkMast.js +++ b/src/main/webapp/static/js/wrkMast/wrkMast.js @@ -387,6 +387,27 @@ } }); break; + //寮冭溅 + case 'removeShuttle': + wrkNo = data.wrkNo; + $.ajax({ + url: baseUrl+"/wrkMast/removeShuttle/" + wrkNo, + headers: {'token': localStorage.getItem('token')}, + contentType:'application/json;charset=UTF-8', + method: 'get', + success: function (res) { + layer.closeAll(); + if (res.code === 200){ + $(".layui-laypage-btn")[0].click(); + layer.msg(res.msg); + } else if (res.code === 403){ + top.location.href = baseUrl+"/"; + } else { + layer.msg(res.msg) + } + } + }) + break; } }); -- Gitblit v1.9.1