Commit c99ff63c2d4bfdacef8f47a05ebb6093558424bc

Authored by Min
1 parent 33c36463

1.处理设备管理 维修记录的定制化呈现

src/mes/common/commonModelComponent/index.js
@@ -1188,10 +1188,12 @@ const CommonModelComponent = props => { @@ -1188,10 +1188,12 @@ const CommonModelComponent = props => {
1188 "设备维修记录", 1188 "设备维修记录",
1189 "设备点检记录", 1189 "设备点检记录",
1190 "设备点检明细", 1190 "设备点检明细",
  1191 + "设备润滑记录",
  1192 + "设备润滑明细",
1191 "设备资料" 1193 "设备资料"
1192 ].includes(configList[0].sTabName) 1194 ].includes(configList[0].sTabName)
1193 ) { 1195 ) {
1194 - advancedStyle.width = "calc(100% - 300px)"; 1196 + advancedStyle.width = "calc(100% - 10px)";
1195 advancedStyle.height = ["设备维修记录", "设备点检明细"].includes( 1197 advancedStyle.height = ["设备维修记录", "设备点检明细"].includes(
1196 configList[0].sTabName 1198 configList[0].sTabName
1197 ) 1199 )
@@ -1204,7 +1206,7 @@ const CommonModelComponent = props => { @@ -1204,7 +1206,7 @@ const CommonModelComponent = props => {
1204 }; 1206 };
1205 return ( 1207 return (
1206 <> 1208 <>
1207 - <EquipmentRepair {...equipmentRepairProps} /> 1209 + {/*<EquipmentRepair {...equipmentRepairProps} />*/}
1208 <div style={advancedStyle}> 1210 <div style={advancedStyle}>
1209 {getComponent(configList[0], -1)} 1211 {getComponent(configList[0], -1)}
1210 </div> 1212 </div>