zhoushihao
2025-10-22 7a99f8624b085fc309ffa6b7c98bb813a1c33834
UI-Project/src/views/hollow/hollowequipmenthree.vue
@@ -8,9 +8,9 @@
        <el-button id="searchButton" type="primary" @click="handlezhiban">
          {{ $t('hellow.createtask') }}
        </el-button>
        <el-button type="primary" @click="selectproject">
        <!-- <el-button type="primary" @click="selectproject">
          {{ $t('hellow.reviewproject') }}
        </el-button>
        </el-button> -->
    <el-button style="margin-left: 10px;" id="searchButton" type="primary" @click="handlehistorical">{{ $t('searchOrder.historicaltasks') }}</el-button>
    <el-button style="margin-left: 10px;" id="searchButton" type="success" @click="handleBinda">
          {{ $t('hellow.starttask') }}
@@ -626,16 +626,20 @@
  currentPage.value = newPage;
};
const handleMessage = (data) => {
  if (data.queueInfo != null) {
  if (data.queueInfo[0] != null) {
  const rawData = data.queueInfo[0]
  const formattedData = Object.entries(rawData).map(([key, data]) => ({  
    title: key,  
    tableDataa: Array.isArray(data) ? data : [data]  
  }));  
  tabList.value = formattedData;  
}
}else{
      tabList.value = [];
  }
  if (tabList.value.length > 0) {  
    activeTab.value = tabList.value[0].title;
    activeTab.value = tabList.value[0].title;
  }else {
      activeTab.value = '';
  }
  internalInstance.ctx.$forceUpdate();  
  try {