release/2.19.1.2503.01-业务线个税
This commit is contained in:
parent
904964ada8
commit
6a81dd9c76
|
|
@ -20,6 +20,7 @@ export const PAGE = {
|
||||||
"siScheme": ["/socialSecurityBenefits/programme"], //社保福利方案
|
"siScheme": ["/socialSecurityBenefits/programme"], //社保福利方案
|
||||||
"report": ["/hrmSalary/analysisOfSalaryStatistics", "/hrmSalary/reportView"], //报表
|
"report": ["/hrmSalary/analysisOfSalaryStatistics", "/hrmSalary/reportView"], //报表
|
||||||
"dataPush": ["/hrmSalary/datapush"], //数据推送
|
"dataPush": ["/hrmSalary/datapush"], //数据推送
|
||||||
"adjustRecord": ["/hrmSalary/adjustSalaryManage"] //调薪管理
|
"adjustRecord": ["/hrmSalary/adjustSalaryManage"], //调薪管理
|
||||||
|
"employeeDeclare": ["/hrmSalary/employeedeclare"] //个税-人员信息报送给
|
||||||
};
|
};
|
||||||
export const EXCLUDE_PAGE = ["mobilepayroll"];
|
export const EXCLUDE_PAGE = ["mobilepayroll"];
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ class TaxAgent extends Component {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.getTaxAgentBaseForm();
|
this.getTaxAgentBaseForm();
|
||||||
this.getPermission();
|
|
||||||
this.apiflowBillingConfigStatus();
|
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 = () => {
|
apiflowBillingConfigStatus = () => {
|
||||||
const { taxAgentSlideProps } = this.state;
|
const { taxAgentSlideProps } = this.state;
|
||||||
apiflowBillingConfigStatus().then(({ status, data }) => {
|
apiflowBillingConfigStatus().then(({ status, data }) => {
|
||||||
|
|
@ -79,7 +70,6 @@ class TaxAgent extends Component {
|
||||||
if (status) {
|
if (status) {
|
||||||
message.success(`${devolutionStatus === "0" ? "停用" : "启用"}分权成功`);
|
message.success(`${devolutionStatus === "0" ? "停用" : "启用"}分权成功`);
|
||||||
this.getTaxAgentBaseForm();
|
this.getTaxAgentBaseForm();
|
||||||
this.getPermission();
|
|
||||||
this.taxAgentTableRef.getTaxAgentList();
|
this.taxAgentTableRef.getTaxAgentList();
|
||||||
setSalarytaxAgentForm();
|
setSalarytaxAgentForm();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue