From 1f332adcff080a69cde63fc51c65cb342e3732f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Thu, 14 Dec 2023 16:45:09 +0800 Subject: [PATCH] =?UTF-8?q?feature/V2-dev=E5=90=88=E5=B9=B6=E5=A4=9A?= =?UTF-8?q?=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/apis/archive.js | 5 +++++ pc4mobx/hrmSalary/components/pcTemplate/content.js | 11 +++++++---- pc4mobx/hrmSalary/components/pcTemplate/index.js | 5 +---- pc4mobx/hrmSalary/pages/mobilePayroll/index.js | 2 +- .../components/payrollTempBaseSet/smsSettingDialog.js | 11 ++++++++--- 5 files changed, 22 insertions(+), 12 deletions(-) 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 (