From aaf2914e2002d003364cc35cb619d00d2401c5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 20 Aug 2024 11:25:09 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.15.1.2407.01-=E8=96=AA=E8=B5=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BB=A5=E5=8F=8A=E5=AD=97=E6=AE=B5=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/salaryItem/customSalaryItemSlide.js | 25 ++++++++++++++++--- pc4mobx/hrmSalary/pages/salaryItem/index.less | 3 +++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/salaryItem/customSalaryItemSlide.js b/pc4mobx/hrmSalary/pages/salaryItem/customSalaryItemSlide.js index 0abbad77..9baa49f9 100644 --- a/pc4mobx/hrmSalary/pages/salaryItem/customSalaryItemSlide.js +++ b/pc4mobx/hrmSalary/pages/salaryItem/customSalaryItemSlide.js @@ -2,11 +2,15 @@ import React from "react"; import { WeaLocaleProvider, WeaSlideModal } from "ecCom"; // import FormalFormModal from "./formalFormModal"; // import SalaryItemForm from "./salaryItemForm"; + const getLabel = WeaLocaleProvider.getLabel; + export default class CustomSalaryItemSlide extends React.Component { constructor(props) { super(props); this.state = { + loading: false, + showForm: false, formalModalVisible: false, salaryItemName: "" @@ -33,15 +37,30 @@ export default class CustomSalaryItemSlide extends React.Component { }); }; + renderTitle = () => { + const { loading } = this.state, { title, buttons } = this.props; + return