From 6c8b80f51e45802fc65b5b2dc23da29354e65a2f Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期一, 21 十月 2024 12:58:39 +0800
Subject: [PATCH] 1

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

diff --git a/src/views/mdc/processParam/index.vue b/src/views/mdc/processParam/index.vue
index 287e218..587cf9c 100644
--- a/src/views/mdc/processParam/index.vue
+++ b/src/views/mdc/processParam/index.vue
@@ -1,8 +1,8 @@
 <!--
  * @Date: 2024-04-09 22:11:21
- * @LastEditors: Sneed
- * @LastEditTime: 2024-06-25 19:22:46
- * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/processParam/index.vue
+ * @LastEditors: lzhe lzhe@example.com
+ * @LastEditTime: 2024-10-10 11:04:05
+ * @FilePath: /cps-web/src/views/mdc/processParam/index.vue
  瀹炴椂鐪嬫澘
 -->
 <template>
@@ -31,9 +31,9 @@
                                     start-placeholder="" end-placeholder="" :disabled-date="disabledDate"
                                     @calendar-change="change" />
                             </el-col>
-                            <el-col :span="2" style='text-align: right;'>
+                            <!-- <el-col :span="2" style='text-align: right;'>
                                 <el-button type="primary" @click="exportExcel">瀵煎嚭</el-button>
-                            </el-col>
+                            </el-col> -->
                         </el-row>
                         <TimeLine v-model="timeRange" ref="timeLine"></TimeLine>
                         <el-collapse v-model="activeList">
@@ -219,10 +219,13 @@
             })
         },
         query() {
+            if (!this.treeChecked.toString()) return
+            console.log(this.treeChecked.toString(), '>>>>>>>>>/')
             this.$refs?.timeLine?.init({
                 dates: this.time,
                 workstationId: this.treeChecked.toString()
             })
+            this.list = []
             this.$HTTP.get('/api/blade-mdc/process-parameter/param', { workstationId: this.treeChecked.toString() }).then(res => {
                 if (res.code === 200) {
                     console.log('jkjkjkjkj', this.list)

--
Gitblit v1.9.3