diff --git a/src/components/Common/CommonJurisdictionNewEvent.js b/src/components/Common/CommonJurisdictionNewEvent.js index 1feef31..4ca92ed 100644 --- a/src/components/Common/CommonJurisdictionNewEvent.js +++ b/src/components/Common/CommonJurisdictionNewEvent.js @@ -638,6 +638,8 @@ export default (ChildComponent) => { } /** 按钮操作事件 */ handleButtonClick = (name, isFresh) => { + const selectUserPermission = commonFunc.showLocalMessage(this.props, 'selectUserPermission', '选择用户权限'); + const selectGroupPerssion = commonFunc.showLocalMessage(this.props, 'selectGroupPerssion', '选择组权限'); if (name.includes('BtnRepairGroup')) { const { sJurisdictionClassifyId } = this.props; if (commonUtils.isNotEmptyArr(sJurisdictionClassifyId)) { @@ -653,7 +655,7 @@ export default (ChildComponent) => { } } } else { - message.error('请选择组权限'); + message.error(selectGroupPerssion); } } else if (name.includes('BtnRepairUser')) { const { userViewSelectedRowKeys } = this.props; @@ -670,7 +672,7 @@ export default (ChildComponent) => { } } } else { - message.error('请选择用户权限'); + message.error(selectUserPermission); } } else if (name === 'BtnOut') { this.handleOut();