release/2.15.2.2409.01
This commit is contained in:
parent
bd93223774
commit
215094dac8
|
|
@ -44,7 +44,7 @@ export const getVariableSalaryDetail = params => {
|
|||
};
|
||||
// 获取当前管理员下的所有的个税扣缴义务人
|
||||
export const getAdminTaxAgentList = () => {
|
||||
return WeaTools.callApi("/api/bs/hrmsalary/siaccount/getAdminTaxAgentList", "get", {});
|
||||
return WeaTools.callApi("/api/bs/hrmsalary/taxAgent/selectList", "GET", { isShare: false });
|
||||
};
|
||||
// 浮动薪酬档案导出
|
||||
export const exportVariableSalary = (params) => {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class Index extends Component {
|
|||
componentDidMount() {
|
||||
API.getAdminTaxAgentList().then(({ status, data }) => {
|
||||
if (status) {
|
||||
const taxAgentOption = _.map(data, (o, i) => ({ key: String(o.id), showname: o.name }));
|
||||
const taxAgentOption = _.map(data, (o, i) => ({ key: o.id, showname: o.content }));
|
||||
this.setState({
|
||||
taxAgentOption, taxAgentIds: _.map(taxAgentOption, o => o.key).join(","),
|
||||
SIDialog: { ...this.state.SIDialog, taxAgentOption },
|
||||
|
|
|
|||
Loading…
Reference in New Issue