From e2fdfe540eaf160dc7d063c60667041edcc64e86 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 05 十一月 2024 22:55:14 +0800
Subject: [PATCH] 处理显示名称

---
 src/views/mdc/status-record.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/views/mdc/status-record.vue b/src/views/mdc/status-record.vue
index 3ec190c..30c9383 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-09-09 12:00:25
+ * @LastEditTime: 2024-09-19 10:11:58
  * @FilePath: /smart-web/src/views/mdc/status-record.vue
  * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 -->
@@ -40,7 +40,7 @@
                                         <div class="status-box" v-for="item in achievements"><div class="status-color" :style="{'background-color': item.color}"></div>{{ item.name }}</div>
                                     </div>
                                     <div class="status-wrap">
-                                        <el-checkbox v-model="humanFeedback" label="浜哄伐鍙嶉鐘舵��" size="large" />
+                                        <el-checkbox v-model="humanFeedback" label="浜哄伐鍙嶉鐘舵��" size="large" @change="humanFeedbackChange" />
                                         <div class="status-con">
                                             <div class="status-box" v-for="item in collectionstatus"><div class="status-color" :style="{'background-color': item.color}"></div>{{ item.name }}</div>
                                         </div>
@@ -174,6 +174,9 @@
         this.init();
     },
     methods: {
+        humanFeedbackChange(falg) {
+            this.$refs.chart01.getCharts();
+        },
         addfeedbackSuccess() {
             var workstationName = "";
             this.btnGongweiList.forEach(item=> {
@@ -222,7 +225,7 @@
                 startTime: this.time[0],
                 workstationInfoList: this.workstationInfoList
             }
-            this.$HTTP.post(`/api/blade-mdc/status-record/excel/export`,obj).then(res=> {
+            this.$HTTP.post(`/api/mdc/status-record/excel/export`,obj).then(res=> {
                 if(res.code == 200) {
                     window.open(res.data.link);
                 }
@@ -257,7 +260,7 @@
             })
         },
         getachievements() { //鐝鐘舵�佽褰曢噰闆嗙姸鎬�
-            this.$HTTP.get(`/api/blade-cps/global_wcs/wcs-achievements`).then(res=> {
+            this.$HTTP.get(`/api/smis/global_wcs/wcs-achievements`).then(res=> {
                 if(res.code == 200) {
                     var achievements = [];//閲囬泦鐘舵��
                     var collectionstatus = [];  //浜哄伐鍙嶉鐘舵��
@@ -277,7 +280,7 @@
         },
         getTime(data) {
             return new Promise(resolve=> {
-                this.$HTTP.post('/api/blade-mdc/efficiency-analysis/interval', {...data}).then(res => {
+                this.$HTTP.post('/api/mdc/efficiency-analysis/interval', {...data}).then(res => {
                     if (res.code === 200) {
                         var today =  moment().format('YYYY-MM-DD');
                         var yesterday = moment().subtract(1, 'days').format('YYYY-MM-DD');

--
Gitblit v1.9.3