| | |
| | | const handlesure = async () => { |
| | | try { |
| | | const response = await request.post('/loadGlass/up-patten-usage/selectUpPattenUsage', { |
| | | stationCell: 2, |
| | | // engineerId: 'P24101602', |
| | | stationCell: 6, |
| | | engineerId: selectedProjectNo.value, |
| | | filmRemove: filmRemove.value, |
| | | }) |
| | |
| | | if (markingMachineStatus.value === 'green' && cuttingMachineStatus.value === 'green') { |
| | | try { |
| | | const response = await request.post('/loadGlass/engineering/engineering/changeTask', { |
| | | stationCell: 2, |
| | | stationCell: 6, |
| | | filmRemove: filmRemove, |
| | | // engineerId: 'P24101602', |
| | | engineerId: engineeringId, |
| | | state: 1, |
| | | }) |
| | |
| | | console.log(engineeringId); |
| | | if (engineeringId !== '') { |
| | | const response = await request.post('/loadGlass/engineering/engineering/pauseTask', { |
| | | stationCell: 2, |
| | | // engineerId: 'P24101602', |
| | | stationCell: 6, |
| | | engineeringId: engineeringId, |
| | | state: 0, |
| | | }) |
| | |
| | | } |
| | | const response = await request.post("/loadGlass/up-patten-usage/setUpPattenRequest", { |
| | | taskState: stateList, |
| | | taskType: 2 |
| | | taskType: 6 |
| | | }) |
| | | if (response.code === 200) { |
| | | tableData.value = response.data; |