diff --git a/pc4mobx/hrmSalary/apis/index.js b/pc4mobx/hrmSalary/apis/index.js index eabea534..668d2591 100644 --- a/pc4mobx/hrmSalary/apis/index.js +++ b/pc4mobx/hrmSalary/apis/index.js @@ -35,3 +35,8 @@ export const getDetailChanges = params => { }; return postFetch("/api/bs/hrmsalary/elog/getDetailChanges", payload); }; +//获取薪资账套全列表 +export const getSalarysobListAll = params => { + return postFetch("/api/bs/hrmsalary/salarysob/listAll", params); +}; + diff --git a/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js b/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js index 8065a654..738e1fb6 100644 --- a/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js +++ b/pc4mobx/hrmSalary/pages/reportView/components/statisticalMicroSettingsSlide.js @@ -31,7 +31,7 @@ import { } from "../../../apis/statistics"; import { commonEnumList } from "../../../apis/ruleconfig"; import { getTaxAgentSelectList } from "../../../apis/taxAgent"; -import { getPayrollTemplateLedgerList } from "../../../apis/payroll"; +import { getSalarysobListAll } from "../../../apis"; import { condition } from "./condition"; import cs from "classnames"; import "../index.less"; @@ -70,7 +70,7 @@ class StatisticalMicroSettingsSlide extends Component { } getTaxAgentSelectList = async (props) => { - const { data: salarySobList } = await getPayrollTemplateLedgerList(); + const { data: salarySobList } = await getSalarysobListAll(); getTaxAgentSelectList(true).then(({ status, data }) => { if (status) { const conditions = _.map(condition, item => {