报表导出文字省略问题,活跃ip地域映射名称,增加地域字典
This commit is contained in:
@@ -101,6 +101,11 @@
|
||||
rcMap[ir + i][ic] = 1
|
||||
}
|
||||
}
|
||||
// 当文字过长有省略时取title导出
|
||||
var titleText=$(val).text();
|
||||
if($(val).attr("title")!=null&&$(val).attr("title")!=""){
|
||||
titleText=$(val).attr("title");
|
||||
}
|
||||
if (rcMap[ir]) {
|
||||
var threshold = ic + 1,
|
||||
total = 0,
|
||||
@@ -112,13 +117,14 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return new Array(total).concat({
|
||||
v: TableExport.prototype.formatValue(isTrimWhitespace, $(val).text()),
|
||||
v: TableExport.prototype.formatValue(isTrimWhitespace, titleText),
|
||||
t: TableExport.prototype.getType($(val).attr('class'))
|
||||
});
|
||||
}
|
||||
return {
|
||||
v: TableExport.prototype.formatValue(isTrimWhitespace, $(val).text()),
|
||||
v: TableExport.prototype.formatValue(isTrimWhitespace, titleText),
|
||||
t: TableExport.prototype.getType($(val).attr('class'))
|
||||
};
|
||||
}).get()];
|
||||
|
||||
Reference in New Issue
Block a user