From 9f6bf76c6411bb7124a863e56bb35bb46b58eabb Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 31 十月 2024 17:48:40 +0800 Subject: [PATCH] 解决零部件管理表格因样式引起的表格不对齐问题 --- src/api/mdc.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/api/mdc.js b/src/api/mdc.js index 8b5179c..a139ef0 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'), @@ -32,6 +41,10 @@ getMonthEquipmentUtilizationRateApi: () => getAction('/mdc/largeScreen/monthEquipmentUtilizationRate'), // 鑾峰彇浜х嚎鍒楄〃 getProductionLineListApi: () => getAction('/mdc/largeScreen/productionList'), + // 鑾峰彇鍥捐〃鍋囨暟鎹� + getFakeDataApi: () => getAction('/mdc/mdcFakeData/queryFakeData'), + // 閰嶇疆鍥捐〃鍋囨暟鎹� + editFakeDataApi: fakeData => postAction('/mdc/mdcFakeData/updateFakeData', fakeData), // -------------------------------------鍒嗘帶杞﹂棿鐪嬫澘椤甸潰-------------------------------------------- // 鑾峰彇璁惧鐘舵�� getEquipmentStatusApi: productionId => getAction('/mdc/subLargeScreen/equipmentStatus', { productionId }), -- Gitblit v1.9.3