From 3432c3100ccb4c3b78dc0a5f7f242bdcda503a63 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期三, 18 六月 2025 10:45:49 +0800 Subject: [PATCH] 1、终端程序呼叫页面呼叫原因组件由输入框改为多行文本域 2、设备管理页面新增设备图片字段同时在新增和编辑设备时添加设备图片 3、设备监控以及设备看板页面新增故障状态同时替换设备图片为设备管理页面中维护的设备图片而不再是设备所属设备类型图片以及三色灯增加故障状态灯 --- src/config/router.config.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/config/router.config.js b/src/config/router.config.js index 2154e1f..84dcc23 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -1,4 +1,4 @@ -import { UserLayout, TabLayout, RouteView, BlankLayout, PageView } from '@/components/layouts' +import { UserLayout, TabLayout, RouteView, BlankLayout, PageView, TerminalLayout } from '@/components/layouts' /** * 璧拌彍鍗曪紝璧版潈闄愭帶鍒� @@ -49,7 +49,7 @@ path: 'alteration', name: 'alteration', component: () => import(/* webpackChunkName: "user" */ '@/views/user/alteration/Alteration') - }, + } ] }, { @@ -63,7 +63,7 @@ path: 'login', name: 'oauth2-app-login', component: () => import(/* webpackChunkName: "oauth2-app.login" */ '@/views/user/oauth2/OAuth2Login') - }, + } ] }, @@ -84,8 +84,55 @@ component: () => import('@/views/mdc/base/MdcWorkshopSignage.vue') }, { + path: '/terminal', + redirect: '/terminal/login', + component: TerminalLayout, + children: [ + { + path: 'login', + name: 'operatorLogin', + component: () => import('@/views/dnc/base/OperatorLogin.vue') + }, + { + path: 'index', + name: 'terminalIndex', + component: () => import('@/views/dnc/base/TerminalIndex.vue') + }, + { + path: 'work', + name: 'equipmentStartWork', + component: () => import('@/views/dnc/base/modules/TerminalIndex/EquipmentStartWork.vue') + }, + { + path: 'fault', + name: 'reportEquipmentFault', + component: () => import('@/views/dnc/base/modules/TerminalIndex/ReportEquipmentFault.vue') + }, + { + path: 'close', + name: 'reportEquipmentClose', + component: () => import('@/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose.vue') + }, + { + path: 'spotCheck', + name: 'equipmentSpotCheck', + component: () => import('@/views/dnc/base/modules/TerminalIndex/EquipmentSpotCheck.vue') + }, + { + path: 'passRate', + name: 'reportPassRate', + component: () => import('@/views/dnc/base/modules/TerminalIndex/ReportPassRate.vue') + }, + { + path: 'call', + name: 'procedureCall', + component: () => import('@/views/dnc/base/modules/TerminalIndex/ProcedureCall.vue') + }, + ] + }, + { path: '/404', component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404') - }, + } ] -- Gitblit v1.9.3