From 179136b6d89e4d24c37fc3981848f62b5673495c Mon Sep 17 00:00:00 2001 From: gaoshp <291585735@qq.com> Date: 星期二, 18 六月 2024 23:17:28 +0800 Subject: [PATCH] 默认2 --- src/views/mdc/status-record.vue | 43 ++++++++++++++++++++----------------------- 1 files changed, 20 insertions(+), 23 deletions(-) diff --git a/src/views/mdc/status-record.vue b/src/views/mdc/status-record.vue index 0ae953e..dc35996 100644 --- a/src/views/mdc/status-record.vue +++ b/src/views/mdc/status-record.vue @@ -2,7 +2,7 @@ * @Author: lzhe lzhe@example.com * @Date: 2024-04-26 09:36:18 * @LastEditors: lzhe lzhe@example.com - * @LastEditTime: 2024-06-05 11:49:48 + * @LastEditTime: 2024-06-17 22:40:51 * @FilePath: /smart-web/src/views/mdc/status-record.vue * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -309,29 +309,26 @@ this.workstationInfoList = this.select; this.btnGongweiList = this.select; //宸ヤ綅 this.date = this.btnList[0].id; - if(this.activeName == "shift") { - this.$nextTick(()=> { - this.$refs.chart01.getCharts(); - }) - }else { - if(this.btnGongweiList.length != 0) { //鏈夐�夊伐浣嶆墠鑳藉睍绀哄伐浣� - this.isshowempty = false; - console.log(this.btnGongweiList,122) - this.btnGongweiListActive = this.btnGongweiList[0].id; //宸ヤ綅 - this.lastLevelId = this.btnGongweiListActive; - this.setWork = { //宸ヤ綅 - endDate: this.time[1], - startDate: this.time[0], - humanFeedback: true, - machineFeedback: true, - workstationId: this.select[0].id, - workstationName: this.btnGongweiList[0].name - } - this.workSelect = this.select; - this.$nextTick(()=> { - this.$refs.chart02.getCharts(); - }) + this.$nextTick(()=> { //鎸夋棩鏈熸煡鐪� + this.$refs.chart01.getCharts(); + }) + //鎸夊伐浣嶆煡鐪� + if(this.btnGongweiList.length != 0) { //鏈夐�夊伐浣嶆墠鑳藉睍绀哄伐浣� + this.isshowempty = false; + this.btnGongweiListActive = this.btnGongweiList[0].id; //宸ヤ綅 + this.lastLevelId = this.btnGongweiListActive; + this.setWork = { //宸ヤ綅 + endDate: this.time[1], + startDate: this.time[0], + humanFeedback: true, + machineFeedback: true, + workstationId: this.select[0].id, + workstationName: this.btnGongweiList[0].name } + this.workSelect = this.select; + this.$nextTick(()=> { + this.$refs.chart02.getCharts(); + }) } }); } -- Gitblit v1.9.3