|
|
|
@ -430,19 +430,11 @@ export default { |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
|
if (code === 0) { |
|
|
|
data.forEach((item) => { |
|
|
|
(async (id) => { |
|
|
|
// item.queryItemList = await this.getExportChildList(id) |
|
|
|
item.queryItemList = []; |
|
|
|
})(item.id); |
|
|
|
}); |
|
|
|
this.exportList = [...data]; |
|
|
|
this.$nextTick(() => { |
|
|
|
this.diyDialog = true; |
|
|
|
}); |
|
|
|
console.log("获取详情成功getExportList----", this.exportList); |
|
|
|
|
|
|
|
return data |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|
this.$message.error(msg) |
|
|
|
} |
|
|
|
// if (code === 0) { |
|
|
|
// let dataTemp = [] |
|
|
|
|