Commit f1f2f297 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复预约报表导出所有的时候获取不到姓名、手机、身份证的问题

parent 84fe8be5
......@@ -346,10 +346,14 @@ export default {
for (let item of data) {
item.status = this.statusItem[item.status];
}
let newData = data.map((v) => {
v.people && delete v.people.id;
return { ...v, ...v.people };
});
export2Excel(
this.tHeader,
this.filterVal,
data,
newData,
"预约记录报表" + this.$moment().format("YYYYMMDDHHmmss")
);
});
......@@ -395,5 +399,4 @@ export default {
};
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<style lang="less" scoped></style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment