bug fix
This commit is contained in:
parent
268c79f4a0
commit
ae9aaf6e99
|
|
@ -43,7 +43,7 @@ public class SideBarTag extends Tag {
|
|||
|
||||
final Object userId = param.get("userId");
|
||||
final Object roleId = param.get("roleId");
|
||||
String ctxPath =Cst.me().getContextPath();
|
||||
String ctxPath = Cst.me().getContextPath();
|
||||
|
||||
Map<String, Object> userRole = Db.selectOneByCache(ConstCache.ROLE_CACHE, ConstCacheKey.ROLE_EXT + userId, "select * from TFW_ROLE_EXT where USERID=#{userId}", Paras.create().set("userId", userId));
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,6 @@ ${"@"}layout("/common/_container.html"){
|
|||
</div>
|
||||
|
||||
<!-- 引入所需的js -->
|
||||
${"@"}include("/common/_listscript.html"){}
|
||||
${"@"}include("/common/_listscript.html", {isExport : false}) {}
|
||||
|
||||
${"@"}}
|
||||
|
|
@ -53,7 +53,7 @@ $.extend({
|
|||
var postdata = $(gridtbl)
|
||||
.jqGrid('getGridParam', 'postData');
|
||||
var source = (typeof (export_source) == "undefined") ? (code + ".list") : export_source;
|
||||
$.post(ctx + "/excel/preExport", {
|
||||
$.post(BladeApp.ctxPath + "/excel/preExport", {
|
||||
code : code,
|
||||
colnames : JSON.stringify(colnames),
|
||||
colmodel : JSON.stringify(colmodel),
|
||||
|
|
@ -61,7 +61,7 @@ $.extend({
|
|||
source : source
|
||||
}, function(data) {
|
||||
if (data.code === 0) {
|
||||
window.top.location.href = ctx + "/excel/export?code=" + data.data;
|
||||
window.top.location.href = BladeApp.ctxPath + "/excel/export?code=" + data.data;
|
||||
} else {
|
||||
layer.alert(data.message, {
|
||||
icon : 2,
|
||||
|
|
@ -73,8 +73,7 @@ $.extend({
|
|||
}
|
||||
};
|
||||
|
||||
$('<div class="contextMenu" id="myMenu1"></div>').hide().appendTo(
|
||||
'body'); // 在页面增加div
|
||||
$('<div class="contextMenu" id="myMenu1"></div>').hide().appendTo('body'); // 在页面增加div
|
||||
|
||||
$("#myMenu1").html(rightMenuHtml);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user