导出修改
This commit is contained in:
@@ -144,10 +144,14 @@
|
||||
.then((data) => {
|
||||
loading.close();
|
||||
const array = [data.columns];
|
||||
let getValue;
|
||||
data.list.forEach((d) => {
|
||||
let arrayItem = [];
|
||||
for (let key in d) {
|
||||
arrayItem.push(d[key]);
|
||||
getValue = d[key];
|
||||
if (getValue != 'def') {
|
||||
arrayItem.push(getValue);
|
||||
}
|
||||
}
|
||||
array.push(arrayItem);
|
||||
});
|
||||
|
||||
@@ -226,10 +226,16 @@
|
||||
.then((data) => {
|
||||
loading.close();
|
||||
const array = [data.columns];
|
||||
let getValue;
|
||||
data.list.forEach((d) => {
|
||||
let arrayItem = [];
|
||||
for (let key in d) {
|
||||
arrayItem.push(d[key]);
|
||||
getValue = d[key];
|
||||
if (getValue == 'def' || getValue == -9) {
|
||||
continue;
|
||||
} else {
|
||||
arrayItem.push(getValue);
|
||||
}
|
||||
}
|
||||
array.push(arrayItem);
|
||||
});
|
||||
|
||||
@@ -111,10 +111,14 @@
|
||||
.then((data) => {
|
||||
loading.close();
|
||||
const array = [data.columns];
|
||||
let getValue;
|
||||
data.list.forEach((d) => {
|
||||
let arrayItem = [];
|
||||
for (let key in d) {
|
||||
arrayItem.push(d[key]);
|
||||
getValue = d[key];
|
||||
if (getValue != 'def') {
|
||||
arrayItem.push(getValue);
|
||||
}
|
||||
}
|
||||
array.push(arrayItem);
|
||||
});
|
||||
|
||||
@@ -92,10 +92,14 @@
|
||||
.then((data) => {
|
||||
loading.close();
|
||||
const array = [data.columns];
|
||||
let getValue;
|
||||
data.list.forEach((d) => {
|
||||
let arrayItem = [];
|
||||
for (let key in d) {
|
||||
arrayItem.push(d[key]);
|
||||
getValue = d[key];
|
||||
if (getValue != 'def') {
|
||||
arrayItem.push(getValue);
|
||||
}
|
||||
}
|
||||
array.push(arrayItem);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user