| | |
| | | <template> |
| | | <div style="height: 500px;"> |
| | | <el-card style="flex: 1;margin-left: 1px;margin-top: 10px;margin-right: 1px;" v-loading="loading"> |
| | | <el-card style="flex: 1;margin-left: 1px;margin-top: 10px;margin-right: 1px;" > |
| | | <el-scrollbar height="800px"> |
| | | <div style="font-size: 20px;font-weight: bold;">{{ $t('large.loading') }}{{ temperingtotal }}</div> |
| | | <div id="top" style="height: 150px;display: flex; justify-content: center; align-items: center;"> |
| | |
| | | <el-table-column prop="deliveryDate" align="center" :label="$t('large.deliveryDate')" min-width="100" /> |
| | | <el-table-column fixed="right" :label="$t('large.operate')" align="center" width="100"> |
| | | <template #default="scope"> |
| | | <el-button size="mini" type="text" plain @click="handleBinda(scope.row)">{{ $t('large.mes') }}</el-button> |
| | | <el-button type="text" plain @click="handleBinda(scope.row)">{{ $t('large.mes') }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | tableData.value = response.data; |
| | | console.log(tableData.value); |
| | | } else { |
| | | ElMessage.error(response.message); |
| | | } |
| | |
| | | } |
| | | }); |
| | | onBeforeUnmount(() => { |
| | | console.log("关闭了") |
| | | closeWebSocket(); |
| | | closeWebSocket2(); |
| | | closeWebSocket3(); |