Commit c99ff63c2d4bfdacef8f47a05ebb6093558424bc
1 parent
33c36463
1.处理设备管理 维修记录的定制化呈现
Showing
1 changed file
with
4 additions
and
2 deletions
src/mes/common/commonModelComponent/index.js
| ... | ... | @@ -1188,10 +1188,12 @@ const CommonModelComponent = props => { |
| 1188 | 1188 | "设备维修记录", |
| 1189 | 1189 | "设备点检记录", |
| 1190 | 1190 | "设备点检明细", |
| 1191 | + "设备润滑记录", | |
| 1192 | + "设备润滑明细", | |
| 1191 | 1193 | "设备资料" |
| 1192 | 1194 | ].includes(configList[0].sTabName) |
| 1193 | 1195 | ) { |
| 1194 | - advancedStyle.width = "calc(100% - 300px)"; | |
| 1196 | + advancedStyle.width = "calc(100% - 10px)"; | |
| 1195 | 1197 | advancedStyle.height = ["设备维修记录", "设备点检明细"].includes( |
| 1196 | 1198 | configList[0].sTabName |
| 1197 | 1199 | ) |
| ... | ... | @@ -1204,7 +1206,7 @@ const CommonModelComponent = props => { |
| 1204 | 1206 | }; |
| 1205 | 1207 | return ( |
| 1206 | 1208 | <> |
| 1207 | - <EquipmentRepair {...equipmentRepairProps} /> | |
| 1209 | + {/*<EquipmentRepair {...equipmentRepairProps} />*/} | |
| 1208 | 1210 | <div style={advancedStyle}> |
| 1209 | 1211 | {getComponent(configList[0], -1)} |
| 1210 | 1212 | </div> | ... | ... |