salary-management-front/pc4mobx/hrmSalary/pages/employeedeclareDetail/index.js

44 lines
1.2 KiB
JavaScript
Raw Normal View History

/*
* Author: 黎永顺
* name: 人员信息报送-查看详情
* Description:
* Date: 2023/8/11
*/
import React, { Component } from "react";
import { WeaLocaleProvider, WeaTop } from "ecCom";
import { Button, Dropdown } from "antd";
import { inject, observer } from "mobx-react";
import "./index.less";
const { getLabel } = WeaLocaleProvider;
@inject("taxAgentStore")
@observer
class Index extends Component {
componentDidMount() {
document.title = getLabel(544289, "人员信息报送");
}
render() {
const { taxAgentStore: { showOperateBtn } } = this.props;
const buttons = [
<Button type="primary">{getLabel(111, "全部报送")}</Button>,
<Button type="primary">{getLabel(111, "全部报送")}</Button>,
<Dropdown overlay={[]}>
<Button type="ghost" icon="ellipsis" className="moreBtn"/>
</Dropdown>
];
return (
<WeaTop
title={getLabel(544289, "人员信息报送")} iconBgcolor="#F14A2D"
icon={<i className="icon-coms-fa"/>} className="declareWrapper"
buttons={showOperateBtn ? buttons : []}
>
<div style={{ height: "100%", background: "#f6f6f6", padding: 16 }}></div>
</WeaTop>
);
}
}
export default Index;