From cfe1ed777378aa785759475d9d29cab8d41a5cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Fri, 11 Aug 2023 17:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E4=BF=A1=E6=81=AF=E6=8A=A5?= =?UTF-8?q?=E9=80=81-=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BC=80=E5=8F=91=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/employeedeclareDetail/constants.js | 27 +++++++++ .../pages/employeedeclareDetail/index.js | 56 +++++++++++++++++-- .../pages/employeedeclareDetail/index.less | 33 +++++++++++ 3 files changed, 111 insertions(+), 5 deletions(-) create mode 100644 pc4mobx/hrmSalary/pages/employeedeclareDetail/constants.js diff --git a/pc4mobx/hrmSalary/pages/employeedeclareDetail/constants.js b/pc4mobx/hrmSalary/pages/employeedeclareDetail/constants.js new file mode 100644 index 00000000..0d821b12 --- /dev/null +++ b/pc4mobx/hrmSalary/pages/employeedeclareDetail/constants.js @@ -0,0 +1,27 @@ +export const submitStatus = [ + { + key: "ALL", + showname: "全部(报送状态)", + lanId: 332 + }, + { + key: "NOT_DECLARE", + showname: "待报送", + lanId: 111 + }, + { + key: "DECLARING", + showname: "报送中", + lanId: 111 + }, + { + key: "DECLARE_FAIL", + showname: "报送失败", + lanId: 111 + }, + { + key: "DECLARE_SUCCESS", + showname: "报送成功", + lanId: 111 + } +]; diff --git a/pc4mobx/hrmSalary/pages/employeedeclareDetail/index.js b/pc4mobx/hrmSalary/pages/employeedeclareDetail/index.js index 2254859f..a6565b04 100644 --- a/pc4mobx/hrmSalary/pages/employeedeclareDetail/index.js +++ b/pc4mobx/hrmSalary/pages/employeedeclareDetail/index.js @@ -5,8 +5,9 @@ * Date: 2023/8/11 */ import React, { Component } from "react"; -import { WeaLocaleProvider, WeaTop } from "ecCom"; -import { Button, Dropdown } from "antd"; +import { WeaDatePicker, WeaLocaleProvider, WeaSelect, WeaTab, WeaTop } from "ecCom"; +import { submitStatus } from "./constants"; +import { Button, Dropdown, Menu } from "antd"; import { inject, observer } from "mobx-react"; import "./index.less"; @@ -15,26 +16,71 @@ const { getLabel } = WeaLocaleProvider; @inject("taxAgentStore") @observer class Index extends Component { + constructor(props) { + super(props); + this.state = { + selectedKey: "0" + }; + } + componentDidMount() { document.title = getLabel(544289, "人员信息报送"); } render() { + const { selectedKey } = this.state; const { taxAgentStore: { showOperateBtn } } = this.props; + const menu = ( + + {getLabel(32136, "批量删除")} + {getLabel(111, "批量编辑")} + {getLabel(81272, "导出全部")} + {getLabel(543715, "导出所选")} + + ); const buttons = [ , - , - + , + , + , +