From 846cfb6ad413aeff93b3181e0bf69f53c6434001 Mon Sep 17 00:00:00 2001 From: dangsn <dangsn@chicecm.com> Date: 星期三, 02 八月 2023 18:14:35 +0800 Subject: [PATCH] 新增通用生命周期变更事件 --- Source/UBCS-WEB/src/api/GetItem.js | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 48 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/api/GetItem.js b/Source/UBCS-WEB/src/api/GetItem.js index 6b82a9c..976018e 100644 --- a/Source/UBCS-WEB/src/api/GetItem.js +++ b/Source/UBCS-WEB/src/api/GetItem.js @@ -19,7 +19,7 @@ } }) } -//楂樼骇鏌ヨ +//鍏ㄦ煡璇� export const FindData =(params)=>{ return request({ url: 'api/ubcs-code/mdmEngineController/gridTableDataByClassifyOid', @@ -29,3 +29,50 @@ } }) } +// 鏂板鏁版嵁 +export function addSaveCode(data) { + return request({ + url: 'api/ubcs-code/mdmEngineController/addSaveCode', + method: 'post', + data + }) +} +//淇敼鏁版嵁 +export function editSaveCode(data) { + return request({ + url: 'api/ubcs-code/mdmEngineController/editSaveCode', + method: 'put', + data + }) +} + +//娴佺▼鎵ц涓〃澶� +export function FlowTable(data){ + return request({ + url: 'api/ubcs-code/mdmEngineController/getFlowdUIInfoByClassifyOid', + method: 'get', + params:{ + ...data + } + }) +} +// 涓绘暟鎹鍑� +export function exportCode(data){ + return request({ + url: 'api/ubcs-code/mdmEngineController/exportCode', + method: 'post', + responseType: 'blob', // 璁剧疆鍝嶅簲绫诲瀷涓篵lob + params:{ + ...data + } + }) +} +// 鎵归噺淇敼鏁版嵁 +export function batchUpdateCode(data) { + return request({ + url: 'api/ubcs-code/mdmEngineController/batchUpdateCode', + method: 'post', + data + }) +} + -- Gitblit v1.9.3