From 46a47d147ca58b48b83a2df50926f5fd2bab3f0c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 17 六月 2020 14:49:06 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/locDetl/locDetl.js | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js index 55c1b12..1012d97 100644 --- a/src/main/webapp/static/js/locDetl/locDetl.js +++ b/src/main/webapp/static/js/locDetl/locDetl.js @@ -20,7 +20,7 @@ cols: [[ {type: 'checkbox'} // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} - ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�',event: 'locNo', style: 'cursor:pointer'} + ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} ,{field: 'matnr', align: 'center',title: '鐗╂枡'} ,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�', width:80} ,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'} @@ -53,7 +53,7 @@ }, done: function(res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; limit(); @@ -83,7 +83,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; limit(); @@ -135,7 +135,7 @@ layer.closeAll(); tableReload(false); } else if (res.code === 403){ - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) } @@ -145,7 +145,7 @@ } break; case 'exportData': - layer.confirm('纭畾瀵煎嚭Excel鍚�', function(){ + layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -174,7 +174,7 @@ if (res.code === 200) { table.exportFile(titles,res.data,'xls'); } else if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) } @@ -392,7 +392,7 @@ $(this).val(""); }); } else if (res.code === 403){ - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; }else { layer.msg(res.msg) } @@ -454,7 +454,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