From b8ba5ab9938b79fa0ec2ee7b6df2f47490536389 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 28 十月 2024 15:14:43 +0800 Subject: [PATCH] 总控车间新增配置假数据功能 --- src/api/mdc.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/api/mdc.js b/src/api/mdc.js index 8b5179c..adfd75a 100644 --- a/src/api/mdc.js +++ b/src/api/mdc.js @@ -17,6 +17,15 @@ deleteParamThresholdApi: id => deleteAction('/mdc/mdcEquipmentThreshold/delete', { id }), // 鍒犻櫎璁惧鍙傛暟闃堝�� deleteBatchParamThresholdApi: ids => deleteAction('/mdc/mdcEquipmentThreshold/deleteBatch', { ids }), + // -------------------------------------闆堕儴浠剁鐞嗛〉闈�-------------------------------------------- + // 澧炲姞璁惧鍙傛暟闃堝�� + addSparePartApi: params => postAction('/mdc/mdcComponentInfo/add', params), + // 缂栬緫璁惧鍙傛暟闃堝�� + editSparePartApi: params => postAction('/mdc/mdcComponentInfo/edit', params), + // 鑾峰彇鐢熶骇绾� + getProductionLineApi: () => getAction('/mdc/mdcProduction/productionList'), + // 鑾峰彇鐢熶骇绾夸腑璁惧鍒楄〃 + getEquipmentListByProductionIdApi: productionId => getAction('/mdc/mdcEquipment/equipmentListByProduction', { productionId }), // -------------------------------------鎬绘帶杞﹂棿鐪嬫澘椤甸潰-------------------------------------------- // 鑾峰彇鏄ㄦ棩姒傚喌 getYesterdayOverviewApi: () => getAction('/mdc/largeScreen/yesterdayOverview'), -- Gitblit v1.9.3