From 2dbc2e4a8d64ed2fea3996a07d3659fac19b56b4 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 09 十月 2023 19:38:36 +0800
Subject: [PATCH] 工艺模型需求小优化

---
 src/views/visualization.vue |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/src/views/visualization.vue b/src/views/visualization.vue
index 94cf74b..0c6d5f9 100644
--- a/src/views/visualization.vue
+++ b/src/views/visualization.vue
@@ -343,11 +343,11 @@
                       <div class="process-params-title">
                         <el-popover
                           width="200"
-                          :content="taskData.number"
+                          :content="list.number"
                           placement="top-start"
                           trigger="click"
                         >
-                          <span slot="reference">宸ヨ壓缂栧彿锛歿{ taskData.number }}</span>
+                          <span slot="reference">宸ヨ壓缂栧彿锛歿{ list.number }}</span>
                         </el-popover>
 
                       </div>
@@ -605,8 +605,6 @@
 
     </template> -->
     <!-- 鎺у埗鐨勫脊妗� -->
-    <AddControl ref="control" :Arr="Arr" />
-    <!-- 鎺у埗鐨勫脊妗� -->
     <TaskControlModal
       ref="control"
       :activeName="activeName"
@@ -811,12 +809,13 @@
   },
   methods: {
     updateGet(number,val){
+      if(val){
+        this.getTaskInfo(this.activeName,'new')
+        return true;
+      }
       this.listData.number=number
       if(this.index){
         this.TasksCopy[this.index].number=number
-      }
-      if(val){
-        this.getTaskInfo(this.activeName,'new')
       }
     },
     getModelList(){
@@ -1141,7 +1140,7 @@
           }
           this.getProcessModelList();
           this.cutClick(val?val:1)
-          if(info){
+          if(info=='new'){
             return true;
           }
           this.getStartArr()
@@ -1161,7 +1160,7 @@
         //     }, 60000);
         //   }
         // }
-        
+
       });
       // this.TasksCopy.push(this.object)
       // this.TasksCopy.push(this.object)
@@ -1750,7 +1749,7 @@
           width: 100%;
           height: 30px;
           // text-align: left;
-          font-size: 24px;
+          font-size: 28px!important;
           margin: 0;
           text-align: center;
           line-height: 36px;

--
Gitblit v1.8.0