mirror of
https://github.com/gotoeasy/glogcenter.git
synced 2025-09-15 12:58:34 +08:00
0.11.2 下载当前检索结果
This commit is contained in:
parent
54779c2dd5
commit
ffef53e2cf
@ -288,12 +288,14 @@ function fnDownload() {
|
||||
tableData.value.forEach(item => {
|
||||
let flg = false;
|
||||
tableConfigStore.columns.forEach(oCol => {
|
||||
if (!oCol.hidden && !oCol.editType.startsWith('$')) {
|
||||
flg && (fileContent += ', ');
|
||||
fileContent += item.detail || item[oCol.field];
|
||||
if (!oCol.hidden && !oCol.editType.startsWith('$') && oCol.editType != 'text') {
|
||||
flg && (fileContent += ',');
|
||||
fileContent += item[oCol.field];
|
||||
flg = true;
|
||||
}
|
||||
})
|
||||
fileContent += ',';
|
||||
fileContent += (item.detail || item.text);
|
||||
fileContent += '\r\n';
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user