From 7ba23e6e4870465855d80d026cf31490e0f8d427 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期一, 22 九月 2025 11:20:47 +0800
Subject: [PATCH] 中空一线、二线。三线页面改造

---
 UI-Project/src/views/hollow/hollowequipmenthree.vue |   26 ++----------
 UI-Project/src/views/hollow/hollowequipment.vue     |   10 ++--
 UI-Project/src/views/hollow/hollowequipmenttwo.vue  |   26 ++----------
 3 files changed, 15 insertions(+), 47 deletions(-)

diff --git a/UI-Project/src/views/hollow/hollowequipment.vue b/UI-Project/src/views/hollow/hollowequipment.vue
index ef2b32a..d738eb9 100644
--- a/UI-Project/src/views/hollow/hollowequipment.vue
+++ b/UI-Project/src/views/hollow/hollowequipment.vue
@@ -24,11 +24,6 @@
           $t('hellow.stopproject')
         }}
         </el-button>
-        <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning"
-          @click="handleBinde">{{
-            $t('searchOrder.printlabels')
-          }}
-        </el-button>
       </div>
       <div id="dotClass">
         <!-- <div style="margin-bottom: -5px;margin-left: 5px;"> -->
@@ -77,6 +72,11 @@
           $t('hellow.taskdet')
         }}
         </el-button> 
+        <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning"
+          @click="handleBinde">{{
+            $t('searchOrder.printlabels')
+          }}
+        </el-button>
   </div>  
       <!-- 鍔ㄦ�佽〃鏍� -->
       <el-table 
diff --git a/UI-Project/src/views/hollow/hollowequipmenthree.vue b/UI-Project/src/views/hollow/hollowequipmenthree.vue
index b52f8bc..f02aeb0 100644
--- a/UI-Project/src/views/hollow/hollowequipmenthree.vue
+++ b/UI-Project/src/views/hollow/hollowequipmenthree.vue
@@ -19,10 +19,6 @@
             $t('hellow.stopproject')
           }}
         </el-button>
-        <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning" @click="handleBinde">{{
-          $t('searchOrder.printlabels')
-        }}
-        </el-button>
   </div>
      
     <div id="dotClass">
@@ -42,6 +38,10 @@
           $t('hellow.taskdet')
         }}
         </el-button> 
+        <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning" @click="handleBinde">{{
+          $t('searchOrder.printlabels')
+        }}
+        </el-button>
   </div>  
       <!-- 鍔ㄦ�佽〃鏍� -->
       <el-table 
@@ -530,7 +530,7 @@
 </template>
 <script setup>
 import { ElMessage, ElMessageBox } from 'element-plus'
-import {onBeforeUnmount, onMounted, onUnmounted, ref, reactive, watch, computed} from "vue";
+import {onBeforeUnmount, onMounted, onUnmounted, ref, reactive, watch, computed, getCurrentInstance} from "vue";
 import request from "@/utils/request"
 import {host, WebSocketHost} from '@/utils/constants'
 import {closeWebSocket, initializeWebSocket} from '@/utils/WebSocketService';
@@ -971,8 +971,6 @@
 // 寮�濮嬩换鍔�
 const handlea = async () => {
   try {
-    let flowCardId = window.localStorage.getItem('flowCardId')
-    if (flowCardId !== '') {
       var url = "/hollowGlass/hollowGlassOutRelationInfo/startTask?cell=" + 932 ;
     const response = await request.post(url)
       if (response.code == 200) {
@@ -980,20 +978,12 @@
         blinda.value = false;
       } else {
       }
-    } else {
-      ElMessage({
-        type: 'info',
-        message: t('basicData.infonull'),
-      })
-    }
   } catch (error) {
   }
 }
 // 鏆傚仠浠诲姟
 const handlec = async () => {
   try {
-    let flowCardId = window.localStorage.getItem('flowCardId')
-    if (flowCardId !== '') {
       var url = "/hollowGlass/hollowGlassOutRelationInfo/pauseTask?cell=" + 932;
     const response = await request.post(url)
       if (response.code == 200) {
@@ -1001,12 +991,6 @@
         blindc.value = false;
       } else {
       }
-    } else {
-      ElMessage({
-        type: 'info',
-        message: t('basicData.infonull'),
-      })
-    }
   } catch (error) {
   }
 }
diff --git a/UI-Project/src/views/hollow/hollowequipmenttwo.vue b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
index 6a9d33e..414d741 100644
--- a/UI-Project/src/views/hollow/hollowequipmenttwo.vue
+++ b/UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -20,10 +20,6 @@
           $t('hellow.stopproject')
         }}
         </el-button>
-        <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning" @click="handleBinde">{{
-          $t('searchOrder.printlabels')
-        }}
-        </el-button>
       </div>
 
       <div id="dotClass">
@@ -44,6 +40,10 @@
           $t('hellow.taskdet')
         }}
         </el-button> 
+        <el-button style="margin-left: 10px;" :disabled="listFlow.length > 0 ? false : true" id="searchButton" type="warning" @click="handleBinde">{{
+          $t('searchOrder.printlabels')
+        }}
+        </el-button>
   </div>  
       <!-- 鍔ㄦ�佽〃鏍� -->
       <el-table 
@@ -492,7 +492,7 @@
 <script setup>
 import { CircleCheck, Download, Printer } from "@element-plus/icons-vue/global";
 import { ElMessage, ElMessageBox } from 'element-plus'
-import { onBeforeUnmount, onMounted, onUnmounted, ref, reactive, watch, computed } from "vue";
+import { onBeforeUnmount, onMounted, onUnmounted, ref, reactive, watch, computed, getCurrentInstance } from "vue";
 import request from "@/utils/request"
 import requestErp from "@/utils/requestErp"
 import { host, WebSocketHost } from '@/utils/constants'
@@ -987,8 +987,6 @@
 // 寮�濮嬩换鍔�
 const handlea = async () => {
   try {
-    let flowCardId = window.localStorage.getItem('flowCardId')
-    if (flowCardId !== '') {
       var url = "/hollowGlass/hollowGlassOutRelationInfo/startTask?cell=" + 931 ;
       const response = await request.post(url)
       if (response.code == 200) {
@@ -996,20 +994,12 @@
         blinda.value = false;
       } else {
       }
-    } else {
-      ElMessage({
-        type: 'info',
-        message: t('basicData.infonull'),
-      })
-    }
   } catch (error) {
   }
 }
 // 鏆傚仠浠诲姟
 const handlec = async () => {
   try {
-    let flowCardId = window.localStorage.getItem('flowCardId')
-    if (flowCardId !== '') {
       var url = "/hollowGlass/hollowGlassOutRelationInfo/pauseTask?cell=" + 931;
       const response = await request.post(url)
       if (response.code == 200) {
@@ -1017,12 +1007,6 @@
         blindc.value = false;
       } else {
       }
-    } else {
-      ElMessage({
-        type: 'info',
-        message: t('basicData.infonull'),
-      })
-    }
   } catch (error) {
   }
 }

--
Gitblit v1.8.0