diff --git a/pc4mobx/hrmSalary/config.js b/pc4mobx/hrmSalary/config.js index d040ac73..7a088127 100644 --- a/pc4mobx/hrmSalary/config.js +++ b/pc4mobx/hrmSalary/config.js @@ -20,6 +20,7 @@ export const PAGE = { "siScheme": ["/socialSecurityBenefits/programme"], //社保福利方案 "report": ["/hrmSalary/analysisOfSalaryStatistics", "/hrmSalary/reportView"], //报表 "dataPush": ["/hrmSalary/datapush"], //数据推送 - "adjustRecord": ["/hrmSalary/adjustSalaryManage"] //调薪管理 + "adjustRecord": ["/hrmSalary/adjustSalaryManage"], //调薪管理 + "employeeDeclare": ["/hrmSalary/employeedeclare"] //个税-人员信息报送给 }; export const EXCLUDE_PAGE = ["mobilepayroll"]; diff --git a/pc4mobx/hrmSalary/pages/salary/taxAgent.js b/pc4mobx/hrmSalary/pages/salary/taxAgent.js index 48bfab85..3ba02fe9 100644 --- a/pc4mobx/hrmSalary/pages/salary/taxAgent.js +++ b/pc4mobx/hrmSalary/pages/salary/taxAgent.js @@ -34,7 +34,6 @@ class TaxAgent extends Component { componentDidMount() { this.getTaxAgentBaseForm(); - this.getPermission(); this.apiflowBillingConfigStatus(); } @@ -46,14 +45,6 @@ class TaxAgent extends Component { } }); }; - getPermission = () => { - const { taxAgentStore: { getPermission } } = this.props; - getPermission().then(({ status, data }) => { - if (status) { - this.setState({ permission: data }); - } - }); - }; apiflowBillingConfigStatus = () => { const { taxAgentSlideProps } = this.state; apiflowBillingConfigStatus().then(({ status, data }) => { @@ -79,7 +70,6 @@ class TaxAgent extends Component { if (status) { message.success(`${devolutionStatus === "0" ? "停用" : "启用"}分权成功`); this.getTaxAgentBaseForm(); - this.getPermission(); this.taxAgentTableRef.getTaxAgentList(); setSalarytaxAgentForm(); } else {