From 8f90ddcd77269a7544dcde6bb1371628e33763db Mon Sep 17 00:00:00 2001 From: Jimmy Liow <18777396951@163.com> Date: Wed, 14 Dec 2022 15:48:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=B0=E6=8E=A5=E7=A4=BE?= =?UTF-8?q?=E5=9B=A2=E7=BB=9F=E8=AE=A1=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.js | 8 ++++---- src/stores/CustomerServices.js | 2 +- src/views/{GroupList.js => AgentGroupList.js} | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) rename src/views/{GroupList.js => AgentGroupList.js} (98%) diff --git a/src/App.js b/src/App.js index 18ea10f..03a4f53 100644 --- a/src/App.js +++ b/src/App.js @@ -14,7 +14,7 @@ import Customer_care_regular from "./charts/Customer_care_regular"; import Wechat_session from "./charts/Wechat_session"; import WhatsApp_session from "./charts/WhatsApp_session"; import AgentGroupCount from "./views/AgentGroupCount"; -import GroupList from "./views/GroupList"; +import AgentGroupList from "./views/AgentGroupList"; import Credit_card_bill from "./views/Credit_card_bill"; import exchange_rate from "./charts/ExchangeRate"; import Sale from "./views/Sale"; @@ -71,7 +71,7 @@ const App = () => { label: "客服", icon: , children: [ - { key: 61, label: 地接社接团 }, + { key: 61, label: 地接社接团 }, ], } ]; @@ -105,8 +105,8 @@ const App = () => { } /> } /> } /> - } /> - } /> + } /> + } /> }> } /> diff --git a/src/stores/CustomerServices.js b/src/stores/CustomerServices.js index 92ce906..fb399ed 100644 --- a/src/stores/CustomerServices.js +++ b/src/stores/CustomerServices.js @@ -61,7 +61,7 @@ class CustomerServices { children: [{ // title: this.startDate.format(config.DATE_FORMAT) + '~' + this.endDate.format(config.DATE_FORMAT), dataIndex: 'VendorName', - render: (text, record) => {record.VendorName} + render: (text, record) => {record.VendorName} } ] }, diff --git a/src/views/GroupList.js b/src/views/AgentGroupList.js similarity index 98% rename from src/views/GroupList.js rename to src/views/AgentGroupList.js index 8009050..7e8e016 100644 --- a/src/views/GroupList.js +++ b/src/views/AgentGroupList.js @@ -11,7 +11,7 @@ import 'moment/locale/zh-cn'; import moment from "moment"; import zhCNlocale from 'antd/es/date-picker/locale/zh_CN'; -const GroupList = () => { +const AgentGroupList = () => { const {agentId} = useParams(); const { customerServicesStore } = useContext(stores_Context); @@ -29,7 +29,7 @@ const GroupList = () => { - 返回 + 返回