导出修改

This commit is contained in:
dengbw
2023-06-02 14:02:53 +08:00
parent 1bc4a9a8f7
commit 5e5e538ed5
4 changed files with 22 additions and 4 deletions
+5 -1
View File
@@ -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);
});
+7 -1
View File
@@ -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);
});
+5 -1
View File
@@ -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);
});
+5 -1
View File
@@ -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);
});