From cf43493d7aa9c1a83cb1551c102f501f1dfde9b0 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 06 六月 2020 13:23:39 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/stoMan/stoQue.js | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js index de0124b..cf18815 100644 --- a/src/main/webapp/static/js/stoMan/stoQue.js +++ b/src/main/webapp/static/js/stoMan/stoQue.js @@ -11,7 +11,7 @@ tableIns = table.render({ elem: '#stoQue', headers: {token: localStorage.getItem('token')}, - url: '/locMast/list/auth', + url: baseUrl+'/locMast/list/auth', page: true, limit: 10, even: true, @@ -53,7 +53,7 @@ }, done: function(res, curr, count) { if (res.code === 403) { - top.location.href = "/"; + top.location.href = baseUrl; } pageCurr=curr; limit(); @@ -86,7 +86,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = "/"; + top.location.href = baseUrl; } pageCurr=curr; limit(); @@ -121,7 +121,7 @@ 'fields': fields }; $.ajax({ - url: "/wrkLastno/export/auth", + url: baseUrl+"/wrkLastno/export/auth", headers: {'token': localStorage.getItem('token')}, data: JSON.stringify(param), dataType:'json', @@ -132,7 +132,7 @@ if (res.code === 200) { table.exportFile(titles,res.data,'xls'); } else if (res.code === 403) { - top.location.href = "/"; + top.location.href = baseUrl; } else { layer.msg(res.msg) } @@ -184,7 +184,7 @@ tableIns1 = table.render({ elem: '#locDetlByMap', headers: {token: localStorage.getItem('token')}, - url: '/locDetl/list/auth', + url: baseUrl+'/locDetl/list/auth', page: true, limit: 5, skin: 'line', @@ -223,7 +223,7 @@ }, done: function(res, curr, count) { if (res.code === 403) { - top.location.href = "/"; + top.location.href = baseUrl; } pageCur=curr; form.on('checkbox(tableCheckbox)', function (data) { @@ -265,7 +265,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = "/"; + top.location.href = baseUrl; } pageCurr=curr; if (count === 1){ -- Gitblit v1.9.1