UI-Project/src/lang/en.js
@@ -35,7 +35,6 @@ }, basicData:{ untask:'无任务', up:'上片', tonumber:'上片总数量', finishnumber:'已完成数量', rackreset:'架子复位', UI-Project/src/lang/py.js
@@ -35,7 +35,6 @@ }, basicData: { untask:'无任务', up:'上片', tonumber:'上片总数量', finishnumber:'已完成数量', rackreset:'架子复位', UI-Project/src/lang/zh.js
@@ -35,7 +35,6 @@ }, basicData:{ untask:'无任务', up:'上片', tonumber:'上片总数量', finishnumber:'已完成数量', rackreset:'架子复位', UI-Project/src/utils/request.js
@@ -36,7 +36,6 @@ return res; }, error => { console.log('err' + error) // for debug return Promise.reject(error) } ) UI-Project/src/utils/unloadrequest.js
@@ -39,7 +39,6 @@ return res; }, error => { console.log('err' + error) // for debug return Promise.reject(error) } ) UI-Project/src/views/Caching/cachingbefore.vue
@@ -374,9 +374,9 @@ <el-table-column prop="thickness" align="center" min-width="80" /> <el-table-column fixed="right" align="center" width="150"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handletake(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.takeout')}} </el-button> <el-button size="mini" type="text" plain @click="handledelete(scope.row)">{{ $t('searchOrder.delete')}} </el-button> <el-button type="text" plain @click="handletake(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.takeout')}} </el-button> <el-button type="text" plain @click="handledelete(scope.row)">{{ $t('searchOrder.delete')}} </el-button> </template> </el-table-column> </el-table> UI-Project/src/views/Caching/cachingbeforehistory.vue
@@ -147,7 +147,6 @@ } } catch (error) { console.error(error); } } const Daily = async () => { @@ -171,7 +170,6 @@ } } catch (error) { console.error(error); } } const handlePageChange2 = (newPage) => { @@ -203,7 +201,6 @@ } } catch (error) { console.error(error); } } const Dailya = async (page) => { @@ -228,7 +225,6 @@ } } catch (error) { console.error(error); } } const handleClick = async () => { @@ -260,7 +256,6 @@ } } catch (error) { console.error(error); } } const Dailyhistorical = async () => { @@ -285,7 +280,6 @@ } } catch (error) { console.error(error); } } // 格式化时间戳为年月日时间字符串的函数 UI-Project/src/views/Caching/cachingun.vue
@@ -351,9 +351,9 @@ <el-table-column prop="thickness" align="center" min-width="80" /> <el-table-column fixed="right" align="center" width="150"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handletake(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.takeout')}} </el-button> <el-button size="mini" type="text" plain @click="handledelete(scope.row)">{{ $t('searchOrder.delete')}} </el-button> <el-button type="text" plain @click="handletake(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.takeout')}} </el-button> <el-button type="text" plain @click="handledelete(scope.row)">{{ $t('searchOrder.delete')}} </el-button> </template> </el-table-column> </el-table> UI-Project/src/views/GlassStorage/MaterialRackManagement.vue
@@ -8,13 +8,13 @@ > <!-- 左侧按钮组 --> <div> <el-button type="success" size="mini" @click="storage()" <el-button type="success" @click="storage()" >原片仓储详情</el-button > <el-button type="success" size="mini" @click="handleInbound()" <el-button type="success" @click="handleInbound()" >入库</el-button > <el-button type="success" size="mini">吊装位入库</el-button> <el-button type="success" >吊装位入库</el-button> </div> <!-- 右侧选择框 --> <el-form-item style="margin-top: 15px; width: 150px;margin-left: 10px;"> @@ -66,17 +66,16 @@ <template #default="{ row }"> <el-button type="primary" size="mini" @click="edithandleRowClick(row)" >修改</el-button > <el-button type="danger" size="mini" @click="handleDelete(row)" <el-button type="danger" @click="handleDelete(row)" >删除</el-button > <el-button type="warning" size="mini" @click="handleCheckout(row)" <el-button type="warning" @click="handleCheckout(row)" >出库</el-button > <!-- <el-button type="success" size="mini" @click="addglass()">添加原片</el-button> --> <!-- <el-button type="success" @click="addglass()">添加原片</el-button> --> </template> </el-table-column> </el-table> @@ -134,13 +133,13 @@ <!-- 操作列 --> <el-table-column label="操作" width="350"> <template #default="{ row }"> <el-button type="primary" size="mini" @click="handleRestart(row)" <el-button type="primary" @click="handleRestart(row)" >重新开始</el-button > <el-button type="danger" size="mini" @click="handleDeletetask(row)" <el-button type="danger" @click="handleDeletetask(row)" >删除任务</el-button > <el-button type="success" size="mini" @click="handleComplete(row)" <el-button type="success" @click="handleComplete(row)" >任务完成</el-button > </template> @@ -420,7 +419,6 @@ } }); onBeforeUnmount(() => { console.log("关闭了"); closeWebSocket(); }); const tasktableData = ref([]); @@ -501,7 +499,6 @@ const handleConfirmInbound = () => { inStorage(formData.value); // 处理确认入库逻辑,可以在这里提交表单或者执行其他操作 console.log("Confirm Inbound:", formData.value); // 关闭对话框 dialogVisible.value = false; }; @@ -530,7 +527,6 @@ formData.value[field] = ""; }; const submitForm = () => { console.log("提交数据:", formData.value); dialogVisible3.value = false; // Add your submit logic here }; @@ -548,7 +544,6 @@ // 处理行点击事件 const edithandleRowClick = (row) => { currentRow.value = row; console.log(row); editForm.value.pieces = row.pieces.toString(); editForm.value.batchId = row.batchId; editForm.value.rawWidth = row.rawWidth; @@ -556,7 +551,6 @@ editForm.value.rawThickness = row.rawThickness; editForm.value.id = row.number; editdialogVisible.value = true; console.log(editForm.value); }; // 添加保存编辑内容 const editsaveEdit = () => { UI-Project/src/views/GlassStorage/rawfilmstorage.vue
@@ -248,7 +248,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 原片入库 @@ -275,7 +274,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } }; // 入库请求 @@ -293,8 +291,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 出库请求 @@ -312,8 +308,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 出库 @@ -339,7 +333,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 查询数据 @@ -419,7 +412,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } }; // 格式化时间戳为年月日时间字符串的函数 @@ -458,7 +450,6 @@ // } // } // catch (error) { // console.error(error); // } // } // 任务成功处理 @@ -483,7 +474,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 任务失败处理 @@ -508,7 +498,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; function getStatusType1(taskType) { @@ -603,7 +592,7 @@ </el-select> <el-button type="primary" style="margin-left: 10px;" @click="selectReportData()">{{ $t('film.inquire') }}</el-button> </div> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="300" ref="table" :data="tableDataa" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> @@ -636,8 +625,8 @@ <el-table-column prop="createTime" align="center" :label="$t('film.createtime')" /> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <el-button size="mini" :disabled="(scope.row.taskState !== 0)" type="text" plain @click="successfull(scope.row)">{{ $t('searchOrder.successfullyprocessed') }}</el-button> <el-button size="mini" :disabled="(scope.row.taskState !== 0)" type="text" plain @click="handleptask(scope.row)">{{ $t('searchOrder.taskfailure') }}</el-button> <el-button :disabled="(scope.row.taskState !== 0)" type="text" plain @click="successfull(scope.row)">{{ $t('searchOrder.successfullyprocessed') }}</el-button> <el-button :disabled="(scope.row.taskState !== 0)" type="text" plain @click="handleptask(scope.row)">{{ $t('searchOrder.taskfailure') }}</el-button> </template> </el-table-column> </el-table> @@ -705,9 +694,9 @@ </el-table-column> <el-table-column fixed="right" :label="$t('film.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('film.exit') }}</el-button> <el-button :disabled="!scope.row.remainQuantity" size="mini" type="text" plain @click="deleteWarehousing(scope.row)">{{ $t('film.delete') }}</el-button> <el-button :disabled="!scope.row.remainQuantity || scope.row.remainQuantity === 0" size="mini" type="text" plain @click="openc(scope.row)">{{ $t('film.outbound') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('film.exit') }}</el-button> <el-button :disabled="!scope.row.remainQuantity" type="text" plain @click="deleteWarehousing(scope.row)">{{ $t('film.delete') }}</el-button> <el-button :disabled="!scope.row.remainQuantity || scope.row.remainQuantity === 0" type="text" plain @click="openc(scope.row)">{{ $t('film.outbound') }}</el-button> </template> </el-table-column> </el-table> @@ -725,7 +714,7 @@ </el-dialog> <el-dialog v-model="dialogFormVisibleb" top="23vh" width="55%" :title="$t('film.addglass')" > <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> @@ -837,7 +826,7 @@ </el-dialog> <el-dialog v-model="Edit" top="23vh" width="55%" :title="$t('film.addglass')" > <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> UI-Project/src/views/GlassStorage/rawhistory.vue
@@ -54,8 +54,8 @@ <el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="50" /> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <el-button size="mini" :disabled="(scope.row.taskState !== 0)" type="text" plain @click="successfull(scope.row)">{{ $t('searchOrder.successfullyprocessed') }}</el-button> <el-button size="mini" :disabled="(scope.row.taskState !== 0)" type="text" plain @click="handleptask(scope.row)">{{ $t('searchOrder.taskfailure') }}</el-button> <el-button :disabled="(scope.row.taskState !== 0)" type="text" plain @click="successfull(scope.row)">{{ $t('searchOrder.successfullyprocessed') }}</el-button> <el-button :disabled="(scope.row.taskState !== 0)" type="text" plain @click="handleptask(scope.row)">{{ $t('searchOrder.taskfailure') }}</el-button> </template> </el-table-column> </el-table> @@ -121,7 +121,6 @@ } } catch (error) { console.error(error); } } const successfull = async(row) => { @@ -145,7 +144,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 任务失败处理 @@ -170,12 +168,10 @@ } } } catch (error) { console.error('发生错误:', error); } }; const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -196,8 +192,6 @@ stateList=[selectValuesa[1]]; } } console.log(startSlot.value); if(startSlot.value != ""){ pstartSlot = startSlot.value }else{ @@ -232,7 +226,6 @@ } } catch (error) { console.error(error); } } // 历史查询点击 @@ -288,7 +281,6 @@ } } catch (error) { console.error(error); } } // 格式化时间戳为年月日时间字符串的函数 @@ -308,8 +300,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } UI-Project/src/views/NewPage.vue
@@ -5,7 +5,7 @@ <el-input v-model="current" style="margin-left: 20px;margin-top: 15px;width: 240px" placeholder="请输入工程号" @input="updateUrl"/> <el-button style="margin-top: 15px;margin-left: 15px;" type="primary" @click="fetchData">查询</el-button> </div> <el-card style="flex: 1;margin-left: 400px;margin-top: 50px;margin-right: 10px;width: 1100px;" height="900" v-loading="loading"> <el-card style="flex: 1;margin-left: 400px;margin-top: 50px;margin-right: 10px;width: 1100px;" height="900" > <div v-for="(row, rowIndex) in divsData" :key="rowIndex" class="row"> <div v-for="(rect, colIndex) in row" :key="colIndex" class="div-container"> <div style="text-align: center;">炉号:{{ getAdjustedRectsForRow(rowIndex)[0].layout_id }} ---- 装载率:{{ getAdjustedRectsForRow(rowIndex)[0].olLayoutRate }}</div> @@ -77,12 +77,9 @@ const response = await request.post(`/cacheGlass/taskCache/temperingTerritory?current=${current.value}`); if (response.code === 200) { rawData.value = response.data; console.log(response.data); processData(rawData.value); } } catch (error) { console.error('Failed to fetch data:', error); } finally { loading.value = false; } UI-Project/src/views/Permissions/permissionslist.vue
@@ -193,16 +193,15 @@ <template> <div> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" size="mini" id="searchButton" @click="add = true">添加权限</el-button> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" id="searchButton" @click="add = true">添加权限</el-button> <el-input clearable placeholder="请输入关键字" size="mini" style="margin-right: 20px; width: 200px;margin-left: 10px;margin-top: 10px;" /> <el-button type="primary" size="mini" @click="searchSubmit" style="margin-top: 10px;">查询</el-button > <el-button type="primary" size="mini" @click="empty" style="margin-top: 10px;">清空</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 15px;" v-loading="loading"> <el-button type="primary" @click="searchSubmit" style="margin-top: 10px;">查询</el-button > <el-button type="primary" @click="empty" style="margin-top: 10px;">清空</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 15px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;max-height: 200px;"> <el-table height="100%" ref="table" @selection-change="handleSelectionChange" @@ -218,8 +217,8 @@ </el-table-column> <el-table-column fixed="right" label="操作" align="center" width="200"> <template #default> <el-button size="mini" type="text" plain @click="adda = true">编辑</el-button> <el-button size="mini" type="text" plain @click="delete">删除</el-button> <el-button type="text" plain @click="adda = true">编辑</el-button> <el-button type="text" plain @click="delete">删除</el-button> </template> </el-table-column> </el-table> @@ -230,7 +229,7 @@ <el-dialog v-model="add" top="23vh" width="37%" title="添加权限" > <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -309,7 +308,7 @@ </el-dialog> <el-dialog v-model="adda" top="23vh" width="37%" title="修改权限" > <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
@@ -45,7 +45,6 @@ }) if (response.code === 200) { tableData.value = response.data console.log(response.data); } else { ElMessage.warning(response.message) } @@ -864,7 +863,6 @@ } } onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> UI-Project/src/views/PurchaseReturn/purchaseStorage.vue
@@ -196,8 +196,6 @@ }; const handleCurrentChange = async(val: number) => { currentPage.value = val; console.log(currentPage.value); const response = await request.post('/temperingGlass/temperingGlassInfo/selectTemperingGlass', { engineerId: engineerId.value, temperingLayoutId: currentPage.value UI-Project/src/views/RegisterView.vue
@@ -65,7 +65,6 @@ request.post('/user/register', register).then((res) => { if(res['code']==200){ console.log(res.data) ElMessageBox.alert( `<strong>用户:<i style="color: #1890FF;">'${res.data.userName}</i>' <br>账号ID:<i style="color: #1890FF;">${res.data.loginName}</i> </strong>`, UI-Project/src/views/ReportWork/reportWork.vue
@@ -30,7 +30,7 @@ $t('reportmanage.signingwork') }}</el-button> </div> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="740" ref="table" :data="reportData" :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }"> @@ -152,8 +152,6 @@ const backendTime = new Date(globalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } @@ -286,7 +284,6 @@ } }); onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> UI-Project/src/views/Returns/upreturnhistory.vue
@@ -39,18 +39,6 @@ </el-tag> </template> </el-table-column> <!-- <el-table-column align="center" :label="$t('sorter.taskRunning')" min-width="80" prop="taskRunning" > <template #default="scope"> <el-tag :type="getStatusTypea(scope.row.taskRunning)"> {{ getStatusTexta(scope.row.taskRunning) }} </el-tag> </template> </el-table-column> --> <el-table-column prop="formattedCreateTime" align="center" :label="$t('reportmanage.starttime')" min-width="100" /> <el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="100" /> </el-table> @@ -117,7 +105,6 @@ })); // tableDatax.value = response.data.records; tableDatax.value = formattedData; console.log(response.data.pages); totalRecords.value = response.data.total/2 || 0 } else { ElMessage.error(response.message); @@ -129,7 +116,6 @@ } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -197,7 +183,6 @@ } let startTime = window.localStorage.getItem('startTime') let page = window.localStorage.getItem('pagenumber') console.log(page); const response = await request.post("/loadGlass/loadglassdevicetaskhistory/queryLoadGlassHistoryTask", { pageNo: 1, pageSize: 20, @@ -247,8 +232,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } @@ -278,14 +261,6 @@ return 'primary'; case 1: return 'success'; } } function getStatusTexta(taskRunning: number) { switch (taskRunning) { case 0: return t('basicData.untask'); case 1: return t('basicData.up'); } } onMounted(() => { UI-Project/src/views/Returns/upreturnhistory2.vue
@@ -39,18 +39,6 @@ </el-tag> </template> </el-table-column> <!-- <el-table-column align="center" :label="$t('sorter.taskRunning')" min-width="80" prop="taskRunning" > <template #default="scope"> <el-tag :type="getStatusTypea(scope.row.taskRunning)"> {{ getStatusTexta(scope.row.taskRunning) }} </el-tag> </template> </el-table-column> --> <el-table-column prop="formattedCreateTime" align="center" :label="$t('reportmanage.starttime')" min-width="100" /> <el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="100" /> </el-table> @@ -118,7 +106,6 @@ })); // tableDatax.value = response.data.records; tableDatax.value = formattedData; console.log(response.data.pages); totalRecords.value = response.data.total/2 || 0 } else { ElMessage.error(response.message); @@ -130,7 +117,6 @@ } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -198,7 +184,6 @@ } let startTime = window.localStorage.getItem('startTime') let page = window.localStorage.getItem('pagenumber') console.log(page); const response = await request.post("/loadGlass/loadglassdevicetaskhistory/queryLoadGlassHistoryTask", { pageNo: 1, pageSize: 20, @@ -247,8 +232,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } @@ -278,14 +261,6 @@ return 'primary'; case 1: return 'success'; } } function getStatusTexta(taskRunning: number) { switch (taskRunning) { case 0: return t('basicData.untask'); case 1: return t('basicData.up'); } } onMounted(() => { UI-Project/src/views/Returns/upreturns.vue
@@ -65,27 +65,14 @@ closeWebSocket(socket); } }); const fetchTableData = async () => { try { const response = await request.get("/loadGlass/up-patten-usage/prioritylist"); if (response.code === 200) { tableData.value = response.data // tableData.splice(0, tableData.length, ...response.data); // ElMessage.error(response.message); window.localStorage.setItem('engineeringIda', tableData[0].engineeringId) } } catch (error) { // ElMessage.error(response.message); } }; let socket = null; const socketUrl = `ws://${WebSocketHost}:${host}/api/loadGlass/api/talk/loadGlass`; const socketUrl = `ws://${WebSocketHost}:${host}/api/loadGlass/api/talk/loadGlassOne`; const handleMessage = (data: any) => { if (data.LoadOneState != null) { cuttingMachineStatusColor.value = data.LoadOneState[0] == 1 ? 'green' : '#911005'; if (data.inkageState != null) { cuttingMachineStatusColor.value = data.inkageState[0] === 1 ? 'green' : '#911005'; } if (data.stationOne!=null) { const processedData = [...data.stationOne[0]]; if (data.stationList.length != 0) { const processedData = [...data.stationList[0]]; if (processedData.length > 0) { processedData[0] = { ...processedData[0], workstationId: 1 }; } @@ -96,8 +83,8 @@ }else { tableDataa.value = [] } if(data.loadTask1!=null){ tableData.value = data.loadTask1[0] if (data.upPattenUsages.length != 0) { tableData.value = data.upPattenUsages[0] window.localStorage.setItem('engineeringIda', tableData.value[0].engineeringId) canSelectProjecta.value = false; canSelectProjectb.value = false; @@ -107,7 +94,8 @@ canSelectProjecta.value = true; canSelectProjectb.value = true; canSelectProjectc.value = false; tableData.value = ''; tableData.value = []; window.localStorage.setItem('engineeringIda', '') } }; onBeforeUnmount(() => { @@ -235,7 +223,6 @@ ElMessage.error(response.message); } }; onMounted(fetchTableData); // 开始上片 const handleBind = (row) => { blind.value = true; @@ -421,62 +408,60 @@ <div> <div id="dotClass"> <div>{{ $t('basicData.laserprinting') }}</div> <i :style="{ marginTop: '2px', backgroundColor: markingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> <i :style="{ marginTop: '2px', backgroundColor: markingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> <el-button @click="confirmMarkingMachine" style="margin-left: 30px;margin-top: -3px;">{{ $t('basicData.yes') }} </el-button> <div style="margin-left: 70px;">{{ $t('basicData.cuttingmachine') }}</div> <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatus, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> <el-button @click="confirmCuttingMachine" style="margin-left: 30px;margin-top: -3px;">{{ $t('basicData.yes') }} </el-button> <div style="margin-left: 70px;">{{ upstatus }}</div> <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatusColor, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> <i :style="{ marginTop: '2px', backgroundColor: cuttingMachineStatusColor, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> </div> <el-button :disabled="!canSelectProjecta" style="margin-top: 5px;margin-left: 15px;" type="primary" @click="selectproject">{{ $t('Mounting.previewproject') }}</el-button> <el-button :disabled="!canSelectProjectb" style="margin-top: 5px;margin-left: 20px;" type="success" @click="handleBind">{{ $t('basicData.startloading') }}</el-button> <el-button :disabled="!canSelectProjectc" style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="warning" @click="handleBinda">{{ $t('basicData.stop') }}</el-button> <el-button :disabled="!canSelectProjectc" style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="danger" @click="deleteTask">{{ $t('searchOrder.deleteTask') }}</el-button> <el-button style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="info" @click="handlehistorical">{{ $t('searchOrder.historicaltasks') }}</el-button> <el-button :disabled="!canSelectProjecta" style="margin-top: 5px;margin-left: 15px;" type="primary" @click="selectproject">{{ $t('Mounting.previewproject') }}</el-button> <el-button :disabled="!canSelectProjectb" style="margin-top: 5px;margin-left: 20px;" type="success" @click="handleBind">{{ $t('basicData.startloading') }}</el-button> <el-button :disabled="!canSelectProjectc" style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="warning" @click="handleBinda">{{ $t('basicData.stop') }}</el-button> <el-button :disabled="!canSelectProjectc" style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="danger" @click="deleteTask">{{ $t('searchOrder.deleteTask') }}</el-button> <el-button style="margin-top: 5px;margin-left: 20px;" id="searchButton" type="info" @click="handlehistorical">{{ $t('searchOrder.historicaltasks') }}</el-button> <el-select disabled v-model="selectValuesa[1]" clearable :placeholder="$t('Mounting.oneloadingline')" style="margin-top: 5px;margin-left: 20px;"> <el-option :label="$t('Mounting.all')" value="0"></el-option> <el-option :label="$t('Mounting.oneloadingline')" value="1"></el-option> <el-option :label="$t('Mounting.twoloadingline')" value="2"></el-option> </el-select> <el-select v-model="selectValuesa[0]" clearable :placeholder="$t('film.taskstatus')" style="margin-top: 5px;margin-left: 20px;" > <el-select v-model="selectValuesa[0]" clearable :placeholder="$t('film.taskstatus')" style="margin-top: 5px;margin-left: 20px;"> <el-option :label="$t('Mounting.all')" value="null"></el-option> <el-option :label="$t('Mounting.waiting')" value="0"></el-option> <el-option :label="$t('Mounting.pass')" value="100"></el-option> </el-select> <el-button :disabled="!ReportData" type="primary" style="margin-left: 10px;" @click="selectReportData()">{{ $t('Mounting.setparameters') }}</el-button> <el-button :disabled="!ReportData" type="primary" style="margin-left: 10px;" @click="selectReportData()">{{ $t('Mounting.setparameters') }}</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 15px;"> <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="400" ref="table" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}" :data="tableData" > <el-table height="400" ref="table" :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }" :data="tableData"> <el-table-column prop="engineeringId" :label="$t('Mounting.project')" width="100" align="center"/> <el-table-column prop="width" :label="$t('Mounting.width')" width="200" align="center"/> <el-table-column prop="height" :label="$t('Mounting.height')" align="center"/> <el-table-column prop="thickness" :label="$t('Mounting.thickness')" align="center"/> <el-table-column prop="filmsId" :label="$t('Mounting.loadinglinea')" align="center"/> <el-table-column prop="layoutSequence" :label="$t('Mounting.projectnumber')" align="center"/> <el-table-column align="center" :label="$t('Mounting.state')" min-width="80" prop="state" > <el-table-column align="center" :label="$t('Mounting.state')" min-width="80" prop="state"> <template #default="scope"> <el-tag :type="scope.row.state === 100 ? 'success' : 'warning'" @click="toggleEnableState(scope.row)" > <el-tag :type="scope.row.state === 100 ? 'success' : 'warning'" @click="toggleEnableState(scope.row)"> {{ scope.row.state === 100 ? $t('Mounting.pass') : $t('Mounting.waiting') }} </el-tag> </template> @@ -496,10 +481,12 @@ <el-table-column prop="patternHeight" align="center" :label="$t('basicData.height')" min-width="80"/> <el-table-column prop="filmsId" align="center" :label="$t('basicData.coatingtypes')" min-width="80"/> <el-table-column prop="remainQuantity" align="center" :label="$t('basicData.quantity')" min-width="80"/> <el-table-column prop="patternThickness" align="center" :label="$t('basicData.thickness')" min-width="60"/> <el-table-column prop="patternThickness" align="center" :label="$t('basicData.thickness')" min-width="60" /> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <el-button size="mini" :disabled="(!scope.row.patternThickness)" type="text" plain @click="handleptask(scope.row.workstationId)">{{ $t('basicData.rackreset') }}</el-button> <el-button :disabled="(!scope.row.patternThickness)" type="text" plain @click="handleptask(scope.row.workstationId)">{{ $t('basicData.rackreset') }}</el-button> </template> </el-table-column> </el-table> @@ -518,7 +505,8 @@ </el-dialog> <!-- 结束工程 --> <el-dialog v-model="blindb" top="10vh" width="80%"> <el-table ref="table" style="margin-top: 20px;height: 450px;" :data="tableDatad" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> <el-table ref="table" style="margin-top: 20px;height: 450px;" :data="tableDatad" :header-cell-style="{ background: '#F2F3F5 ', color: '#1D2129' }"> <el-table-column prop="engineerId" fixed align="center" :label="$t('basicData.projectnumber')"/> <el-table-column prop="glassId" fixed align="center" :label="$t('searchOrder.glassID')"/> <el-table-column prop="temperingLayoutId" fixed align="center" :label="$t('searchOrder.layoutID')"/> @@ -530,8 +518,8 @@ <el-table-column prop="flowCardId" align="center" :label="$t('searchOrder.processcards')"/> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('order.dilapidation') }}</el-button> <el-button size="mini" type="text" plain @click="openb(scope.row)">{{ $t('order.takeaway') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('order.dilapidation') }}</el-button> <el-button type="text" plain @click="openb(scope.row)">{{ $t('order.takeaway') }}</el-button> </template> </el-table-column> </el-table> @@ -544,7 +532,8 @@ <el-dialog v-model="blinda" top="24vh" width="30%" :title="$t('basicData.whetherpause')"> <div style="margin-left: 50px;margin-bottom: 10px;"> <el-form-item :label="$t('Mounting.loadingline')" :required="true"> <el-select disabled v-model="stationCell" clearable :placeholder="$t('Mounting.inloadingline')" style="margin-left: 20px;"> <el-select disabled v-model="stationCell" clearable :placeholder="$t('Mounting.inloadingline')" style="margin-left: 20px;"> <el-option :label="$t('Mounting.all')" value="0"></el-option> <el-option :label="$t('Mounting.oneloadingline')" value="1"></el-option> <el-option :label="$t('Mounting.twoloadingline')" value="2"></el-option> @@ -570,20 +559,10 @@ </el-select> </el-form-item> <el-form-item :label="$t('Mounting.projecta')" :required="true"> <el-select v-model="selectedProjectNo" filterable clearable :placeholder="$t('basicData.plselectproject')" style="width: 220px" @input="handleInputChange" > <el-option v-for="item in titleSelectJson['engineerId']" :key="item.id" :label="item.projectNo" :value="item.projectNo" /> <el-select v-model="selectedProjectNo" filterable clearable :placeholder="$t('basicData.plselectproject')" style="width: 220px" @input="handleInputChange"> <el-option v-for="item in titleSelectJson['engineerId']" :key="item.id" :label="item.projectNo" :value="item.projectNo" /> </el-select> </el-form-item> <el-form-item :label="$t('Mounting.removalmethoda')" :required="true"> @@ -605,14 +584,8 @@ </el-dialog> <!-- 历史任务 --> <el-dialog v-model="blindbd" top="10vh" width="71%"> <iframe :src="iframeUrl" marginwidth="2000px" marginheight="2000px" width="100%" height="700px" frameborder="0" ></iframe> <iframe :src="iframeUrl" marginwidth="2000px" marginheight="2000px" width="100%" height="700px" frameborder="0"></iframe> </el-dialog> </div> </template> @@ -621,19 +594,37 @@ display: flex; align-items: center; } .flex-container .el-form-item { flex: 1; margin-right: 0; /* 移除默认的右侧边距 */ margin-right: 0; /* 移除默认的右侧边距 */ } .flex-container .el-form-item:last-child { margin-left: 20px; /* 为第二个表单项添加左侧边距 */ margin-left: 20px; /* 为第二个表单项添加左侧边距 */ } #dt { display:block; float:left;line-height: 20px;margin-left: 100px;} #dta { display:block; float:left;line-height: 20px;margin-left: 80%;} #dt { display: block; float: left; line-height: 20px; margin-left: 100px; } #dta { display: block; float: left; line-height: 20px; margin-left: 80%; } #dialog-footer{ text-align: center; margin-top: -15px; } #dotClass { display: flex; margin-left: 20px; UI-Project/src/views/Returns/upreturns2.vue
@@ -71,10 +71,10 @@ } }; let socket = null; const socketUrl = `ws://${WebSocketHost}:${host}/api/loadGlass/api/talk/loadGlass`; const socketUrl = `ws://${WebSocketHost}:${host}/api/loadGlass/api/talk/loadGlassTwo`; const handleMessage = (data: any) => { if (data.stationTwo!=null) { const processedData = [...data.stationTwo[0]]; if (data.stationList.length != 0) { const processedData = [...data.stationList[0]]; if (processedData.length > 0) { processedData[0] = { ...processedData[0], workstationId: 1 }; } @@ -85,19 +85,18 @@ }else { tableDataa.value = [] } if (data.LoadTwoervice != null) { cuttingMachineStatusColor.value = data.LoadTwoervice[0] == 1 ? 'green' : '#911005'; if (data.inkageState != null) { cuttingMachineStatusColor.value = data.inkageState[0] === 1 ? 'green' : '#911005'; } if(data.loadTask2!=null){ // tableData.splice(0, tableData.length, ...data.loadTask2[0]); tableData.value = data.loadTask2[0] if (data.upPattenUsages.length != 0) { tableData.value = data.upPattenUsages[0] window.localStorage.setItem('engineeringIda', tableData.value[0].engineeringId) canSelectProjecta.value = false; canSelectProjectb.value = false; canSelectProjectc.value = true; } else { tableData.value = ''; tableData.value = []; canSelectProjecta.value = true; canSelectProjectb.value = true; canSelectProjectc.value = false; @@ -130,7 +129,6 @@ }; // 架子复位 const handleptask = async (workstationId: number) => { console.log(workstationId); try { const confirmResult = await ElMessageBox.confirm( t('basicData.prackreset'), @@ -255,7 +253,6 @@ try { let filmRemove = window.localStorage.getItem('filmRemove') let engineeringId = window.localStorage.getItem('engineeringIda') console.log(engineeringId); if (engineeringId !== '') { const response = await request.post('/loadGlass/engineering/engineering/pause', { stationCell: 6, @@ -495,7 +492,7 @@ <el-table-column prop="patternThickness" align="center" :label="$t('basicData.thickness')" min-width="60"/> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <el-button size="mini" :disabled="(!scope.row.patternThickness)" type="text" plain @click="handleptask(scope.row.workstationId)">{{ $t('basicData.rackreset') }}</el-button> <el-button :disabled="(!scope.row.patternThickness)" type="text" plain @click="handleptask(scope.row.workstationId)">{{ $t('basicData.rackreset') }}</el-button> </template> </el-table-column> </el-table> @@ -537,8 +534,8 @@ <el-table-column prop="flowCardId" align="center" :label="$t('searchOrder.processcards')"/> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('order.dilapidation') }}</el-button> <el-button size="mini" type="text" plain @click="openb(scope.row)">{{ $t('order.takeaway') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('order.dilapidation') }}</el-button> <el-button type="text" plain @click="openb(scope.row)">{{ $t('order.takeaway') }}</el-button> </template> </el-table-column> </el-table> UI-Project/src/views/Slicecage/slicecage.vue
@@ -1268,7 +1268,7 @@ <el-table-column prop="gap" align="center" :label="$t('searchOrder.glassgaps')" min-width="150"/> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" width="150"> <template #default="scope"> <el-button size="mini" type="text" plain @click="finisha(scope.row)">{{ $t('searchOrder.sureadd') }}</el-button> <el-button type="text" plain @click="finisha(scope.row)">{{ $t('searchOrder.sureadd') }}</el-button> </template> </el-table-column> </el-table> @@ -1325,10 +1325,10 @@ <el-table-column prop="gap" align="center" :label="$t('searchOrder.glassgaps')" min-width="80" /> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" min-width="220"> <template #default="scope"> <el-button size="mini" type="text" plain @click="broke(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button size="mini" type="text" plain @click="brokec(scope.row)">{{ $t('searchOrder.takeout') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('searchOrder.delete') }}</el-button> <el-button size="mini" type="text" <el-button type="text" plain @click="broke(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button type="text" plain @click="brokec(scope.row)">{{ $t('searchOrder.takeout') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('searchOrder.delete') }}</el-button> <el-button type="text" :disabled="!((props.row.bigStorageCageDetails[0].state !== 102 && scope.$index == 0 ) || (props.row.bigStorageCageDetails[(scope.$index - 1)<0?0:scope.$index-1].state==102)&&(scope.row.state!=102))" plain @click="outfil(scope.row)"> {{ $t('searchOrder.outfilm') }} @@ -1361,7 +1361,7 @@ <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.add') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.add') }}</el-button> </template> </el-table-column> </el-table> @@ -1424,7 +1424,7 @@ </el-col> <el-col :span="4"> <div id="dt" style="font-size: 15px;"> <el-button size="mini" type="text" plain @click="broked()">{{ $t('searchOrder.undesignate') }}</el-button> <el-button type="text" plain @click="broked()">{{ $t('searchOrder.undesignate') }}</el-button> </div> </el-col> </el-row> @@ -1442,11 +1442,11 @@ <el-table-column prop="damageCount" align="center" :label="$t('searchOrder.breakquantity')" min-width="150" /> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" width="500"> <template #default="scope"> <el-button size="mini" type="text" plain @click="brokee(scope.row,1)">{{ $t('searchOrder.specifytempering') }}</el-button> <el-button size="mini" type="text" plain @click="brokee(scope.row,0)">{{ $t('searchOrder.specifyout') }}</el-button> <el-button size="mini" type="text" plain @click="brokek(scope.row)">{{ $t('searchOrder.specifyengineerid') }}</el-button> <el-button size="mini" type="text" plain @click="handlelack(scope.row)">{{ $t('searchOrder.lacknumber') }}</el-button> <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('searchOrder.cagedetails') }}</el-button> <el-button type="text" plain @click="brokee(scope.row,1)">{{ $t('searchOrder.specifytempering') }}</el-button> <el-button type="text" plain @click="brokee(scope.row,0)">{{ $t('searchOrder.specifyout') }}</el-button> <el-button type="text" plain @click="brokek(scope.row)">{{ $t('searchOrder.specifyengineerid') }}</el-button> <el-button type="text" plain @click="handlelack(scope.row)">{{ $t('searchOrder.lacknumber') }}</el-button> <el-button type="text" plain @click="handlecagedetails(scope.row)">{{ $t('searchOrder.cagedetails') }}</el-button> </template> </el-table-column> </el-table> @@ -1589,11 +1589,11 @@ <el-table-column prop="damageCount" align="center" :label="$t('searchOrder.breakquantity')" min-width="150" /> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" width="500"> <template #default="scope"> <el-button size="mini" type="text" plain @click="brokee(scope.row,1)">{{ $t('searchOrder.specifytempering') }}</el-button> <el-button size="mini" type="text" plain @click="brokee(scope.row,0)">{{ $t('searchOrder.specifyout') }}</el-button> <el-button size="mini" type="text" plain @click="brokek(scope.row)">{{ $t('searchOrder.specifyengineerid') }}</el-button> <el-button size="mini" type="text" plain @click="handlelack(scope.row)">{{ $t('hellow.missingnumber') }}</el-button> <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('searchOrder.cagedetails') }}</el-button> <el-button type="text" plain @click="brokee(scope.row,1)">{{ $t('searchOrder.specifytempering') }}</el-button> <el-button type="text" plain @click="brokee(scope.row,0)">{{ $t('searchOrder.specifyout') }}</el-button> <el-button type="text" plain @click="brokek(scope.row)">{{ $t('searchOrder.specifyengineerid') }}</el-button> <el-button type="text" plain @click="handlelack(scope.row)">{{ $t('hellow.missingnumber') }}</el-button> <el-button type="text" plain @click="handlecagedetails(scope.row)">{{ $t('searchOrder.cagedetails') }}</el-button> </template> </el-table-column> </el-table> @@ -1604,7 +1604,7 @@ <el-table-column prop="count" align="center" :label="$t('searchOrder.numberglasses')" /> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" > <template #default="scope"> <el-button size="mini" type="text" plain @click="brokes(scope.row)">{{ $t('searchOrder.processcard') }}</el-button> <el-button type="text" plain @click="brokes(scope.row)">{{ $t('searchOrder.processcard') }}</el-button> </template> </el-table-column> </el-table> --> UI-Project/src/views/StockBasicData/stockBasicData.vue
@@ -162,7 +162,7 @@ <template> <div style="height: 500px;"> <div> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="display: flex;"> <!-- <el-button style="margin-left: 20px;" id="searchButton" type="success" @click="handlehistorical">{{ $t('searchOrder.historicaltasks') @@ -210,11 +210,11 @@ </el-table-column> <el-table-column fixed="right" :label="$t('workOrder.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="open(scope.row)">{{ <el-button type="text" plain @click="open(scope.row)">{{ $t('workOrder.breakage') }} </el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ <el-button type="text" plain @click="opena(scope.row)">{{ $t('workOrder.takeout') }} </el-button> UI-Project/src/views/StockBasicData/stockBasicDatatwo.vue
@@ -87,13 +87,12 @@ } }); onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> <template> <div style="height: 500px;"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="750" ref="table" @selection-change="handleSelectionChange" @@ -105,8 +104,8 @@ <el-table-column prop="glass_type" align="center" :label="$t('workOrder.glasstype')" min-width="120"/> <el-table-column fixed="right" :label="$t('workOrder.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="open(scope.row)">{{ $t('workOrder.breakage') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('workOrder.takeout') }}</el-button> <el-button type="text" plain @click="open(scope.row)">{{ $t('workOrder.breakage') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('workOrder.takeout') }}</el-button> </template> </el-table-column> </el-table> UI-Project/src/views/StockBasicData/stockBasicyiwu.vue
@@ -50,7 +50,6 @@ stateList = [selectValuesa[1]] } } console.log(timeRange.value[0], timeRange.value[1]) const response = await request.post( '/cacheGlass/edgGlassTaskInfo/setEdgGlassInfoRequest', { @@ -155,7 +154,6 @@ } }) onBeforeUnmount(() => { console.log('关闭了') closeWebSocket() }) </script> @@ -163,7 +161,7 @@ <div style="height: 500px;"> <div> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> > <el-select v-model="selectValuesa[0]" filterable :placeholder="$t('workOrder.cway')" @@ -248,14 +246,14 @@ align="center" width="200"> <template #default="scope"> <el-button size="mini" <el-button type="text" plain @click="open(scope.row)">{{ $t('workOrder.breakage') }} </el-button> <el-button size="mini" <el-button type="text" plain @click="opena(scope.row)">{{ UI-Project/src/views/StockBasicData/stockhistory.vue
@@ -126,7 +126,6 @@ } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(newPage); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -200,8 +199,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } UI-Project/src/views/TL/Temperedlayout/Temperedlayout.vue
@@ -86,7 +86,6 @@ // var TerritoryCross=TerritoryWidth/Bli; //页面版图横向 像素 // var TerritoryVertical=TerritoryLength/Bli;//页面版图纵向 像素 console.log(Font1); var canva = this.$refs[id]; var content = canva.getContext('2d'); UI-Project/src/views/User/permissions.vue
@@ -22,7 +22,6 @@ const slot = ref('') request.get("/loadGlass/sys/menu/nav").then((res) => { if (res.code == 200) { console.log(res.data); tableData.value = res.data.tree } else { ElMessage.warning(res.msg) @@ -213,7 +212,7 @@ </script> <template> <div style="height: 600px;"> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" size="mini" id="searchButton" @click="add = true">{{ $t('customer.addmenu') }}</el-button> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" id="searchButton" @click="add = true">{{ $t('customer.addmenu') }}</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;"> <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;max-height: 750px;"> <el-table @@ -238,8 +237,8 @@ <el-table-column prop="listSort" align="center" :label="$t('customer.sort')" min-width="140"/> <el-table-column fixed="right" :label="$t('customer.operate')" align="center"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleEditc(scope.row)">{{ $t('customer.exit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('customer.delete') }}</el-button> <el-button type="text" plain @click="handleEditc(scope.row)">{{ $t('customer.exit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('customer.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -251,9 +250,9 @@ <el-table-column prop="listSort" align="center" :label="$t('customer.sort')" min-width="180" /> <el-table-column fixed="right" :label="$t('customer.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ $t('customer.addmenua') }}</el-button> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('customer.exit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('customer.delete') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('customer.addmenua') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('customer.exit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('customer.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -262,7 +261,7 @@ </div> <el-dialog v-model="add" top="23vh" width="37%" :title="$t('customer.addmenu')"> <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> @@ -318,7 +317,7 @@ </el-form> </div> <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> @@ -361,7 +360,7 @@ </el-dialog> <el-dialog v-model="adda" top="23vh" width="37%" :title="$t('customer.exmene')"> <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form ref="formRef" size="mini" label-width="150px"> <el-form ref="formRef" label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> @@ -404,7 +403,7 @@ </el-dialog> <el-dialog v-model="addc" top="23vh" width="37%" :title="$t('customer.exmenea')"> <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form ref="formRef" size="mini" label-width="150px"> <el-form ref="formRef" label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> UI-Project/src/views/User/rolelist.vue
@@ -38,7 +38,6 @@ tableData.value = response.data // titleSelectJsona.value.processTypea = response.data.menuList; // options.value = response.data.menuList console.log(response.data); } else { ElMessage.warning(response.data); } @@ -133,7 +132,6 @@ if (selectedOptions.value !== topLevelItems) { selectedOptions.value = topLevelItems; } console.log(topLevelItems); // selectedOptions.value = topLevelItems; const topLevelItemsWithChildren = topLevelItems; // 包含顶级菜单项及其子菜单项的数组 let selectedPath = []; @@ -149,7 +147,6 @@ } } } console.log(selectedPath); selectedOptions.value = selectedPath; } // 编辑 @@ -237,9 +234,7 @@ }; request.get("/loadGlass/sys/menu/nav").then((res) => { if (res.code == 200) { console.log(res.data); options.value = res.data.tree console.log( options.value); } else { ElMessage.warning(res.msg) } @@ -247,7 +242,7 @@ </script> <template> <div> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" size="mini" id="searchButton" @click="add = true">{{ $t('delivery.addrole') }}</el-button> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" id="searchButton" @click="add = true">{{ $t('delivery.addrole') }}</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;"> <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="750" ref="table" @@ -255,8 +250,8 @@ <el-table-column prop="name" align="center" :label="$t('delivery.role')" min-width="180" /> <el-table-column fixed="right" :label="$t('delivery.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('delivery.edit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('delivery.delete') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('delivery.edit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('delivery.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -265,7 +260,7 @@ </div> <el-dialog v-model="add" top="23vh" width="37%" :title="$t('productStock.addusername')" > <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form ref="formRef" size="mini" label-width="150px"> <el-form ref="formRef" label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> @@ -305,7 +300,7 @@ </el-dialog> <el-dialog v-model="adda" top="23vh" width="37%" :title="$t('delivery.editrole')"> <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form ref="formRef" size="mini" label-width="150px"> <el-form ref="formRef" label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> UI-Project/src/views/User/userlist.vue
@@ -183,8 +183,8 @@ </script> <template> <div> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" size="mini" id="searchButton" @click="add = true">{{ $t('productStock.addusers') }}</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-button type="primary" style="margin-top: 10px;margin-left: 10px;" id="searchButton" @click="add = true">{{ $t('productStock.addusers') }}</el-button> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="750" ref="table" :data="tableData" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> @@ -198,9 +198,9 @@ </el-table-column> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="open(scope.row)">{{ $t('productStock.resetpassword') }}</el-button> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> <el-button type="text" plain @click="open(scope.row)">{{ $t('productStock.resetpassword') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -209,7 +209,7 @@ </div> <el-dialog v-model="add" top="23vh" width="37%" :title="$t('productStock.addusers')"> <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> @@ -270,7 +270,7 @@ </el-dialog> <el-dialog v-model="adda" top="23vh" width="37%" :title="$t('productStock.reusername')" > <div style="margin-left: -50px;margin-top: 10px;margin-bottom: 10px;"> <el-form ref="formRef" size="mini" label-width="150px"> <el-form ref="formRef" label-width="150px"> <el-form label-width="100px" label-position="right"> <el-row style="margin-top: -15px;margin-bottom: -2px;"> <el-col :span="6"> UI-Project/src/views/Visualization/screenone.vue
@@ -33,7 +33,6 @@ // onMounted(fetchTableData); request.get("unLoadGlass/downStorage/selectStorageCage").then((res) => { if (res.code == 200) { console.log(res.data); tableData.value = res.data } else { ElMessage.warning(res.msg) UI-Project/src/views/Visualization/screentwo.vue
@@ -33,7 +33,6 @@ // onMounted(fetchTableData); request.get("unLoadGlass/downStorage/selectStorageCage").then((res) => { if (res.code == 200) { console.log(res.data); tableData.value = res.data } else { ElMessage.warning(res.msg) UI-Project/src/views/hollow/hellowquiphistory.vue
@@ -51,8 +51,8 @@ <el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="100" /> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button> <el-button type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> <el-button type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button> </template> </el-table-column> </el-table> @@ -88,7 +88,7 @@ </el-dialog> <el-dialog v-model="dialogFormVisiblea" top="15vh" width="65%" :title="$t('hellow.listFormula')"> <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -434,19 +434,16 @@ formattedUpdateTime: formatTimestamp(record.updateTime), })); tableDatax.value = formattedData; console.log(response.data.pages); totalRecords.value = response.data.total/2 || 0 } else { ElMessage.error(response.message); } } catch (error) { console.error(error); } } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -490,7 +487,6 @@ } } catch (error) { console.error(error); } } // 历史查询点击 @@ -536,7 +532,6 @@ } } catch (error) { console.error(error); } } // 配方信息 @@ -586,8 +581,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 队列信息 @@ -613,8 +606,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 格式化时间戳为年月日时间字符串的函数 @@ -634,8 +625,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } UI-Project/src/views/hollow/hellowquipthreehistory.vue
@@ -51,8 +51,8 @@ <el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="100" /> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <!-- <el-button size="mini" type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> --> <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button> <!-- <el-button type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> --> <el-button type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button> </template> </el-table-column> </el-table> @@ -89,7 +89,7 @@ </el-dialog> <el-dialog v-model="dialogFormVisiblea" top="23vh" width="55%" :title="$t('hellow.listFormula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="8"> @@ -227,19 +227,16 @@ formattedUpdateTime: formatTimestamp(record.updateTime), })); tableDatax.value = formattedData; console.log(response.data.pages); totalRecords.value = response.data.total/2 || 0 } else { ElMessage.error(response.message); } } catch (error) { console.error(error); } } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -283,7 +280,6 @@ } } catch (error) { console.error(error); } } // 配方信息 @@ -333,8 +329,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 队列信息 @@ -360,8 +354,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 历史查询点击 @@ -407,7 +399,6 @@ } } catch (error) { console.error(error); } } // 格式化时间戳为年月日时间字符串的函数 @@ -427,8 +418,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } UI-Project/src/views/hollow/hellowquiptwohistory.vue
@@ -51,8 +51,8 @@ <el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="100" /> <el-table-column fixed="right" :label="$t('film.operate')" align="center"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button> <el-button type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> <el-button type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button> </template> </el-table-column> </el-table> @@ -89,7 +89,7 @@ </el-dialog> <el-dialog v-model="dialogFormVisiblea" top="23vh" width="55%" :title="$t('hellow.listFormula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="8"> @@ -227,19 +227,16 @@ formattedUpdateTime: formatTimestamp(record.updateTime), })); tableDatax.value = formattedData; console.log(response.data.pages); totalRecords.value = response.data.total/2 || 0 } else { ElMessage.error(response.message); } } catch (error) { console.error(error); } } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -283,7 +280,6 @@ } } catch (error) { console.error(error); } } // 配方信息 @@ -333,8 +329,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 队列信息 @@ -360,8 +354,6 @@ } } catch (error) { // 处理错误 console.error(error); } } // 历史查询点击 @@ -407,7 +399,6 @@ } } catch (error) { console.error(error); } } // 格式化时间戳为年月日时间字符串的函数 @@ -427,8 +418,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } UI-Project/src/views/hollow/hellowslicecagehistory.vue
@@ -169,7 +169,6 @@ } } catch (error) { console.error(error); } } const historical = async () => { @@ -201,12 +200,10 @@ } } catch (error) { console.error(error); } } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); Dailya(currentPage2.value); @@ -265,7 +262,6 @@ } } catch (error) { console.error(error); } } const Dailya = async (page) => { @@ -317,7 +313,6 @@ } } catch (error) { console.error(error); } } const handleClick = async () => { @@ -372,17 +367,13 @@ formattedCreateTime: formatTimestamp(record.createTime), formattedUpdateTime: formatTimestamp(record.updateTime), })); // tableDatax.value = response.data.records; tableDatax.value = formattedData; console.log(tableDatax.value); console.log(formattedData); totalRecords.value = response.data.total/2 || 0 } else { ElMessage.error(response.message); } } catch (error) { console.error(error); } } const Dailyhistorical = async () => { @@ -434,7 +425,6 @@ } } catch (error) { console.error(error); } } @@ -455,8 +445,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } UI-Project/src/views/hollow/hollowaluminum.vue
@@ -31,14 +31,13 @@ } }); onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> <template> <div style="height: 500px;"> <div> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;"> <el-table height="750" ref="table" @selection-change="handleSelectionChange" @@ -51,11 +50,11 @@ <el-table-column prop="line" align="center" :label="$t('workOrder.line')" min-width="120" /> <el-table-column fixed="right" :label="$t('workOrder.operate')" align="center" width="200"> <template #default="scope"> <el-button size="mini" type="text" plain @click="open(scope.row)">{{ <el-button type="text" plain @click="open(scope.row)">{{ $t('workOrder.breakage') }} </el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ <el-button type="text" plain @click="opena(scope.row)">{{ $t('workOrder.takeout') }} </el-button> UI-Project/src/views/hollow/hollowequipment.vue
@@ -1,6 +1,6 @@ <template> <div style="height: 600px;"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" > <div style="display: flex; flex-direction: row; align-items: center; margin-bottom: 10px;"> <el-button id="searchButton" type="primary" @click="handleormulan"> {{ $t('hellow.hollowformula') }} @@ -119,12 +119,12 @@ <el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> <el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('hellow.missingfilms') }} </el-button> <el-button size="mini" type="text" plain @click="handleout(scope.row)">{{ <el-button type="text" plain @click="handleout(scope.row)">{{ $t('hellow.forcedfilming') }} </el-button> @@ -135,7 +135,7 @@ <!-- 中空配方添加 --> <el-dialog v-model="add" top="3vh" width="55%" :title="$t('hellow.hollowformula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <!-- <el-form label-width="150px" label-position="right"> --> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -412,7 +412,7 @@ <!-- 中空配方修改 --> <el-dialog v-model="adda" top="3vh" width="55%" :title="$t('hellow.edithollowformula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -689,7 +689,7 @@ <!-- 领取任务 --> <el-dialog v-model="dialogFormVisiblec" top="21vh" width="40%" :title="$t('hellow.claimquest')"> <div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="100px"> <el-form label-width="100px"> <el-form label-width="210px" label-position="right"> <el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw"> <el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantity" autocomplete="off" /> @@ -740,7 +740,7 @@ <!-- 强制出片 --> <el-dialog v-model="dialogFormVisibled" top="21vh" width="40%" :title="$t('hellow.forcedfilming')"> <div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="100px"> <el-form label-width="100px"> <el-form label-width="210px" label-position="right"> <el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw"> <el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantitya" autocomplete="off" /> @@ -862,7 +862,6 @@ clearable :placeholder="$t('basicData.plselectproject')" style="width: 260px" @input="handleInputChange" > <el-option v-for="item in titleSelectJson.processType" @@ -973,8 +972,8 @@ <el-table-column prop="rightRemove" align="center" :label="$t('hellow.rightRemovep')" min-width="95"> </el-table-column> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -1108,7 +1107,6 @@ // console.warn('No data for the current page key:', currentPageKeyValue); // } } catch (error) { console.error('Error parsing WebSocket message:', error); } }; onMounted(() => { @@ -1636,7 +1634,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 工程号 @@ -1693,7 +1690,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } // 开始任务 @@ -1716,7 +1712,6 @@ }) } } catch (error) { console.error(error); } } // 暂停任务 @@ -1739,7 +1734,6 @@ }) } } catch (error) { console.error(error); } } // 删除任务 @@ -1762,7 +1756,6 @@ }) } } catch (error) { console.error(error); } } // 领取任务 @@ -1782,7 +1775,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } // 强制出片 @@ -1801,12 +1793,10 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> UI-Project/src/views/hollow/hollowequipmenthree.vue
@@ -1,6 +1,6 @@ <template> <div style="height: 600px;"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" > <div style="display: flex; flex-direction: row; align-items: center; margin-bottom: 10px;"> <!-- <el-button id="searchButton" type="primary" @click="handleormulan"> {{ $t('hellow.hollowformula') }} @@ -93,12 +93,12 @@ <el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> <el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('hellow.missingfilms') }} </el-button> <el-button size="mini" type="text" plain @click="handleout(scope.row)">{{ <el-button type="text" plain @click="handleout(scope.row)">{{ $t('hellow.forcedfilming') }} </el-button> @@ -109,7 +109,7 @@ <!-- 中空配方添加 --> <el-dialog v-model="add" top="23vh" width="55%" :title="$t('hellow.hollowformula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -181,7 +181,7 @@ <!-- 中空配方修改 --> <el-dialog v-model="adda" top="23vh" width="55%" :title="$t('hellow.edithollowformula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -253,7 +253,7 @@ <!-- 领取任务 --> <el-dialog v-model="dialogFormVisiblec" top="21vh" width="40%" :title="$t('hellow.claimquest')"> <div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="100px"> <el-form label-width="100px"> <el-form label-width="210px" label-position="right"> <el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw"> <el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantity" autocomplete="off" /> @@ -304,7 +304,7 @@ <!-- 强制出片 --> <el-dialog v-model="dialogFormVisibled" top="21vh" width="40%" :title="$t('hellow.forcedfilming')"> <div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="100px"> <el-form label-width="100px"> <el-form label-width="210px" label-position="right"> <el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw"> <el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantitya" autocomplete="off" /> @@ -426,7 +426,6 @@ clearable :placeholder="$t('basicData.plselectproject')" style="width: 260px" @input="handleInputChange" > <el-option v-for="item in titleSelectJson.processType" @@ -467,8 +466,8 @@ <el-table-column prop="rightRemove" align="center" :label="$t('hellow.rightRemovep')"> </el-table-column> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -564,11 +563,9 @@ const currentPageKey = computed(() => `93${currentPage.value - 1}`); const handlePageChange1 = (newPage) => { currentPage.value = newPage; console.log(currentPage.value); }; const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); fetchFlowBind(currentRow.projectNumber, currentRow.layer, currentPage2.value); }; const handleMessage = (data) => { @@ -581,7 +578,6 @@ freethree.value = data.freeRequest[0] == true ? 'green' : '#911005'; } } catch (error) { console.error('Error parsing WebSocket message:', error); } }; onMounted(() => { @@ -821,7 +817,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 工程号 @@ -878,7 +873,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } // 开始任务 @@ -901,7 +895,6 @@ }) } } catch (error) { console.error(error); } } // 暂停任务 @@ -924,7 +917,6 @@ }) } } catch (error) { console.error(error); } } // 删除任务 @@ -947,7 +939,6 @@ }) } } catch (error) { console.error(error); } } // 领取任务 @@ -967,7 +958,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } // 强制出片 @@ -986,12 +976,9 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> UI-Project/src/views/hollow/hollowequipmenttwo.vue
@@ -1,6 +1,6 @@ <template> <div style="height: 600px;"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" > <div style="display: flex; flex-direction: row; align-items: center; margin-bottom: 10px;"> <el-button id="searchButton" type="primary" @click="handleormulan"> {{ $t('hellow.hollowformula') }} @@ -93,12 +93,12 @@ <el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> <el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('hellow.missingfilms') }} </el-button> <el-button size="mini" type="text" plain @click="handleout(scope.row)">{{ <el-button type="text" plain @click="handleout(scope.row)">{{ $t('hellow.forcedfilming') }} </el-button> @@ -109,7 +109,7 @@ <!-- 中空配方添加 --> <el-dialog v-model="add" top="23vh" width="55%" :title="$t('hellow.hollowformula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -181,7 +181,7 @@ <!-- 中空配方修改 --> <el-dialog v-model="adda" top="23vh" width="55%" :title="$t('hellow.edithollowformula')" > <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form label-width="150px" label-position="right"> <el-row style="margin-top: 10px;"> <el-col :span="6"> @@ -253,7 +253,7 @@ <!-- 领取任务 --> <el-dialog v-model="dialogFormVisiblec" top="21vh" width="40%" :title="$t('hellow.claimquest')"> <div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="100px"> <el-form label-width="100px"> <el-form label-width="210px" label-position="right"> <el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw"> <el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantity" autocomplete="off" /> @@ -304,7 +304,7 @@ <!-- 强制出片 --> <el-dialog v-model="dialogFormVisibled" top="21vh" width="40%" :title="$t('hellow.forcedfilming')"> <div style="margin-left: 20px;margin-top: 10px;margin-bottom: 10px;"> <el-form size="mini" label-width="100px"> <el-form label-width="100px"> <el-form label-width="210px" label-position="right"> <el-form-item :label="$t('hellow.pairQuantity')" :required="true" style="width: 25vw"> <el-input :placeholder="$t('hellow.cpairQuantity')" v-model="totalPairQuantitya" autocomplete="off" /> @@ -426,7 +426,6 @@ clearable :placeholder="$t('basicData.plselectproject')" style="width: 260px" @input="handleInputChange" > <el-option v-for="item in titleSelectJson.processType" @@ -467,8 +466,8 @@ <el-table-column prop="rightRemove" align="center" :label="$t('hellow.rightRemovep')"> </el-table-column> <el-table-column fixed="right" :label="$t('productStock.operate')" align="center" width="270"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> <el-button type="text" plain @click="handleEdit(scope.row)">{{ $t('productStock.exit') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('productStock.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -561,11 +560,9 @@ const currentPageKey = computed(() => `93${currentPage.value - 1}`); const handlePageChange1 = (newPage) => { currentPage.value = newPage; console.log(currentPage.value); }; const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); fetchFlowBind(currentRow.projectNumber, currentRow.layer, currentPage2.value); }; const handleMessage = (data) => { @@ -583,7 +580,6 @@ // console.warn('No data for the current page key:', currentPageKeyValue); // } } catch (error) { console.error('Error parsing WebSocket message:', error); } }; onMounted(() => { @@ -823,7 +819,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 工程号 @@ -880,7 +875,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } // 开始任务 @@ -903,7 +897,6 @@ }) } } catch (error) { console.error(error); } } // 暂停任务 @@ -926,7 +919,6 @@ }) } } catch (error) { console.error(error); } } // 删除任务 @@ -949,7 +941,6 @@ }) } } catch (error) { console.error(error); } } // 领取任务 @@ -969,7 +960,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } // 强制出片 @@ -988,12 +978,10 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } } onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); </script> UI-Project/src/views/hollow/hollowslicecage.vue
@@ -62,7 +62,6 @@ const temperingengineerId=ref(''); const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) fetchxiang(currentPage2.value); }; @@ -87,7 +86,6 @@ ElMessage.error(response.message); } } catch (error) { console.error(error); } }; // 是否禁用 @@ -131,7 +129,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 破损 @@ -162,7 +159,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 拿走 @@ -193,7 +189,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 确认添加 @@ -228,7 +223,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; const handlexiang = () => { @@ -299,7 +293,6 @@ } } } catch (error) { console.error('发生错误:', error); } }; // 调度开关 @@ -318,7 +311,6 @@ } } catch (error) { console.error(error); } } let socket = null; @@ -360,7 +352,6 @@ } if(data.bigStorageCageDetailsOutTask!=null){ tableDatac.value = data.bigStorageCageDetailsOutTask[0] console.log(data.bigStorageCageDetailsOutTask[0]) adjusta.value = data.bigStorageCageDetailsOutTask[0].filter(rect => rect.slot !== null && rect.slot !== undefined); } else { tableDatac.value = [], @@ -383,12 +374,9 @@ } if(data.temperingGlassInfoList!=null){ tableDatab.value = data.temperingGlassInfoList[0] console.log(tableDatab.value) }else{ tableDatab.value = [] } console.log(data.bigStorageCageUsage); if(data.bigStorageCageUsage!=null){ tableDatae.value = data.bigStorageCageUsage[0] }else{ @@ -689,10 +677,9 @@ <i :style="{ marginTop: '2px', backgroundColor: freethree, width: '18px', height: '18px', borderRadius: '50%', display: 'block' }"></i> </div> <div class="table-container"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;"> <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;max-height: 300px;"> <el-table height="300px" ref="table" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" :data="tableDatad" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> <el-table-column prop="glassId" align="center" :label="$t('searchOrder.intoglassid')" min-width="140" /> @@ -713,7 +700,7 @@ </el-table> </div> </el-card> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;"> <el-table height="300px" ref="table" :data="tableDatac" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> <el-table-column prop="glassId" align="center" :label="$t('searchOrder.outputglassID')" min-width="140" /> @@ -889,7 +876,7 @@ <el-table-column prop="gap" align="center" :label="$t('searchOrder.glassgaps')" min-width="150"/> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" width="150"> <template #default="scope"> <el-button size="mini" type="text" plain @click="finisha(scope.row)">{{ $t('searchOrder.sureadd') }}</el-button> <el-button type="text" plain @click="finisha(scope.row)">{{ $t('searchOrder.sureadd') }}</el-button> </template> </el-table-column> </el-table> @@ -907,7 +894,6 @@ :data="tableDataa" @row-click="handleRowClick" height="700" @expand-change="handleExpandChange" row-key="id" default-expand-all :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}" @@ -947,9 +933,9 @@ <el-table-column prop="gap" align="center" :label="$t('searchOrder.glassgaps')" min-width="80" /> <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" min-width="220"> <template #default="scope"> <el-button size="mini" type="text" plain @click="broke(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button size="mini" type="text" plain @click="brokec(scope.row)">{{ $t('searchOrder.takeout') }}</el-button> <el-button size="mini" type="text" plain @click="opena(scope.row)">{{ $t('searchOrder.delete') }}</el-button> <el-button type="text" plain @click="broke(scope.row)">{{ $t('searchOrder.breakage') }}</el-button> <el-button type="text" plain @click="brokec(scope.row)">{{ $t('searchOrder.takeout') }}</el-button> <el-button type="text" plain @click="opena(scope.row)">{{ $t('searchOrder.delete') }}</el-button> </template> </el-table-column> </el-table> @@ -978,7 +964,7 @@ <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center"> <template #default="scope"> <el-button size="mini" type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.add') }}</el-button> <el-button type="text" plain @click="handleBindRack(scope.row)">{{ $t('searchOrder.add') }}</el-button> </template> </el-table-column> </el-table> UI-Project/src/views/largescreen/largescreen.vue
@@ -1,6 +1,6 @@ <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;"> @@ -56,7 +56,7 @@ <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> @@ -169,7 +169,6 @@ if (response.code == 200) { ElMessage.success(response.message); tableData.value = response.data; console.log(tableData.value); } else { ElMessage.error(response.message); } @@ -381,7 +380,6 @@ } }); onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); closeWebSocket2(); closeWebSocket3(); UI-Project/src/views/largescreendisplay/screendisplay.vue
@@ -180,7 +180,6 @@ } }); onBeforeUnmount(() => { console.log("关闭了") closeWebSocket(); }); const numBoxes = ref(5); UI-Project/src/views/largescreendisplay/statistics.vue
@@ -74,7 +74,6 @@ })); // tableDatax.value = response.data.records; tableDatax.value = formattedData; console.log(response.data.pages); totalRecords.value = response.data.total / 2 || 0 } else { ElMessage.error(response.message); @@ -86,7 +85,6 @@ } const handlePageChange2 = (newPage) => { currentPage2.value = newPage; console.log(currentPage2.value); window.localStorage.setItem('pagenumber', currentPage2.value) historicala(currentPage2.value); }; @@ -147,7 +145,6 @@ } let startTime = window.localStorage.getItem('startTime') let page = window.localStorage.getItem('pagenumber') console.log(page); const response = await request.post("/loadGlass/largenScreen/queryDailyProduction", { pageNo: 1, pageSize: 20, @@ -190,8 +187,6 @@ const backendTime = new Date(getglobalDate); const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 oneWeekAgo.setHours(0, 0, 0, 0); console.log(formatTimestamp(oneWeekAgo)); console.log(oneWeekAgo); timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) } @@ -221,14 +216,6 @@ return 'primary'; case 1: return 'success'; } } function getStatusTexta(taskRunning: number) { switch (taskRunning) { case 0: return t('basicData.untask'); case 1: return t('basicData.up'); } } onMounted(() => { UI-Project/src/views/mm/purchaseOrder/Select.vue
@@ -785,7 +785,7 @@ <el-button style="margin-top: 5px;float: right;margin-right: 50px;" id="searchButton" type="text" @click="dialogForm">版图号</el-button> <div v-if="box"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;max-height: 450px;"> <el-table height="100%" ref="table" @selection-change="handleSelectionChange" @@ -798,8 +798,8 @@ <el-table-column prop="thick" align="center" label="其他" min-width="120" /> <el-table-column fixed="right" label="操作" align="center" width="200"> <template #default> <!-- <el-button size="mini" type="text" plain @click="dialogFormVisible = true">详情</el-button> --> <el-button size="mini" type="text" plain @click="dialogFormVisiblea = true">设置</el-button> <!-- <el-button type="text" plain @click="dialogFormVisible = true">详情</el-button> --> <el-button type="text" plain @click="dialogFormVisiblea = true">设置</el-button> </template> </el-table-column> </el-table> @@ -807,7 +807,7 @@ </el-card> </div> <div v-if="boxb"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;max-height: 450px;"> <el-table height="100%" ref="table" @selection-change="handleSelectionChange" @@ -820,8 +820,8 @@ <el-table-column prop="thick" align="center" label="其他" min-width="120" /> <el-table-column fixed="right" label="操作" align="center" width="200"> <template #default> <!-- <el-button size="mini" type="text" plain @click="dialogFormVisible = true">详情</el-button> --> <el-button size="mini" type="text" plain @click="dialogFormVisiblea = true">设置</el-button> <!-- <el-button type="text" plain @click="dialogFormVisible = true">详情</el-button> --> <el-button type="text" plain @click="dialogFormVisiblea = true">设置</el-button> </template> </el-table-column> </el-table> @@ -829,7 +829,7 @@ </el-card> </div> <!-- <div v-if="boxa"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" v-loading="loading"> <el-card style="flex: 1;margin-left: 10px;margin-top: 20px;" > <div style="width: 98%; height: calc(100% - 35px); overflow-y: auto"> <el-table height="100%" ref="table" @selection-change="handleSelectionChange" @@ -856,7 +856,7 @@ </template> </el-dialog> --> <el-dialog v-model="dialogFormVisiblea" top="21vh" width="30%" title="测量设置" > <el-form size="mini" label-width="150px"> <el-form label-width="150px"> <el-form style="margin-left: 80px;"> <el-form-item label="误差长:" :required="true" style="width: 16vw;margin-bottom: 30px;">