From eef1ef0be935d4a3d8fc691b2666f41796b2d4a5 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期一, 04 十一月 2024 19:57:08 +0800
Subject: [PATCH] 增加列表显示

---
 src/views/mdc/processParam/index.vue |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/views/mdc/processParam/index.vue b/src/views/mdc/processParam/index.vue
index fed2ab7..8f7690f 100644
--- a/src/views/mdc/processParam/index.vue
+++ b/src/views/mdc/processParam/index.vue
@@ -1,7 +1,7 @@
 <!--
  * @Date: 2024-04-09 22:11:21
  * @LastEditors: gaoshp
- * @LastEditTime: 2024-11-03 17:26:18
+ * @LastEditTime: 2024-11-04 19:16:35
  * @FilePath: /cps-web/src/views/mdc/processParam/index.vue
  瀹炴椂鐪嬫澘
 -->
@@ -184,7 +184,7 @@
             this.$HTTP.post('/api/mdc/process-parameter/item?current=1&size=1500', {
                 endTime: this.timeRange.endTime,
                 startTime: this.timeRange.startTime,
-                item: item.name,
+                item: item.dpName,
                 methodEnum: "HOUR",
                 workstationId: this.treeChecked.toString(),
                 workstationName: ''
@@ -211,7 +211,6 @@
         },
         query() {
             if (!this.treeChecked.toString()) return
-            console.log(this.treeChecked.toString(), '>>>>>>>>>/')
             this.$refs?.timeLine?.init({
                 dates: this.time,
                 workstationId: this.treeChecked.toString()
@@ -219,7 +218,6 @@
             this.list = []
             this.$HTTP.get('/api/mdc/process-parameter/params', { workstationId: this.treeChecked.toString() }).then(res => {
                 if (res.code === 200) {
-                    console.log('jkjkjkjkj', this.list)
                     this.list = res.data.map(v => {
                         let name = v.isProcessParam ? 'ProcessProgram' : v.dpName
                         return {
@@ -271,7 +269,6 @@
                 } else {
                     this.setLineOptions(res.data.data, item.dpName)
                 }
-                console.log(this.list, '>>>>>>>>>>//////1')
             })
         },
         setLineOptions(data, myname) {
@@ -364,7 +361,7 @@
                     tooltip: {
                         show: true,
                         trigger: 'item',
-                        position: 'top',
+                        // position: 'top',
                         triggerOn: 'click',
                         formatter: (value, ticket) => {
                             // console.log('----------1111')
@@ -413,7 +410,6 @@
                     },
                 },
             }
-            console.log(dayCharts, '>>>>>>>???')
             let index = this.list.findIndex(item => item.dpName === myname)
             this.list[index] = Object.assign({
                 ...this.list[index],

--
Gitblit v1.9.3