You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dashboard/src/stores/Index.js

42 lines
1.6 KiB
JavaScript

2 years ago
import {makeAutoObservable} from "mobx";
3 years ago
import OrdersStore from "./OrdersStore";
3 years ago
import DashboardStore from "./DashboardStore";
import DatePickerStore from "./DatePickerStore";
import CustomerStore from "./CustomerStore";
3 years ago
import AuthStore from "./AuthStore";
import ChatSessionStore from "./ChatSessionStore";
import FinancialStore from "./FinancialStore";
import SaleStore from "./SaleStore";
import WechatStore from "./Wechat";
import WhatsAppStore from "./WhatsApp";
import CustomerServicesStore from "./CustomerServices";
import TradeStore from "./Trade";
import KPI from "./KPI";
import DictData from "./DictData";
import Distribution from "./Distribution";
import DataPivot from './DataPivot';
3 years ago
class Index {
3 years ago
constructor() {
this.dashboard_store = new DashboardStore(this);
this.orders_store = new OrdersStore(this);
this.date_picker_store = new DatePickerStore(this);
this.customer_store = new CustomerStore(this);
3 years ago
this.auth_store = new AuthStore(this);
this.chat_session_store = new ChatSessionStore(this);
this.financial_store = new FinancialStore(this);
this.sale_store = new SaleStore(this);
this.wechatStore = new WechatStore(this);
this.whatsAppStore = new WhatsAppStore(this);
this.customerServicesStore = new CustomerServicesStore(this);
this.TradeStore = new TradeStore(this);
this.KPIStore = new KPI(this);
this.DictDataStore = new DictData(this);
this.DistributionStore = new Distribution(this);
this.DataPivotStore = new DataPivot(this);
makeAutoObservable(this);
3 years ago
}
}
export default Index;