Merge branch 'hotfix/2.10.1.2402.01' into feature/2.10.1.2401.01-页面操作日志添加

This commit is contained in:
黎永顺 2024-02-27 11:34:28 +08:00
commit 86c5e50bb0
2 changed files with 11 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class WelfareRecordList extends Component {
const i18n = {
"共": getLabel(18609, "共"), "条": getLabel(18256, "条"),
"总计": getLabel(523, "总计"), "已归档": getLabel(18800, "已归档"),
"未归档": getLabel(17999, "归档"), "操作": getLabel(30585, "操作"),
"未归档": getLabel(17999, "归档"), "操作": getLabel(30585, "操作"),
"核算": getLabel(538780, "核算"), "归档": getLabel(251, "归档"),
"查看": getLabel(33564, "查看"), "重新核算": getLabel(542637, "重新核算"),
"删除": getLabel(535052, "删除"), "操作日志": getLabel(545781, "操作日志")

View File

@ -203,6 +203,16 @@ class Index extends Component {
this.getList(this.props);
} else {
message.error(errormsg || "操作失败");
this.setState({
dataSource: _.map(this.state.dataSource, item => {
if (item.id === id) {
return {
...item, isUse: item.isUse
};
}
return { ...item };
})
});
}
});
},