Commit 56f2cdd60fa0c25bebc2abb5f8c9ecae26721ba6

Authored by Min
1 parent e7a1c189

1.去除console

src/components/Common/CommonListTreeEvent.js
@@ -2124,7 +2124,7 @@ export default (ChildComponent) => { @@ -2124,7 +2124,7 @@ export default (ChildComponent) => {
2124 // masterData, 2124 // masterData,
2125 // employeeConfig, 2125 // employeeConfig,
2126 } = this.props; 2126 } = this.props;
2127 - console.log('myConfigArr',myConfigArr) 2127 +
2128 let picArr = []; 2128 let picArr = [];
2129 if(commonUtils.isNotEmptyArr(myConfigArr)) { 2129 if(commonUtils.isNotEmptyArr(myConfigArr)) {
2130 picArr = myConfigArr; 2130 picArr = myConfigArr;
src/mes/common/buttonComponent/index.js
@@ -15,7 +15,7 @@ const getNavIcon = (bActive, iconName = 2) => { @@ -15,7 +15,7 @@ const getNavIcon = (bActive, iconName = 2) => {
15 const ButtonComponent = props => { 15 const ButtonComponent = props => {
16 const { app, sModelsId, currentContent, menuMap } = props; 16 const { app, sModelsId, currentContent, menuMap } = props;
17 const { managementData, userinfo = {} } = app; 17 const { managementData, userinfo = {} } = app;
18 - console.log('3managementData3', managementData); 18 +
19 const { iTeamType, sWorkshopId } = userinfo; 19 const { iTeamType, sWorkshopId } = userinfo;
20 20
21 if ([3, 4, 5, 6].includes(iTeamType)) { 21 if ([3, 4, 5, 6].includes(iTeamType)) {
@@ -54,7 +54,7 @@ const ButtonComponent = props => { @@ -54,7 +54,7 @@ const ButtonComponent = props => {
54 const productionExecMain = managementData.find( 54 const productionExecMain = managementData.find(
55 item => (item.sMenuName === "生产执行" || item.sMenuName === "Production Execution") 55 item => (item.sMenuName === "生产执行" || item.sMenuName === "Production Execution")
56 ); 56 );
57 - console.log('productionExecMain', productionExecMain); 57 +
58 if ( productionExecMain && productionExecMain.children) { 58 if ( productionExecMain && productionExecMain.children) {
59 const forLength = productionExecMain.children.length; 59 const forLength = productionExecMain.children.length;
60 for (let i = 0; i < forLength; i++) { 60 for (let i = 0; i < forLength; i++) {
@@ -269,7 +269,7 @@ const ButtonComponent = props =&gt; { @@ -269,7 +269,7 @@ const ButtonComponent = props =&gt; {
269 } 269 }
270 menuList.push(result); 270 menuList.push(result);
271 }); 271 });
272 - console.log('menuList:', menuList); 272 +
273 dataList.forEach(item => { 273 dataList.forEach(item => {
274 if (!menuList.some(item1 => item1.name === item.name)) { 274 if (!menuList.some(item1 => item1.name === item.name)) {
275 const iIndex = menuList.findIndex(item1 => !item1); 275 const iIndex = menuList.findIndex(item1 => !item1);
@@ -277,7 +277,7 @@ const ButtonComponent = props =&gt; { @@ -277,7 +277,7 @@ const ButtonComponent = props =&gt; {
277 } 277 }
278 }); 278 });
279 279
280 - console.log('dataList:', dataList); 280 +
281 281
282 // 点击 282 // 点击
283 const itemClick = e => { 283 const itemClick = e => {
@@ -397,7 +397,7 @@ const ButtonComponent = props =&gt; { @@ -397,7 +397,7 @@ const ButtonComponent = props =&gt; {
397 </div> 397 </div>
398 ); 398 );
399 }; 399 };
400 - console.log(menuList, '1menuLis111t '); 400 +
401 return ( 401 return (
402 <div 402 <div
403 className={`${styles.buttonComponent} ${ 403 className={`${styles.buttonComponent} ${
src/mes/common/commonModelComponent/index.js
@@ -1289,10 +1289,8 @@ const CommonModelComponent = props =&gt; { @@ -1289,10 +1289,8 @@ const CommonModelComponent = props =&gt; {
1289 width = "100%", 1289 width = "100%",
1290 height = "100%" 1290 height = "100%"
1291 } = item; 1291 } = item;
1292 - console.log('ssconfigLists', configList, sEntireTabName, item);  
1293 const sEntireTabNameNew = sLanguage === 'sEnglish' ? sEnglishEntireTabName : 1292 const sEntireTabNameNew = sLanguage === 'sEnglish' ? sEnglishEntireTabName :
1294 sLanguage === 'sBig5EntireTabName' ? sBig5EntireTabName : sEntireTabName; 1293 sLanguage === 'sBig5EntireTabName' ? sBig5EntireTabName : sEntireTabName;
1295 - console.log('sEntireTabNameNew', sEntireTabNameNew);  
1296 const advancedStyle = 1294 const advancedStyle =
1297 mode === "advanced" 1295 mode === "advanced"
1298 ? { 1296 ? {