Merge branch 'feature/2.8.3.2307.02-工资单反馈' into develop

This commit is contained in:
黎永顺 2023-07-17 11:43:39 +08:00
commit 81faf155b7
2 changed files with 4 additions and 2 deletions

View File

@ -126,7 +126,8 @@ export default class MobilePayroll extends React.Component {
};
handleGoFeedback = () => {
const { mySalaryBillData } = this.state;
const { feedbackUrl } = mySalaryBillData;
const { salaryTemplate } = mySalaryBillData;
const { feedbackUrl } = salaryTemplate;
window.open(`${window.ecologyContentPath || ""}${feedbackUrl}`);
};

View File

@ -56,7 +56,8 @@ class MySalaryView extends Component {
};
handleGoFeedback = () => {
const { mySalaryStore } = this.state;
const { feedbackUrl } = mySalaryStore;
const { salaryTemplate } = mySalaryStore;
const { feedbackUrl } = salaryTemplate;
window.open(`${window.ecologyContentPath || ""}${feedbackUrl}`);
};