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/stoMan/stoQue.js | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js index de0124b..d191d10 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, @@ -19,21 +19,21 @@ cellMinWidth: 50, cols: [[ {type: 'checkbox'} - ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�',event: 'locDetl'} - ,{field: 'locType$', align: 'center',title: '搴撲綅鐘舵��', width: 180,event: 'locDetl'} - ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷',event: 'locDetl'} - ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿',event: 'locDetl'} - ,{field: 'row1', align: 'center',title: '鎺�',event: 'locDetl'} - ,{field: 'bay1', align: 'center',title: '鍒�',event: 'locDetl'} - ,{field: 'lev1', align: 'center',title: '灞�',event: 'locDetl'} + ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'} + ,{field: 'locType$', align: 'center',title: '搴撲綅鐘舵��', width: 180} + ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} + ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'} + ,{field: 'row1', align: 'center',title: '鎺�'} + ,{field: 'bay1', align: 'center',title: '鍒�'} + ,{field: 'lev1', align: 'center',title: '灞�'} ,{field: 'fullPlt', align: 'center',title: '婊℃澘',event: 'locDetl', templet:function(row){ var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; if(row.fullPlt === 'Y'){html += " checked ";} html += "disabled='disabled' >"; return html; },width:80} - ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',event: 'locDetl'} - ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180,event: 'locDetl'} + ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'} + ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180} ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'} ]], request: { @@ -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(); @@ -103,7 +103,7 @@ alert("杩樻病鍋�"); break; case 'exportData': - layer.confirm('纭畾瀵煎嚭Excel鍚�', function(){ + layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -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