Browse Source

异常滚利模块接口更换

wyn 2 tháng trước cách đây
mục cha
commit
70f5efbbeb

+ 2 - 1
src/api/material/doorException/index.ts

@@ -16,7 +16,8 @@ export interface DoorExceptionQuery {
 //  (传递参数exceptionType是1就是柜门异常)
 export const doorExceptionPage = async (params: DoorExceptionQuery) => {
   return await request.get({
-    url: '/iscs/cabinet-open-record/getCabinetOpenRecordPage',
+    // url: '/iscs/cabinet-open-record/getCabinetOpenRecordPage',
+    url: '/iscs/exception/getExceptionPage',
     params
   })
 }

+ 2 - 1
src/api/material/exception/index.ts

@@ -15,7 +15,8 @@ export interface ExceptionQuery {
 // 查询物资异常列表 (传递参数exceptionType是1就是柜门异常 现在是归还异常)
 export const returnExceptionPage = async (params: ExceptionQuery) => {
   return await request.get({
-    url: '/iscs/exception/getExceptionPage',
+    // url: '/iscs/exception/getExceptionPage',
+    url: '/iscs/exception-misplace/getExceptionMisplacePage',
     params
   })
 }

+ 1 - 1
src/api/material/manualException/index.ts

@@ -47,7 +47,7 @@ export const listManualException = async (params: ManualExceptionQuery) => {
 
 // 查询人工传入异常详情
 export const getExceptionInfo = async (id: number) => {
-  return await request.get({ url: '/iscs/exception/selectExceptionById', params: { exceptionId: id } })
+  return await request.get({ url: '/iscs/exception/selectExceptionById', params: { id: id } })
 }
 
 // 新增人工传入异常