From 8a4d90d80c6ae8472bf11a1c1f148ca49c90f0a7 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 29 五月 2025 15:42:59 +0800 Subject: [PATCH] 1、设备TEEP、设备开动率以及班次利用率页面时间选择器新增用户选择时对时间范围的限制功能并测试大数据导出功能 2、生产设备自主维护点检表设备编号的输入方式由手动输入调整为弹窗选择输入 3、生产设备自主维护点检表页面调整周保执行记录渲染逻辑(日期对应到周) --- src/views/mdc/base/modules/deviceLog/LogInfo.vue | 25 +++++++++---------------- 1 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/views/mdc/base/modules/deviceLog/LogInfo.vue b/src/views/mdc/base/modules/deviceLog/LogInfo.vue index 58000dd..9ccf664 100644 --- a/src/views/mdc/base/modules/deviceLog/LogInfo.vue +++ b/src/views/mdc/base/modules/deviceLog/LogInfo.vue @@ -174,7 +174,7 @@ import { getAction } from '@/api/manage' // import {mapActions} from 'vuex' export default { - components: { + components: { LogList, WorkLogList, AlarmLogList, @@ -332,28 +332,21 @@ }, searchQuery() { // console.log(this.queryParams.collectTime) - if (this.queryParams.collectTime != undefined) { - this.queryParams.collectTimeStr = this.queryParams.collectTime.format('YYYY-MM-DD') - if (!this.queryParams.equipmentId || !this.queryParams.equipmentName) { - this.$notification.warning({ - message: '娑堟伅', - description: '璇烽�夋嫨璁惧' - }) - return false - } - this.queryChart() - } else { - // this.$message.warning("璇烽�夋嫨鏃堕棿") - console.log('瑙﹀彂鎻愮ず') + this.queryParams.collectTimeStr = this.queryParams.collectTime.format('YYYY-MM-DD') + if (!this.queryParams.equipmentId || !this.queryParams.equipmentName) { this.$notification.warning({ message: '娑堟伅', - description: '璇烽�夋嫨鏃堕棿' + description: '璇烽�夋嫨璁惧' }) + return false } + this.queryChart() // this.queryList() }, searchReset() { - this.queryParams = {} + this.queryParams = { + collectTime : moment() + } // this.queryList() this.equipment = {} this.queryChart() -- Gitblit v1.9.3