| | |
| | | import { closeWebSocket, initializeWebSocket } from '@/utils/WebSocketService'; |
| | | import { inject } from 'vue'; |
| | | const router = useRouter() |
| | | // 表格加载状态(转圈) |
| | | const loading = ref(true) |
| | | |
| | | const tableDataa = ref([]) |
| | | const tableDatab = ref([]) |
| | | const tableDatad = ref([]) |
| | |
| | | rawTableData.value = formattedTasks; |
| | | tableDataa.value = formattedTasks; |
| | | if (data.rawStationDetailsList != null) { |
| | | loading.value = false |
| | | tableDatab.value = data.rawStationDetailsList[0] |
| | | if (data.rawStationDetailsList[0][0].patternThickness != null) { |
| | | card1.value = true |
| | |
| | | const handleEdit = (row) => { |
| | | window.localStorage.setItem('deviceId', row.deviceId) |
| | | window.localStorage.setItem('slot', row.slot) |
| | | patternWidth.value = row.patternWidth; |
| | | patternHeight.value = row.patternHeight; |
| | | patternThickness.value = row.patternThickness; |
| | | filmsId.value = row.filmsId; |
| | | remainQuantity.value = row.remainQuantity; |
| | | Edit.value = true; |
| | | }; |
| | | const handleBinda = (row) => { |
| | |
| | | |
| | | tableDataa.value = filteredData; |
| | | |
| | | ElMessage.success(`查询成功,共 ${filteredData.length} 条数据`); |
| | | ElMessage.success(t('film.inquire') + ` ${filteredData.length} ` + t('searchOrder.tit')); |
| | | }; |
| | | |
| | | // 是否禁用 |
| | |
| | | </div> |
| | | |
| | | <el-dialog v-model="dialogFormVisiblea" top="5vh" width="85%"> |
| | | <el-table ref="table" style="margin-top: 20px;height: 700px;" :data="tableDatab" |
| | | <el-table ref="table" style="margin-top: 20px;height: 700px;" :data="tableDatab" v-loading="loading" |
| | | :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }"> |
| | | <!-- <el-table-column prop="deviceId" fixed align="center" :label="$t('film.station')" min-width="80" /> --> |
| | | <el-table-column prop="slot" fixed align="center" :label="$t('film.slot')" min-width="80" /> |