From 11a332b2466c10379f30c0f3503a33fb946336fb Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期五, 30 八月 2024 13:44:57 +0800 Subject: [PATCH] 报警信息添加工位字段; 报警页面和首页自适应优化; 绑定首页设备控制和设备数据,与后台实时通讯; --- Web/src/api/wcs/wcsDevice.ts | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts index 985447f..8bd165a 100644 --- a/Web/src/api/wcs/wcsDevice.ts +++ b/Web/src/api/wcs/wcsDevice.ts @@ -6,6 +6,7 @@ PageWcsDevice = '/api/wcsDevice/page', DetailWcsDevice = '/api/wcsDevice/detail', GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown', + GeneratePos = '/api/wcsDevice/GeneratePos', } // 澧炲姞璁惧淇℃伅 @@ -54,3 +55,10 @@ method: 'get' }); +export const generatePos = (params?: any) => + request({ + url: Api.GeneratePos, + method: 'post', + data: params + }); + \ No newline at end of file -- Gitblit v1.8.0