From bfb838d1c3aba72fe6b3de37f065902279a7d40c Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期四, 06 三月 2025 08:30:56 +0800 Subject: [PATCH] 需求新增 --- src/api/hazardousChemicals/rawRecord.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/src/api/hazardousChemicals/rawRecord.js b/src/api/hazardousChemicals/rawRecord.js index 5226964..b272184 100644 --- a/src/api/hazardousChemicals/rawRecord.js +++ b/src/api/hazardousChemicals/rawRecord.js @@ -53,3 +53,62 @@ params: params }) } + + +export function getRawFlow(params) { + return request({ + url: '/hazmat-flow/list', + method: 'get', + params: params + }) +} + +export function getRawList(params) { + return request({ + url: '/hazmat/hazmatCollect', + method: 'get', + params: params + }) +} + +export function disCardRaw(data) { + return request({ + url: '/hazmat/hazmatDiscard/' + data, + method: 'post', + }) +} + +export function getAllRawFlow(params) { + return request({ + url: '/hazmat-flow/getAllHazmatFlowByHazmatId', + method: 'get', + params: params + }) +} + +export function getAllRawFlowByFlowId(params) { + return request({ + url: '/hazmat-flow/getAllHazmatFlowById', + method: 'get', + params: params + }) +} + + + +export function getWhRawDetail(params) { + return request({ + url: '/entry-record/hazmatlist', + method: 'get', + params: params + }) +} + +export function changeRawRemaining(data) { + return request({ + url: '/hazmat/changeRemaining', + method: 'post', + data: data + }) +} + -- Gitblit v1.9.2