|
|
@ -79,9 +79,13 @@ async function dataExport (ctx) { |
|
|
|
const tableAttributes = models[modalOption.tableName].tableAttributes |
|
|
|
let header = [] |
|
|
|
for (let k in tableAttributes) { |
|
|
|
if (k != 'id' && tableAttributes[k].comment) { |
|
|
|
const comment = tableAttributes[k].comment |
|
|
|
if (k != 'id' && comment) { |
|
|
|
if (comment == '品名' && municipalType == '出租车') { |
|
|
|
continue |
|
|
|
} |
|
|
|
header.push({ |
|
|
|
title: tableAttributes[k].comment || '-', |
|
|
|
title: comment || '-', |
|
|
|
key: k, |
|
|
|
index: tableAttributes[k].index, |
|
|
|
}) |
|
|
|