feature/2.10.1.2401.01-工资单配置反馈开关

This commit is contained in:
黎永顺 2024-02-19 11:11:58 +08:00
parent 817f9767fc
commit d6ec6c71e8
1 changed files with 6 additions and 5 deletions

View File

@ -298,16 +298,17 @@ class Index extends Component {
if (it.title === getLabel(544092, "工资单确认反馈设置")) {
return {
...it, items: _.map(it.items, o => {
if (getKey(o) === "autoAckDays") {
if (getKey(o) === "autoAckDays" && key === "ackFeedbackStatus") {
return {
...o, hide: key === "ackFeedbackStatus" && params["ackFeedbackStatus"].value === "0"
...o, hide: params["ackFeedbackStatus"].value === "0"
};
} else if (getKey(o) === "feedbackUrl" || getKey(o) === "mobileFeedbackUrl") {
} else if (key === "feedbackStatus" && (getKey(o) === "feedbackUrl" || getKey(o) === "mobileFeedbackUrl")) {
return {
...o, hide: key === "feedbackStatus" && params["feedbackStatus"].value === "0"
...o, hide: params["feedbackStatus"].value === "0"
};
} else {
return { ...o };
}
return { ...o };
})
};
}