From 925bc0f75abbb4b89a99471812bb7f9ada93abce Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Tue, 1 Apr 2025 15:05:39 +0800 Subject: [PATCH 1/2] release/2.19.1.2501.01 --- .../components/salaryFileImportDialog/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js b/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js index 415f7e33..c248b0b3 100644 --- a/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js +++ b/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js @@ -30,6 +30,7 @@ class Index extends Component { componentWillReceiveProps(nextProps, nextContext) { const { importDialog } = this.state; if (nextProps.visible !== this.props.visible && nextProps.visible) { + console.log("importDialog", importDialog); const { baseTableStore: { VSalryForm, VExtraSalryForm } } = nextProps; const payload = { ...VSalryForm.getFormParams(), ...VExtraSalryForm.getFormParams(), hasData: importDialog.hasData @@ -96,7 +97,9 @@ class Index extends Component { this.setState({ - importDialog: { ...importDialog, importResult: {}, imageId: "", link: null } + importDialog: { + ...importDialog, importResult: {}, imageId: "", link: "/api/bs/hrmsalary/variableSalary/downloadTemplate" + } })} importParams={this.renderFormComponent()} exportDataDom={ From 3b2a987778766b917ef2041e947f34cc9fa65b87 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Tue, 1 Apr 2025 15:05:59 +0800 Subject: [PATCH 2/2] release/2.19.1.2501.01 --- .../variableSalary/components/salaryFileImportDialog/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js b/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js index c248b0b3..dfc036bf 100644 --- a/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js +++ b/pc4mobx/hrmSalary/pages/variableSalary/components/salaryFileImportDialog/index.js @@ -30,7 +30,6 @@ class Index extends Component { componentWillReceiveProps(nextProps, nextContext) { const { importDialog } = this.state; if (nextProps.visible !== this.props.visible && nextProps.visible) { - console.log("importDialog", importDialog); const { baseTableStore: { VSalryForm, VExtraSalryForm } } = nextProps; const payload = { ...VSalryForm.getFormParams(), ...VExtraSalryForm.getFormParams(), hasData: importDialog.hasData