From 8ad82b8030b331d8014a72b6d2f00020fe85a1c5 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期五, 05 六月 2020 09:38:26 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/wrkMast/wrkMast.js | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/webapp/static/js/wrkMast/wrkMast.js b/src/main/webapp/static/js/wrkMast/wrkMast.js
index 3a09397..3cabb44 100644
--- a/src/main/webapp/static/js/wrkMast/wrkMast.js
+++ b/src/main/webapp/static/js/wrkMast/wrkMast.js
@@ -63,7 +63,7 @@
// return html;
// }}
- ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:130}
+ ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
]],
request: {
pageName: 'curr',
@@ -82,7 +82,7 @@
},
done: function(res, curr, count) {
if (res.code === 403) {
- top.location.href = "/";
+ top.location.href = baseUrl;
}
pageCurr=curr;
limit();
@@ -112,7 +112,7 @@
},
done: function (res, curr, count) {
if (res.code === 403) {
- top.location.href = "/";
+ top.location.href = baseUrl;
}
pageCurr=curr;
limit();
@@ -150,7 +150,7 @@
if (res.code === 200){
$(".layui-laypage-btn")[0].click();
} else if (res.code === 403){
- top.location.href = "/";
+ top.location.href = baseUrl;
} else {
layer.msg(res.msg)
}
@@ -185,7 +185,7 @@
if (res.code === 200){
$(".layui-laypage-btn")[0].click();
} else if (res.code === 403){
- top.location.href = "/";
+ top.location.href = baseUrl;
} else {
layer.msg(res.msg)
}
@@ -226,7 +226,7 @@
layer.closeAll();
tableReload(false);
} else if (res.code === 403){
- top.location.href = "/";
+ top.location.href = baseUrl;
} else {
layer.msg(res.msg)
}
@@ -265,7 +265,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)
}
@@ -575,7 +575,7 @@
$(this).val("");
});
} else if (res.code === 403){
- top.location.href = "/";
+ top.location.href = baseUrl;
}else {
layer.msg(res.msg)
}
@@ -711,7 +711,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) {
@@ -745,7 +745,7 @@
},
done: function (res, curr, count) {
if (res.code === 403) {
- top.location.href = "/";
+ top.location.href = baseUrl;
}
pageCurr=curr;
if (res.data.length === 0 && count !== 0) {
--
Gitblit v1.9.1