|
@@ -0,0 +1,374 @@
|
|
|
|
|
+export const mockData = {
|
|
|
|
|
+ menus: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "home",
|
|
|
|
|
+ path: "/home",
|
|
|
|
|
+ meta: { title: "首页", affix: true },
|
|
|
|
|
+ component: "home"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "userCenter",
|
|
|
|
|
+ path: "/usercenter",
|
|
|
|
|
+ meta: { title: "个人信息", hidden: true },
|
|
|
|
|
+ component: "userCenter"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "basic",
|
|
|
|
|
+ path: "/basic",
|
|
|
|
|
+ meta: { title: "基础数据管理", icon: "ri:apps-line" },
|
|
|
|
|
+ redirect: "/basic/supplier",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "supplier",
|
|
|
|
|
+ path: "/basic/supplier",
|
|
|
|
|
+ meta: { title: "供应商管理", icon: "ant-design:phone-outlined" },
|
|
|
|
|
+ component: "basic/supplier"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "customer",
|
|
|
|
|
+ path: "/basic/customer",
|
|
|
|
|
+ meta: { title: "客户管理", icon: "garden:customer-lists-fill-26" },
|
|
|
|
|
+ component: "basic/customer"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "tag",
|
|
|
|
|
+ path: "/basic/tag",
|
|
|
|
|
+ meta: { title: "标签管理", icon: "mingcute:tag-line" },
|
|
|
|
|
+ component: "basic/tag"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "facerec",
|
|
|
|
|
+ path: "/facerec",
|
|
|
|
|
+ meta: { title: "人脸识别", icon: "tabler:face-id" },
|
|
|
|
|
+ redirect: "/facerec/device",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "facerecDevice",
|
|
|
|
|
+ path: "/facerec/device",
|
|
|
|
|
+ meta: { title: "人脸识别-全部设备", icon: "ant-design:code-sandbox-outlined" },
|
|
|
|
|
+ component: "facerec/device"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "facerecPlatformTask",
|
|
|
|
|
+ path: "/facerec/platformTask",
|
|
|
|
|
+ meta: { title: "人脸识别-第三方平台下发任务", icon: "solar:list-arrow-down-bold" },
|
|
|
|
|
+ component: "facerec/platform/task"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "facerecPlatformTaskPush",
|
|
|
|
|
+ path: "/facerec/platformTaskPush",
|
|
|
|
|
+ meta: { title: "人脸识别-第三方平台推送任务", icon: "cil:list-high-priority" },
|
|
|
|
|
+ component: "facerec/platform/push"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "passqrcode",
|
|
|
|
|
+ path: "/passqrcode",
|
|
|
|
|
+ meta: { title: "临时访客", icon: "ant-design:qrcode-outlined" },
|
|
|
|
|
+ redirect: "/passqrcode/device",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "passqrcodeDevice",
|
|
|
|
|
+ path: "/passqrcode/device",
|
|
|
|
|
+ meta: { title: "临时访客-全部设备", icon: "ant-design:code-sandbox-outlined" },
|
|
|
|
|
+ component: "passqrcode/device"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "passqrcodePlatformTask",
|
|
|
|
|
+ path: "/passqrcode/platformTask",
|
|
|
|
|
+ meta: { title: "临时访客-青岛地铁卡号同步", icon: "mdi:calendar-sync-outline" },
|
|
|
|
|
+ component: "passqrcode/platform/task"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "passqrcodePlatformTaskPush",
|
|
|
|
|
+ path: "/passqrcode/platformTaskPush",
|
|
|
|
|
+ meta: { title: "临时访客-第三方平台推送任务", icon: "cil:list-high-priority" },
|
|
|
|
|
+ component: "passqrcode/platform/push"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "tower",
|
|
|
|
|
+ path: "/tower",
|
|
|
|
|
+ meta: { title: "塔基监测", icon: "mingcute:tower-crane-line" },
|
|
|
|
|
+ redirect: "/tower/device",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "towerDevice",
|
|
|
|
|
+ path: "/tower/device",
|
|
|
|
|
+ meta: { title: "塔基监测-全部设备", icon: "ant-design:code-sandbox-outlined" },
|
|
|
|
|
+ component: "tower/device"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "towerRecord",
|
|
|
|
|
+ path: "/tower/monitor",
|
|
|
|
|
+ meta: { title: "塔基监测-监测记录", icon: "ant-design:reconciliation-outlined" },
|
|
|
|
|
+ component: "tower/monitor"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "towerWarning",
|
|
|
|
|
+ path: "/tower/warning",
|
|
|
|
|
+ meta: { title: "塔基监测-告警记录", icon: "fluent:text-bullet-list-square-warning-16-regular" },
|
|
|
|
|
+ component: "tower/warning"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "env",
|
|
|
|
|
+ path: "/env",
|
|
|
|
|
+ meta: { title: "环境监测", icon: "fluent:earth-leaf-16-regular" },
|
|
|
|
|
+ redirect: "/env/device",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "envDevice",
|
|
|
|
|
+ path: "/env/device",
|
|
|
|
|
+ meta: { title: "环境监测-全部设备", icon: "ant-design:code-sandbox-outlined" },
|
|
|
|
|
+ component: "env/device"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "envRecord",
|
|
|
|
|
+ path: "/env/monitor",
|
|
|
|
|
+ meta: { title: "环境监测-监测记录", icon: "ant-design:reconciliation-outlined" },
|
|
|
|
|
+ component: "env/monitor"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ /* ***************************************************************** */
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "dataMock",
|
|
|
|
|
+ path: "/dataMock",
|
|
|
|
|
+ meta: { title: "数据管理与模拟", icon: "majesticons:data-plus-line" },
|
|
|
|
|
+ redirect: "/dataMock/env",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "envMock",
|
|
|
|
|
+ path: "/dataMock/env",
|
|
|
|
|
+ meta: { title: "数据管理与模拟-环境监测", icon: "fluent:earth-leaf-16-regular" },
|
|
|
|
|
+ component: "dataMock/env"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "standardMock",
|
|
|
|
|
+ path: "/dataMock/standard",
|
|
|
|
|
+ meta: { title: "数据管理与模拟-标养室监测", icon: "dashicons:dashboard" },
|
|
|
|
|
+ component: "dataMock/standard"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "carwashMock",
|
|
|
|
|
+ path: "/dataMock/carwash",
|
|
|
|
|
+ meta: { title: "数据管理与模拟-车辆冲洗", icon: "map:car-wash" },
|
|
|
|
|
+ component: "dataMock/carwash"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "ugliAiMock",
|
|
|
|
|
+ path: "/dataMock/ugliAi",
|
|
|
|
|
+ meta: { title: "数据管理与模拟-AI识别", icon: "hugeicons:ai-brain-02" },
|
|
|
|
|
+ component: "dataMock/ugliAi"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "EasyRun",
|
|
|
|
|
+ path: "/easyRun",
|
|
|
|
|
+ meta: { title: "EasyRun", icon: "fluent-emoji-high-contrast:hammer-and-wrench" },
|
|
|
|
|
+ redirect: "/easyRun/saleOrder",
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "saleOrder",
|
|
|
|
|
+ path: "/easyRun/saleOrder",
|
|
|
|
|
+ meta: { title: "销售订单", icon: "material-symbols:inactive-order-outline-sharp" },
|
|
|
|
|
+ component: "easyRun/saleOrder"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "purchaseOrder",
|
|
|
|
|
+ path: "/easyRun/purchaseOrder",
|
|
|
|
|
+ meta: { title: "采购订单", icon: "hugeicons:file-01" },
|
|
|
|
|
+ component: "easyRun/purchaseOrder"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "warranty",
|
|
|
|
|
+ path: "/warranty",
|
|
|
|
|
+ meta: { title: "质保管理", icon: "streamline-flex:warranty-badge-highlight-remix" },
|
|
|
|
|
+ redirect: "/warranty/warranty",
|
|
|
|
|
+ children: []
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "afterSales",
|
|
|
|
|
+ path: "/afterSales",
|
|
|
|
|
+ meta: { title: "售后管理", icon: "icon-park-outline:market" },
|
|
|
|
|
+ redirect: "/afterSales/afterSales",
|
|
|
|
|
+ children: []
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+
|
|
|
|
|
+ // 预警
|
|
|
|
|
+ warning: [
|
|
|
|
|
+ // 设备离线,
|
|
|
|
|
+ // 数据异常
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "facerec",
|
|
|
|
|
+ meta: { title: "人脸识别", icon: "tabler:face-id" },
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: "/facerec/device",
|
|
|
|
|
+ meta: { title: "实名制设备" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: "/facerec/tower",
|
|
|
|
|
+ meta: { title: "塔机设备" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: "/facerec/elevator",
|
|
|
|
|
+ meta: { title: "升降机设备" }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "towerDevice",
|
|
|
|
|
+ path: "/tower/device",
|
|
|
|
|
+ meta: { title: "塔机监测", icon: "mingcute:tower-crane-line" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "elevatorDevice",
|
|
|
|
|
+ path: "/elevator/device",
|
|
|
|
|
+ meta: { title: "升降机监测", icon: "icon-park-outline:elevator" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "envDevice",
|
|
|
|
|
+ path: "/env/device",
|
|
|
|
|
+ meta: { title: "环境监测", icon: "fluent:earth-leaf-16-regular" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "standardDevice",
|
|
|
|
|
+ path: "/standard/device",
|
|
|
|
|
+ meta: { title: "标养室监测", icon: "dashicons:dashboard" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "ugliAiDevice",
|
|
|
|
|
+ path: "/ugliAi/device",
|
|
|
|
|
+ meta: { title: "AI识别", icon: "hugeicons:ai-brain-02" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "carwashDevice",
|
|
|
|
|
+ path: "/carwash/device",
|
|
|
|
|
+ meta: { title: "车辆冲洗", icon: "map:car-wash" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "smokeDevice",
|
|
|
|
|
+ path: "/smoke/device",
|
|
|
|
|
+ meta: { title: "智能烟感", icon: "cbi:smoke-detector" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcastDevice",
|
|
|
|
|
+ path: "/broadcast/device",
|
|
|
|
|
+ meta: { title: "智能广播", icon: "ri:broadcast-fill" }
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+
|
|
|
|
|
+ // 待办
|
|
|
|
|
+ toDo: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "saleOrder",
|
|
|
|
|
+ path: "/easyRun/saleOrder",
|
|
|
|
|
+ meta: { title: "待发布", icon: "Release" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcast",
|
|
|
|
|
+ path: "/easyRun/device",
|
|
|
|
|
+ meta: { title: "待盘货", icon: "Stock" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcast",
|
|
|
|
|
+ path: "/easyRun/device",
|
|
|
|
|
+ meta: { title: "待建计划", icon: "pajamas:todo-add" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcast",
|
|
|
|
|
+ path: "/easyRun/device",
|
|
|
|
|
+ meta: { title: "待实施", icon: "fluent:window-wrench-32-regular" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcast",
|
|
|
|
|
+ path: "/easyRun/device",
|
|
|
|
|
+ meta: { title: "待验收", icon: "bi:clipboard2-check" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcast",
|
|
|
|
|
+ path: "/easyRun/device",
|
|
|
|
|
+ meta: { title: "待付款", icon: "mingcute:refund-cny-line" }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "broadcast",
|
|
|
|
|
+ path: "/easyRun/device",
|
|
|
|
|
+ meta: { title: "待收款", icon: "fluent:payment-32-regular" },
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+
|
|
|
|
|
+ // 数据模拟
|
|
|
|
|
+ dataMock: [
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "envMock",
|
|
|
|
|
+ path: "/dataMock/env",
|
|
|
|
|
+ meta: { title: "环境监测", icon: "fluent:earth-leaf-16-regular" },
|
|
|
|
|
+ tags: {
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ name: "",
|
|
|
|
|
+ type: ""
|
|
|
|
|
+ },
|
|
|
|
|
+ list: [
|
|
|
|
|
+ { name: "数量过多", type: "danger" },
|
|
|
|
|
+ { name: "分布不均", type: "danger" }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "standardMock",
|
|
|
|
|
+ path: "/dataMock/standard",
|
|
|
|
|
+ meta: { title: "标养室监测", icon: "dashicons:dashboard" },
|
|
|
|
|
+ tags: {
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ name: "",
|
|
|
|
|
+ type: ""
|
|
|
|
|
+ },
|
|
|
|
|
+ list: [
|
|
|
|
|
+ { name: "数量不足", type: "danger" },
|
|
|
|
|
+ { name: "时间段缺失", type: "danger" }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "carwashMock",
|
|
|
|
|
+ path: "/dataMock/carwash",
|
|
|
|
|
+ meta: { title: "车辆冲洗", icon: "map:car-wash" },
|
|
|
|
|
+ tags: {
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ name: "",
|
|
|
|
|
+ type: ""
|
|
|
|
|
+ },
|
|
|
|
|
+ list: [
|
|
|
|
|
+ { name: "数量过多", type: "danger" },
|
|
|
|
|
+ { name: "分布不均", type: "danger" }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ name: "ugliAiMock",
|
|
|
|
|
+ path: "/dataMock/ugliAi",
|
|
|
|
|
+ meta: { title: "AI识别", icon: "hugeicons:ai-brain-02" },
|
|
|
|
|
+ tags: {
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ name: "",
|
|
|
|
|
+ type: ""
|
|
|
|
|
+ },
|
|
|
|
|
+ list: [
|
|
|
|
|
+ { name: "数量不足", type: "danger" },
|
|
|
|
|
+ { name: "时间段缺失", type: "danger" }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+};
|