wangfei
2025-09-22 7ba23e6e4870465855d80d026cf31490e0f8d427
中空一线、二线。三线页面改造
3个文件已修改
62 ■■■■ 已修改文件
UI-Project/src/views/hollow/hollowequipment.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/views/hollow/hollowequipmenthree.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI-Project/src/views/hollow/hollowequipmenttwo.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 
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) {
  }
}
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) {
  }
}