From 924e6b8a54cd175703e52e00403e6862ad61d40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Tue, 30 Sep 2025 18:33:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=20=E6=9B=BF=E6=8D=A2dict-tag=E4=B8=BAel-tag=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=8C=89=E9=92=AE=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一将字典标签组件dict-tag替换为el-tag组件,使用不同颜色区分状态 优化按钮图标显示方式,使用i标签替代icon属性 调整radio-group的value绑定方式为label属性 --- .../components/devicelist_point/index.vue | 10 +-- .../components/devicelist_route/index.vue | 88 ++++++++++--------- .../devicePointInspectionPlan/index.vue | 12 +-- .../deviceRouteInspectionPlan/index.vue | 76 +++++++++++----- 4 files changed, 110 insertions(+), 76 deletions(-) diff --git a/src/views/deviceManagement/components/devicelist_point/index.vue b/src/views/deviceManagement/components/devicelist_point/index.vue index 812dc9e..7471993 100644 --- a/src/views/deviceManagement/components/devicelist_point/index.vue +++ b/src/views/deviceManagement/components/devicelist_point/index.vue @@ -31,7 +31,7 @@ @@ -59,7 +59,7 @@ @@ -76,9 +76,9 @@ - 全部 - 启用 - 停用 + 全部 + 启用 + 停用 diff --git a/src/views/deviceManagement/components/devicelist_route/index.vue b/src/views/deviceManagement/components/devicelist_route/index.vue index 5c5aaf0..4c57117 100644 --- a/src/views/deviceManagement/components/devicelist_route/index.vue +++ b/src/views/deviceManagement/components/devicelist_route/index.vue @@ -3,8 +3,9 @@ - - 新增 + + + 新增 @@ -19,16 +20,11 @@ highlight-current-row @sort-change="sortChange"> - - - - - - - - + + + + + - - - - - - + + + + + @@ -76,21 +73,28 @@ - 全部 - 启用 - 停用 + 全部 + 启用 + 停用 - 查询 - 重置 + + + 查询 + + + + 重置 + - - 新增 + + + 新增 @@ -108,17 +112,17 @@ - + - - - - + + + + - + - - - - - + + + + + diff --git a/src/views/deviceManagement/devicePointInspectionPlan/index.vue b/src/views/deviceManagement/devicePointInspectionPlan/index.vue index 2032043..7abd333 100644 --- a/src/views/deviceManagement/devicePointInspectionPlan/index.vue +++ b/src/views/deviceManagement/devicePointInspectionPlan/index.vue @@ -53,7 +53,7 @@ @@ -72,7 +72,7 @@ @@ -108,7 +108,8 @@ - + + {{ item.dictLabel }} @@ -116,7 +117,8 @@ - + + {{ item.dictLabel }} @@ -139,7 +141,7 @@ diff --git a/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue b/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue index cba3eb2..4b247cd 100644 --- a/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue +++ b/src/views/deviceManagement/deviceRouteInspectionPlan/index.vue @@ -14,9 +14,9 @@ - - - + 全部 + 检查 + 保养 @@ -26,21 +26,28 @@ - - - + 全部 + 停用 + 启用 - 搜索 - 重置 + + + 搜索 + + + + 重置 + - - 新增 + + + 新增 @@ -51,18 +58,22 @@ @@ -82,22 +93,26 @@ v-if="showColumn('excuteDayStartTime')" /> --> - + @@ -108,7 +123,8 @@ - + + {{ item.dictLabel }} @@ -164,7 +180,7 @@ - + {{ item.dictLabel }} @@ -178,16 +194,28 @@ - +