feature/2.15.1.2407.01-权限

This commit is contained in:
黎永顺 2024-09-12 13:53:47 +08:00
parent 394d7152f4
commit 3c33fc7a3a
1 changed files with 2 additions and 3 deletions

View File

@ -28,9 +28,9 @@ import TableRecord from "../components/tableRecord";
import { dataCollectCondition } from "./columns";
import { removePropertyCondition } from "../../../util/response";
import { convertToUrlString } from "../../../util/url";
import { postFetch } from "../../../util/request";
import Layout from "../layout";
import moment from "moment";
import { postFetch } from "../../../util/request";
const getKey = WeaTools.getKey;
const getLabel = WeaLocaleProvider.getLabel;
@ -106,7 +106,7 @@ class Index extends Component {
*/
getAdvanceCondition = async () => {
const { cumDeductStore: { form } } = this.props;
const { data: authTaxAgent } = postFetch("/api/bs/hrmsalary/taxAgent/listAuth", { filterType: "QUERY_DATA" });
const { data: authTaxAgent } = await postFetch("/api/bs/hrmsalary/taxAgent/listAuth", { filterType: "QUERY_DATA" });
getCumDeductSaCondition().then(({ status, data }) => {
if (status) {
this.setState({
@ -267,7 +267,6 @@ class Index extends Component {
handleAddData = (title = "新建", editId = {}) => {
const { cumDeductStore: { addForm } } = this.props;
const { slidePayload, taxAgentOption } = this.state;
console.log(270,taxAgentOption);
const conditions = _.map(dataCollectCondition, (it, idx) => {
if (idx === 0) {
return {