feature/2.15.1.2407.01-权限

This commit is contained in:
黎永顺 2024-10-08 14:29:24 +08:00
parent f6789a0ea8
commit f55898b8a0
1 changed files with 0 additions and 8 deletions

View File

@ -2,7 +2,6 @@ import React, { Component } from "react";
import { inject, observer } from "mobx-react";
import { Button, message, Modal } from "antd";
import { WeaCheckbox, WeaFormItem, WeaInputSearch, WeaLocaleProvider, WeaSearchGroup, WeaTop } from "ecCom";
import { apiflowBillingConfigStatus } from "../../apis/intelligentCalculateSalarySettings";
import ComHint from "./components/comHint";
import TaxAgentTable from "./components/taxAgentTable";
import TaxAgentSlide from "./components/taxAgentSlide";
@ -35,7 +34,6 @@ class TaxAgent extends Component {
componentDidMount() {
this.getTaxAgentBaseForm();
this.getPermission();
this.apiflowBillingConfigStatus();
}
getTaxAgentBaseForm = () => {
@ -54,12 +52,6 @@ class TaxAgent extends Component {
}
});
};
apiflowBillingConfigStatus = () => {
const { taxAgentSlideProps } = this.state;
apiflowBillingConfigStatus().then(({ status, data }) => {
if (status) this.setState({ taxAgentSlideProps: { ...taxAgentSlideProps, salaryOn: data } });
});
};
/*
* Author: 黎永顺
* Description:开启关闭个税扣缴义务人开关