personalInterface.ts 1.11 KB
/*
 * @Description: 
 * @Author: huyue
 * @Date: 2023-03-23 10:48:13
 * @LastEditors: huyue
 * @LastEditTime: 2023-06-09 15:53:57
 */
export interface Params {
  orderCode?: string;
}

export interface DataInfo {
  newsInfo: NewsInfo;
  upgradeCount: number | string;
  content: string;
  carTypeSwitch: boolean;
  goodsSwitch: boolean;
  payTypeSwitch: boolean;
  scriptSwitch: boolean;
  scriptText: string;
}

export interface NewsInfo {
  month?: string;
  staff?: StaffInfo;
  totalPrice?: number;
  carChildsBrandName?: string;
  customerName?: string;
  carBrand?: string;
  merchantName?: string;
  carSeriesName?: string;
  orderTime?: string;
  sunshineInspiration?: string;
  goodsNames?: string[];
  channelType?: number;
  switchList: SwitchType[];
}

export interface StaffInfo {
  staffName: string;
  staffJob: string;
  avator: string;
  upgradeCount: number;
  notUpgradeCount: number;
  orderMoney: number;
  unitPricePerCustomer: number;
  conversionRate: number;
}

export interface SwitchType {
  switchType: number;
  switchStatus: string;
  switchText: string;
}