diff --git a/pc4mobx/hrmSalary/apis/archive.js b/pc4mobx/hrmSalary/apis/archive.js index a8a0516b..6faaad01 100644 --- a/pc4mobx/hrmSalary/apis/archive.js +++ b/pc4mobx/hrmSalary/apis/archive.js @@ -1,9 +1,14 @@ import { WeaTools } from "ecCom"; +import { postFetch } from "../util/request"; //薪资档案-薪资档案列表 export const getArchiveList = params => { return postFetch("/api/bs/hrmsalary/salaryArchive/list", params); }; +//薪资档案的高级搜索 +export const getSaCondition = params => { + return WeaTools.callApi("/api/bs/hrmsalary/archives/getSearchCondition", "get", params); +}; //薪资档案-获取薪资档案详情表单 export const getArchiveForm = params => { return WeaTools.callApi("/api/bs/hrmsalary/salaryArchive/getForm", "get", params); diff --git a/pc4mobx/hrmSalary/components/pcTemplate/content.js b/pc4mobx/hrmSalary/components/pcTemplate/content.js index a294e2df..398c0132 100644 --- a/pc4mobx/hrmSalary/components/pcTemplate/content.js +++ b/pc4mobx/hrmSalary/components/pcTemplate/content.js @@ -1,9 +1,11 @@ import React, { Component } from "react"; -import { WeaLocaleProvider } from "ecCom"; +import { WeaInputLocale, WeaLocaleProvider } from "ecCom"; import moment from "moment"; import { dealTemplate } from "./index"; const getLabel = WeaLocaleProvider.getLabel; +const getMultiStrFromBase64 = WeaInputLocale.getMultiStrFromBase64; +const getCurrentLabel = WeaInputLocale.getCurrentLabel; class Content extends Component { render() { @@ -34,12 +36,13 @@ class Content extends Component { return (