feature/2.10.1.2401.01-页面操作日志添加

This commit is contained in:
黎永顺 2024-02-19 09:03:40 +08:00
parent 3c57000afc
commit 4b95f6811f
4 changed files with 6 additions and 7 deletions

View File

@ -66,7 +66,7 @@ class Index extends Component {
_.map(dataSource, item => (!_.isEmpty(item.valueschanges) ? <WeaTransferList
data={item.valueschanges} renderItem={(it) => (<div className="detailBox">
<div className="order">{it.id}</div>
<div className="content">{it.name}</div>
<div className="content" title={it.name}>{it.name}</div>
</div>)}
height={scrollHeight} checkedCb={() => ({})} checkedKeys={[]}
/> : <div className="empty">{getLabel(111, "")}</div>))

View File

@ -71,10 +71,8 @@
position: relative;
flex: 1;
min-height: 40px;
line-height: 40px;
color: #000;
display: flex;
align-items: center;
justify-content: flex-start;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

View File

@ -1,7 +1,7 @@
.ledgerOuter {
.wea-new-top {
.ant-col-10 {
span:nth-child(2) {
& > span:nth-child(2) {
margin-top: -6px;
}
}

View File

@ -9,9 +9,9 @@ import { WeaLocaleProvider, WeaReqTop } from "ecCom";
import Payroll from "./components/payrollTable";
import SalaryAdjustmentRecords from "./components/SalaryAdjustmentRecords";
import { MonthRangePicker } from "../reportView/components/statisticalMicroSettingsSlide";
import LogDialog from "../../components/logViewModal";
import moment from "moment";
import "./index.less";
import LogDialog from "../../components/logViewModal";
const getLabel = WeaLocaleProvider.getLabel;
@ -65,6 +65,7 @@ class Index extends Component {
onChange={v => this.setState({ salaryYearMonth: v })}/>
</div>
];
const logFunction = selectedKey === "1" ? "mysalarybill" : "myadjustrecord";
return (
<WeaReqTop
title={getLabel(537998, "我的薪资福利")} icon={<i className="icon-coms-fa"/>}
@ -81,7 +82,7 @@ class Index extends Component {
>
{this.renderContent()}
{/*操作日志*/}
<LogDialog visible={logDialogVisible} logFunction="salaryitem"
<LogDialog visible={logDialogVisible} logFunction={logFunction}
onCancel={() => this.setState({ logDialogVisible: false })}/>
</WeaReqTop>
);