data.js 4.09 KB
// menu-config.ts
// 配置数据(中英对照版)
export const APP_MENU = [
  {
    sectionKey: "passengerFlow",
    displayName: "PreMenu.analysis",
    iconPrefix: "pf-icon",
    items: [
      {
        itemKey: "trafficOverview",
        displayName: "app.menu.passengerFlowOverview",
        icon: "pf-icon-traffic-overview",
        path: "/pages/flowPage",
      },
      // {
      // 	itemKey: 'timeDetails',
      // 	displayName: '时段明细',
      // 	icon: 'pf-icon-time-details',
      // 	path: '/passenger-flow/time-details',
      // },
      {
        itemKey: "customerPortrait",
        displayName: "PreMenu.customersasis", //'客群画像',
        icon: "pf-icon-customer-portrait",
        path: "/passenger-flow/customer-portrait",
      },
      // {
      //   itemKey: "stayDuration",
      //   displayName: "PreAccIndex.ResidenceTime", // '停留时长',
      //   icon: "pf-icon-stay-duration",
      //   path: "/passenger-flow/stay-duration",
      // },
      // {
      //   itemKey: "conversionAnalysis",
      //   displayName: "PreMallChart.mall_flow_conversion.funnel", //'流量转化',
      //   icon: "pf-icon-conversion",
      //   path: "/passenger-flow/conversion",
      // },
      // {
      //   itemKey: "storeRanking",
      //   displayName: "PreMenu.regionalRanking", // '门店排行',
      //   icon: "pf-icon-store-ranking",
      //   path: "/passenger-flow/store-ranking",
      // },
    ],
  },
  // {
  //   sectionKey: "storeAnalysis",
  //   displayName: "asisTab.regionalAnalysis", //'店内分析',
  //   iconPrefix: "sa-icon",
  //   items: [
  // // #ifndef MP-WEIXIN
  // {
  //   itemKey: "storeHeatmap",
  //   displayName: "PreMenu.jointheatmap", // '门店热力',
  //   icon: "sa-icon-store-heatmap",
  //   path: "/store-analysis/store-heatmap",
  // },
  //// #endif
  // {
  //   itemKey: "areaStatistics",
  //   displayName: "PreMenu.regionalStatistics", // '区域统计',
  //   icon: "sa-icon-area-statistics",
  //   path: "/store-analysis/area-statistics",
  // },
  // {
  // 	itemKey: 'areaPortrait',
  // 	displayName: '区域画像',
  // 	icon: 'sa-icon-area-portrait',
  // 	path: '/store-analysis/area-portrait'
  // },
  //// #ifndef MP-WEIXIN
  // {
  //   itemKey: "areaHeatmap",
  //   displayName: "asis.HeatMap", //'区域热力',
  //   icon: "sa-icon-area-heatmap",
  //   path: "/store-analysis/area-heatmap",
  // },
  //// #endif

  // {
  // 	itemKey: 'areaCorrelation',
  // 	displayName: '区域关联',
  // 	icon: 'sa-icon-area-correlation',
  // 	path: '/store-analysis/area-correlation'
  // }
  //   ],
  // },
  // {
  //   sectionKey: 'smartInspection',
  //   displayName: 'app.menu.smartInspectionStore', // '智能巡店',
  //   iconPrefix: 'si-icon',
  //   items: [{
  //       itemKey: 'videoPatrol',
  //       displayName: 'PreMenu.remoteShopInspection', // '视频巡店',
  //       icon: 'si-icon-video-patrol',
  //       path: '/pages/inspection/index',
  //       tab: '/pages/inspection/index',
  //     },
  //     {
  //       itemKey: 'inspectionRecords',
  //       displayName: 'Management.storeInspectionRecord', // '巡检记录',
  //       icon: 'si-icon-inspection-records',
  //       path: '/pages/inspection/inspectionRecord',
  //       subPackage: '/subPackages/accountGroup'
  //     },
  //     {
  //       itemKey: 'pendingTasks',
  //       displayName: 'app.home.waitMeDeal',
  //       icon: 'si-icon-pending-tasks',
  //       path: '/pages/inspection/inspectionRecord?origin=processing',
  //       subPackage: '/subPackages/accountGroup'
  //     }
  //   ]
  // },
  {
    sectionKey: "YAPReport",
    displayName: "YAP Report", // '智能巡店',
    iconPrefix: "si-icon",
    items: [
      {
        itemKey: "GroupStats",
        displayName: "Group Stats",
        icon: "yap-icon-groupStats",
        path: "/yap-report/group-stats",
        subPackage: "/subPackages/accountGroup",
      },
      {
        itemKey: "StoreStats",
        displayName: "Store Stats",
        icon: "yap-icon-storeStats",
        path: "/yap-report/store-stats",
        subPackage: "/subPackages/accountGroup",
      },
    ],
  },
];