diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..10da9ff --- /dev/null +++ b/build.bat @@ -0,0 +1 @@ +npm run build \ No newline at end of file diff --git a/src/App.js b/src/App.js index 84591f4..9506f19 100644 --- a/src/App.js +++ b/src/App.js @@ -18,6 +18,9 @@ import ProtectedRoute from "./views/ProtectedRoute" import Customer_care_inchina from "./charts/Customer_care_inchina" import Customer_care_potential from "./charts/Customer_care_potential" import Customer_care_regular from "./charts/Customer_care_regular" +import Wechat_session from "./charts/Wechat_session" +import WhatsApp_session from "./charts/WhatsApp_session" +import Credit_card_bill from "./views/Credit_card_bill" import Logo from './logo.png' import {stores_Context} from "./config"; import {observer} from "mobx-react"; @@ -39,6 +42,8 @@ const App = () => { {key: 31, label: 潜力客户}, {key: 32, label: 老客户}, {key: 33, label: 在华客户}, + {key: 34, label: 微信会话存档}, + {key: 35, label: WhatsApp会话存档}, ] }, { @@ -46,8 +51,7 @@ const App = () => { label: '财务', icon: , children: [ - {key: 412, label: 损益表}, - {key: 41, label: 信用卡账单}, + {key: 41, label: 信用卡账单}, ] }, @@ -84,6 +88,11 @@ const App = () => { }/> }/> }/> + }/> + }/> + + }> + }/> diff --git a/src/charts/BillTypeSelect.js b/src/charts/BillTypeSelect.js new file mode 100644 index 0000000..1f249e9 --- /dev/null +++ b/src/charts/BillTypeSelect.js @@ -0,0 +1,33 @@ +import React, {Component} from 'react'; +import {Select} from 'antd'; +import {observer} from 'mobx-react'; + + +const BillTypeSelect = (props) => { + const {store} = props; + return ( +
+ +
+ ); + +} + +export default observer(BillTypeSelect); + diff --git a/src/charts/Business_unit.js b/src/charts/Business_unit.js new file mode 100644 index 0000000..e7b9a98 --- /dev/null +++ b/src/charts/Business_unit.js @@ -0,0 +1,28 @@ +import React, {Component} from 'react'; +import {Select} from 'antd'; +import {observer} from "mobx-react"; + + +const Business_unit = (props) => { + const {store} = props; + return ( +
+ +
+ ); +} + +export default observer(Business_unit); diff --git a/src/charts/GroupSelect.js b/src/charts/GroupSelect.js index 912aed8..de5ed42 100644 --- a/src/charts/GroupSelect.js +++ b/src/charts/GroupSelect.js @@ -9,7 +9,7 @@ class GroupSelect extends Component { } render() { - const store=this.props.store; + const store = this.props.store; return (