From fd6fb3bd9dfd1957130062f9ac8a2311e0137407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 21 May 2024 15:11:52 +0800 Subject: [PATCH] hotfix/2.14.2.2405.02 --- .../pages/calculate/calcOc/components/salaryCalcOcImport.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/calculate/calcOc/components/salaryCalcOcImport.js b/pc4mobx/hrmSalary/pages/calculate/calcOc/components/salaryCalcOcImport.js index 11a784ca..95de0805 100644 --- a/pc4mobx/hrmSalary/pages/calculate/calcOc/components/salaryCalcOcImport.js +++ b/pc4mobx/hrmSalary/pages/calculate/calcOc/components/salaryCalcOcImport.js @@ -16,8 +16,7 @@ class SalaryCalcOcImport extends Component { super(props); this.state = { importDialog: { - visible: false, title: "", nextloading: false, importResult: {}, imageId: "", - link: "/api/bs/hrmsalary/salaryacct/comparisonresult/importtemplate/export?salaryAcctRecordId=", + visible: false, title: "", nextloading: false, importResult: {}, imageId: "", link: "", previewUrl: "/api/bs/hrmsalary/salaryacct/comparisonresult/preview", extraPreview: { salaryAcctRecordId: "" } } @@ -30,7 +29,7 @@ class SalaryCalcOcImport extends Component { this.setState({ importDialog: { ...this.state.importDialog, - link: `${importDialog.link}${nextProps.salaryAcctRecordId}`, + link: `/api/bs/hrmsalary/salaryacct/comparisonresult/importtemplate/export?salaryAcctRecordId=${nextProps.salaryAcctRecordId}`, visible: nextProps.visible, importResult: {}, title: nextProps.title, imageId: "", extraPreview: { salaryAcctRecordId: nextProps.salaryAcctRecordId }