From 207823b94f5627fae49d29b51b5ce7186a70c8e0 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期六, 04 一月 2025 09:59:48 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/basDevp/basDevp.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/basDevp/basDevp.js b/src/main/webapp/static/js/basDevp/basDevp.js index 587e779..9459a19 100644 --- a/src/main/webapp/static/js/basDevp/basDevp.js +++ b/src/main/webapp/static/js/basDevp/basDevp.js @@ -113,6 +113,7 @@ statusCode: 200 }, done: function(res, curr, count) { + if (res.code === 403) { top.location.href = baseUrl+"/"; } @@ -120,6 +121,7 @@ limit(); form.on('checkbox(tableCheckbox)', function (data) { var _index = $(data.elem).attr('table-index')||0; + console.log(_index); if(data.elem.checked){ res.data[_index][data.value] = 'Y'; }else{ @@ -450,7 +452,7 @@ maxWt: $('#maxWt').val(), grossWt: $('#grossWt').val(), cartPos: $('#cartPos').val(), - + locType1:$('#locType1').val() }; $.ajax({ url: baseUrl+"/basDevp/"+name+"/auth", -- Gitblit v1.9.1