Commit ad0f9215b46ad38987a48331bf73703f09a199af

Authored by Min
1 parent e5416ae5

1.修复用户权限的多语言翻译

src/components/Common/CommonJurisdictionNewEvent.js
@@ -348,7 +348,6 @@ export default (ChildComponent) => { @@ -348,7 +348,6 @@ export default (ChildComponent) => {
348 } 348 }
349 // 模拟config的 gdsconfigformslave 配置 349 // 模拟config的 gdsconfigformslave 配置
350 imitateTableConfig = (title, dataIndex, width) => { 350 imitateTableConfig = (title, dataIndex, width) => {
351 - console.log('222app',this.props.app);  
352 const {userinfo} = this.props.app; 351 const {userinfo} = this.props.app;
353 return { 352 return {
354 bCanInput: false, 353 bCanInput: false,
@@ -372,8 +371,8 @@ export default (ChildComponent) => { @@ -372,8 +371,8 @@ export default (ChildComponent) => {
372 sId: commonUtils.createSid(), 371 sId: commonUtils.createSid(),
373 sParentId: '11811781131121915102156308120', 372 sParentId: '11811781131121915102156308120',
374 sSubsidiaryId: '1111111111', 373 sSubsidiaryId: '1111111111',
375 - showName: dataIndex,  
376 - sName: userinfo.sLanguage === 'sEnglish' ? dataIndex : title, 374 + showName: userinfo.sLanguage === 'sEnglish' ? dataIndex : title,
  375 + sName: dataIndex,
377 }; 376 };
378 } 377 }
379 // 根据模拟列,模拟列配置 378 // 根据模拟列,模拟列配置