From 44cad2be04a60878c71ee2dbf6ab607ed1a36bc9 Mon Sep 17 00:00:00 2001 From: zch Date: Thu, 5 Jun 2025 20:52:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor(info):=20=E4=BC=98=E5=8C=96=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E6=A0=BC=E5=BC=8F=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在多个实体类中为日期相关字段添加 dateFormat 属性,统一日期格式 - 修改部分字段名称,简化标签文本 - 调整部分 UI 组件的显示格式 --- src/views/ems/info/faultHandlingRecord/index.vue | 12 ++++++------ .../ems/info/plcBufferBatteryLifecycle/index.vue | 10 +++++----- .../ems/info/sparePartsRegistration/index.vue | 4 ++-- src/views/ems/info/upsBatteryLifecycle/index.vue | 14 +++++++------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/views/ems/info/faultHandlingRecord/index.vue b/src/views/ems/info/faultHandlingRecord/index.vue index b43cc52..cba5ebf 100644 --- a/src/views/ems/info/faultHandlingRecord/index.vue +++ b/src/views/ems/info/faultHandlingRecord/index.vue @@ -41,10 +41,10 @@ @keyup.enter.native="handleQuery" /> - + @@ -121,7 +121,7 @@ - + @@ -187,8 +187,8 @@ format="HH:mm:ss" /> - - + + @@ -289,7 +289,7 @@ { key: 5, label: `故障情况处置`, visible: true }, { key: 6, label: `影响`, visible: true }, { key: 7, label: `故障发生时间`, visible: true }, - { key: 8, label: `处置时长,单位:分钟`, visible: true }, + { key: 8, label: `处置时长`, visible: true }, { key: 9, label: `维修更换的主要元器件`, visible: true }, { key: 10, label: `备注`, visible: true }, ], diff --git a/src/views/ems/info/plcBufferBatteryLifecycle/index.vue b/src/views/ems/info/plcBufferBatteryLifecycle/index.vue index f101067..d992b6d 100644 --- a/src/views/ems/info/plcBufferBatteryLifecycle/index.vue +++ b/src/views/ems/info/plcBufferBatteryLifecycle/index.vue @@ -216,10 +216,10 @@ - + @@ -279,9 +279,9 @@ - + - + diff --git a/src/views/ems/info/sparePartsRegistration/index.vue b/src/views/ems/info/sparePartsRegistration/index.vue index e66152b..7ad6a50 100644 --- a/src/views/ems/info/sparePartsRegistration/index.vue +++ b/src/views/ems/info/sparePartsRegistration/index.vue @@ -225,9 +225,9 @@ - diff --git a/src/views/ems/info/upsBatteryLifecycle/index.vue b/src/views/ems/info/upsBatteryLifecycle/index.vue index 6c239f6..a3d39ed 100644 --- a/src/views/ems/info/upsBatteryLifecycle/index.vue +++ b/src/views/ems/info/upsBatteryLifecycle/index.vue @@ -632,11 +632,11 @@ this.$modal.msgSuccess("删除成功"); }).catch(() => {}); }, - /** 导出按钮操作 */ - handleExport() { - this.download('ems/info/upsBatteryLifecycle/export', { - ...this.queryParams - }, `upsBatteryLifecycle_${new Date().getTime()}.xlsx`) + /** 导出按钮操作 */ + handleExport() { + this.download('ems/info/upsBatteryLifecycle/export', { + ...this.queryParams + }, `upsBatteryLifecycle_${new Date().getTime()}.xlsx`) }, /** 导入按钮操作 */ handleImport() { @@ -663,7 +663,7 @@ // 提交上传文件 submitFileForm() { this.$refs.upload.submit(); - } - } + } + } };