From ef3768b126ce09135f0b4e8cefd374b5b2d3a6db Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 14 Nov 2025 15:58:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B8=82=E5=9C=BA-=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=95=B0=E6=8D=AE:=20PPC=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Orders.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/Orders.jsx b/src/views/Orders.jsx index c554671..39c799e 100644 --- a/src/views/Orders.jsx +++ b/src/views/Orders.jsx @@ -1,6 +1,6 @@ import React, { Component } from "react"; import { Row, Col, Tabs, Table, Divider, Spin } from "antd"; -import { ContainerOutlined, BlockOutlined, SmileOutlined, TagsOutlined, GlobalOutlined, FullscreenOutlined, DingtalkOutlined, CarryOutOutlined, CoffeeOutlined, ClockCircleOutlined, HeartOutlined, IdcardOutlined, ContactsOutlined } from "@ant-design/icons"; +import { ContainerOutlined, BlockOutlined, SmileOutlined, TagsOutlined, GlobalOutlined, FullscreenOutlined, DingtalkOutlined, CarryOutOutlined, CoffeeOutlined, ClockCircleOutlined, HeartOutlined, IdcardOutlined, ContactsOutlined, GoogleOutlined, GooglePlusOutlined } from "@ant-design/icons"; import { stores_Context } from "../config"; import { Line, Pie } from "@ant-design/charts"; import { observer } from "mobx-react"; @@ -254,8 +254,8 @@ class Orders extends Component { const table_data = orders_store.orderCountData_Form ? this.format_data(orders_store.orderCountData_Form) : []; const data_source = orders_store.orderCountData ? orders_store.orderCountData : []; const avg_line_y = Math.round(orders_store.avgLine1); - const pie_data = comm.empty(orders_store.orderCountData_Form) ? [] : orders_store.orderCountData_Form.ordercount1; // 饼图的显示 - const pie_data2 = comm.empty(orders_store.orderCountData_Form) ? [] : orders_store.orderCountData_Form.ordercount2; + const pie_data = comm.empty(orders_store.orderCountData_Form) ? [] : orders_store.orderCountData_Form.ordercount1.filter(ele => ele.OrderTypeSN); // 饼图的显示 + const pie_data2 = comm.empty(orders_store.orderCountData_Form) ? [] : orders_store.orderCountData_Form.ordercount2.filter(ele => ele.OrderTypeSN); const config = { data: data_source, @@ -480,6 +480,7 @@ class Orders extends Component { {key: 'FoodRequirement',label: (饮食要求),}, {key: 'hobbies',label: (兴趣爱好),}, {key: 'ages',label: (年龄段),}, + {key: 'campaign',label: (PPC广告),}, ].map((ele) => { return { ...ele,