Commit 8fa4a17df0d1e1d24503403f0df29a36e835b398
1 parent
99676ef3
1.处理提示的多语言 翻译
Showing
1 changed file
with
4 additions
and
2 deletions
src/components/Common/CommonJurisdictionNewEvent.js
| @@ -638,6 +638,8 @@ export default (ChildComponent) => { | @@ -638,6 +638,8 @@ export default (ChildComponent) => { | ||
| 638 | } | 638 | } |
| 639 | /** 按钮操作事件 */ | 639 | /** 按钮操作事件 */ |
| 640 | handleButtonClick = (name, isFresh) => { | 640 | handleButtonClick = (name, isFresh) => { |
| 641 | + const selectUserPermission = commonFunc.showLocalMessage(this.props, 'selectUserPermission', '选择用户权限'); | ||
| 642 | + const selectGroupPerssion = commonFunc.showLocalMessage(this.props, 'selectGroupPerssion', '选择组权限'); | ||
| 641 | if (name.includes('BtnRepairGroup')) { | 643 | if (name.includes('BtnRepairGroup')) { |
| 642 | const { sJurisdictionClassifyId } = this.props; | 644 | const { sJurisdictionClassifyId } = this.props; |
| 643 | if (commonUtils.isNotEmptyArr(sJurisdictionClassifyId)) { | 645 | if (commonUtils.isNotEmptyArr(sJurisdictionClassifyId)) { |
| @@ -653,7 +655,7 @@ export default (ChildComponent) => { | @@ -653,7 +655,7 @@ export default (ChildComponent) => { | ||
| 653 | } | 655 | } |
| 654 | } | 656 | } |
| 655 | } else { | 657 | } else { |
| 656 | - message.error('请选择组权限'); | 658 | + message.error(selectGroupPerssion); |
| 657 | } | 659 | } |
| 658 | } else if (name.includes('BtnRepairUser')) { | 660 | } else if (name.includes('BtnRepairUser')) { |
| 659 | const { userViewSelectedRowKeys } = this.props; | 661 | const { userViewSelectedRowKeys } = this.props; |
| @@ -670,7 +672,7 @@ export default (ChildComponent) => { | @@ -670,7 +672,7 @@ export default (ChildComponent) => { | ||
| 670 | } | 672 | } |
| 671 | } | 673 | } |
| 672 | } else { | 674 | } else { |
| 673 | - message.error('请选择用户权限'); | 675 | + message.error(selectUserPermission); |
| 674 | } | 676 | } |
| 675 | } else if (name === 'BtnOut') { | 677 | } else if (name === 'BtnOut') { |
| 676 | this.handleOut(); | 678 | this.handleOut(); |