From 6d4ad5520c1cdc854ead76f338995c3ae649c279 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期二, 08 十月 2024 16:59:06 +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