From ad13e078e47f94644a376a01b0eed1fe4a46e021 Mon Sep 17 00:00:00 2001 From: liyongshun <971387674@qq.com> Date: Tue, 16 Aug 2022 10:10:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E9=80=89=E6=8B=A9=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=A0=91=E5=BD=A2=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/salaryFile/index.js | 10 +++ .../archives/baseForm.js | 86 +++++++++++-------- .../archives/socialSecurityForm.js | 9 +- .../pages/taxAgent/addTaxAgentModal.js | 10 +++ 4 files changed, 77 insertions(+), 38 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/salaryFile/index.js b/pc4mobx/hrmSalary/pages/salaryFile/index.js index 0149cac8..7a58edca 100644 --- a/pc4mobx/hrmSalary/pages/salaryFile/index.js +++ b/pc4mobx/hrmSalary/pages/salaryFile/index.js @@ -89,8 +89,18 @@ export default class SalaryFile extends React.Component { isSingle={false} value={key === "departmentIds" ? departmentIds : positionIds} tabs={key === "departmentIds" ? [ + { + dataParams: null, + dataURL: null, + isSearch: false, + key: "2", + name: "组织结构", + selected: false, + showOrder: 0 + }, { dataParams: { list: "1" }, + dataURL: null, isSearch: true, key: "1", name: "按列表", diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/baseForm.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/baseForm.js index 317fb2b4..b64b3d87 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/baseForm.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/baseForm.js @@ -1,42 +1,58 @@ -import React from 'react' -import GroupCard from '../../../components/groupCard' -import { Row, Col } from 'antd' -import { inject, observer } from 'mobx-react'; -import "./index.less" +import React from "react"; +import GroupCard from "../../../components/groupCard"; +import { Col, Row, Tooltip } from "antd"; +import { inject, observer } from "mobx-react"; +import "./index.less"; -@inject('archivesStore') +@inject("archivesStore") @observer export default class BaseForm extends React.Component { - componentWillMount() { - const {archivesStore: {getBaseForm}} = this.props; - getBaseForm(this.props.employeeId) - } + componentWillMount() { + const { archivesStore: { getBaseForm } } = this.props; + getBaseForm(this.props.employeeId); + } - render() { - const { archivesStore: {baseFormData}} = this.props; - return ( -