Merge branch 'release/2.10.1.2401.01' into feature/2.10.1.2401.01-工资单查看与调薪记录分开展示

This commit is contained in:
黎永顺 2024-01-25 17:13:35 +08:00
commit 876629e413
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ class ImpStep3 extends Component {
</div>
}
{
!_.isEmpty(importResult.errorData) &&
(!_.isEmpty(importResult.errorNotice) || !_.isEmpty(importResult.errorData)) &&
<WeaTable
columns={[
{
@ -39,7 +39,7 @@ class ImpStep3 extends Component {
dataIndex: "message"
}
]}
dataSource={importResult.errorData} pagination={false}
dataSource={importResult.errorData || importResult.errorNotice} pagination={false}
scroll={{ y: `calc(100vh - 387px)` }}
/>
}

View File

@ -152,7 +152,7 @@ class Index extends Component {
}}>{getLabel(543310, "发起调薪")}</Button>
}
{
runStatuses === "fixed" && showOperateBtn &&
(runStatuses === "fixed" || runStatuses === "ext") && showOperateBtn &&
<Button type="ghost" onClick={() => {
this.setState({
adjLogRecordDialog: {

View File

@ -83,7 +83,7 @@ export default class SalaryItemChangeList extends React.Component {
}
return { ...o, width, render: text => (<span title={text}>{text}</span>) };
});
if (showOperateBtn && selectedKey === "fixed") {
if (showOperateBtn && (selectedKey === "fixed" || selectedKey === "ext")) {
columns = [...columns, {
dataIndex: "operate", fixed: "right", width: 120, title: "操作",
render: (text, record) => {