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