From dd1f00d30cf5b8e086a5ae4e32fc8815f5b3bdd4 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 16 六月 2020 17:00:37 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/matCode/matCode.js | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/static/js/matCode/matCode.js b/src/main/webapp/static/js/matCode/matCode.js index 20d0018..65aa27a 100644 --- a/src/main/webapp/static/js/matCode/matCode.js +++ b/src/main/webapp/static/js/matCode/matCode.js @@ -79,7 +79,7 @@ }, done: function(res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; limit(); @@ -109,7 +109,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; limit(); @@ -153,7 +153,7 @@ layer.closeAll(); tableReload(false); } else if (res.code === 403){ - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) } @@ -334,7 +334,6 @@ // 寮�濮嬫墦鍗� form.on('submit(doPrint)', function (data) { - console.log(data); var templateNo = data.field.selectTemplate; $.ajax({ url: baseUrl+"/macCode/print/auth", @@ -360,7 +359,7 @@ let box = $("#box"); box.html(html);box.show();box.print();box.hide(); } else if (res.code === 403){ - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; }else { layer.msg(res.msg) } @@ -440,7 +439,7 @@ $(this).val(""); }); } else if (res.code === 403){ - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; }else { layer.msg(res.msg) } @@ -506,7 +505,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; if (res.data.length === 0 && count !== 0) { -- Gitblit v1.9.1