From 401cf32a131d95363a75348bc0f9aa1ce5c93de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Sat, 11 Oct 2025 17:01:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=BE=E5=A4=87=E4=BB=BB=E5=8A=A1=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD=E5=8F=8A=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加设备任务执行视图和路由配置 - 重构设备树选择组件,使用el-tree替换Treeselect - 优化设备任务执行步骤界面,替换图标组件和图片预览组件 - 调整设备维修和设备任务执行界面的表单布局和样式 - 修改设备维修模块的报修类型为本地配置 - 修复设备任务执行中的扫码认证组件引用问题 --- src/router/index.js | 28 +++++++-- .../BaseDeviceAccountTreeSelect/index.vue | 58 ++++++++++++------- .../deviceManagement/deviceRepair/index.vue | 46 ++++++++------- .../TheTaskExecuteDeviceItemStep.vue | 22 +++---- .../deviceTaskExecute/index.vue | 25 ++++---- 5 files changed, 109 insertions(+), 70 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index e6a1437..3e87206 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -17,10 +17,10 @@ import Layout from '@/layout' * redirect: noRedirect // 当设置 noRedirect 的时候该路由在面包屑导航中不可被点击 * name:'router-name' // 设定路由的名字,一定要填写不然使用时会出现各种问题 * meta : { - noCache: true // 如果设置为true,则不会被 缓存(默认 false) - title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字 - icon: 'svg-name' // 设置该路由的图标,对应路径src/assets/icons/svg - breadcrumb: false // 如果设置为false,则不会在breadcrumb面包屑中显示 + noCache: true // 如果设置为true,则不会被 缓存(默认 false) + title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字 + icon: 'svg-name' // 设置该路由的图标,对应路径src/assets/icons/svg + breadcrumb: false // 如果设置为false,则不会在breadcrumb面包屑中显示 } */ @@ -152,7 +152,25 @@ export const constantRoutes = [ component: (resolve) => require(['@/views/kanbanManagement/mainProductionBoard.vue'], resolve), hidden: true, }, - + // 设备管理 + { + name: 'Fullscreen', + path: '/fullscreen', + component: () => import('@/views/deviceManagement/datascreen/index.vue'), + hidden: true + }, + // { + // name: 'Fullscreen2', + // path: '/fullscreen2', + // component: () => import('@/views/andonManagement/analysis/fullscreen/index.vue'), + // hidden: true + // }, + { + name: 'TheTaskExecuteView', + path: '/TheTaskExecuteView', + component: () => import('@/views/deviceManagement/deviceTaskExecute/TheTaskExecuteView.vue'), + hidden: true + }, // { // path: '/qualityManagement/FQC/qualityStatistics', // component: (resolve) => require(['@/views/qualityManagement/FQC/qualityStatistics.vue'], resolve), diff --git a/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue b/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue index dfb7c63..49f922e 100644 --- a/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue +++ b/src/views/deviceManagement/components/BaseDeviceAccountTreeSelect/index.vue @@ -1,31 +1,35 @@ - + diff --git a/src/views/deviceManagement/deviceRepair/index.vue b/src/views/deviceManagement/deviceRepair/index.vue index b2913e4..2d18b76 100644 --- a/src/views/deviceManagement/deviceRepair/index.vue +++ b/src/views/deviceManagement/deviceRepair/index.vue @@ -4,13 +4,13 @@ * @Date: (2024-05-28) -->