diff --git a/pc4mobx/hrmSalary/pages/payroll/templateBaseSettings.js b/pc4mobx/hrmSalary/pages/payroll/templateBaseSettings.js index 059b9aa3..ec910237 100644 --- a/pc4mobx/hrmSalary/pages/payroll/templateBaseSettings.js +++ b/pc4mobx/hrmSalary/pages/payroll/templateBaseSettings.js @@ -40,7 +40,7 @@ class TemplateBaseSettings extends Component { mobileFeedbackUrl: "" }, salaryBillViewingLimitSetting: { - limitMonth: 0 + limitMonth: 0, burningAfterReadingMin: null } }; } @@ -106,7 +106,7 @@ class TemplateBaseSettings extends Component { render() { const { watermarkStatus, watermark, watermarkSet, ackFeedbackSetting, salaryBillViewingLimitSetting } = this.state; const { ackStatus, feedbackStatus, autoAckDays, feedBackUrl, mobileFeedbackUrl } = ackFeedbackSetting; - const { limitMonth } = salaryBillViewingLimitSetting; + const { limitMonth, burningAfterReadingMin } = salaryBillViewingLimitSetting; return ( @@ -216,6 +216,20 @@ class TemplateBaseSettings extends Component { style={{ marginLeft: 10 }} placement="top"/> +
+ {getLabel(111, "首次查看")} + this.setState({ + salaryBillViewingLimitSetting: { + ...salaryBillViewingLimitSetting, burningAfterReadingMin + } + })}/> + {getLabel(111, "分钟后无法查看工资单")} + +
); diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/salaryFiles.js b/pc4mobx/hrmSalary/pages/payrollFiles/salaryFiles.js index b8144de4..596b79c1 100644 --- a/pc4mobx/hrmSalary/pages/payrollFiles/salaryFiles.js +++ b/pc4mobx/hrmSalary/pages/payrollFiles/salaryFiles.js @@ -231,7 +231,7 @@ class SalaryFiles extends Component { message.warning(getLabel(543345, "请选择需要导出的数据!")); return; } - payload = { ids: selectedRowKeys.join(",") }; + payload = { ids: selectedRowKeys.join(","), runStatusList }; } window.open(`${url}?${convertToUrlString(payload)}`, "_blank"); };