|
|
|
import {makeAutoObservable} from "mobx";
|
|
|
|
import OrdersStore from "./OrdersStore";
|
|
|
|
import DashboardStore from "./DashboardStore";
|
|
|
|
import DatePickerStore from "./DatePickerStore";
|
|
|
|
import CustomerStore from "./CustomerStore";
|
|
|
|
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";
|
|
|
|
class Index {
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
makeAutoObservable(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Index;
|