release/2.19.1.2501.01
This commit is contained in:
parent
bb3ded5692
commit
925bc0f75a
|
|
@ -30,6 +30,7 @@ class Index extends Component {
|
||||||
componentWillReceiveProps(nextProps, nextContext) {
|
componentWillReceiveProps(nextProps, nextContext) {
|
||||||
const { importDialog } = this.state;
|
const { importDialog } = this.state;
|
||||||
if (nextProps.visible !== this.props.visible && nextProps.visible) {
|
if (nextProps.visible !== this.props.visible && nextProps.visible) {
|
||||||
|
console.log("importDialog", importDialog);
|
||||||
const { baseTableStore: { VSalryForm, VExtraSalryForm } } = nextProps;
|
const { baseTableStore: { VSalryForm, VExtraSalryForm } } = nextProps;
|
||||||
const payload = {
|
const payload = {
|
||||||
...VSalryForm.getFormParams(), ...VExtraSalryForm.getFormParams(), hasData: importDialog.hasData
|
...VSalryForm.getFormParams(), ...VExtraSalryForm.getFormParams(), hasData: importDialog.hasData
|
||||||
|
|
@ -96,7 +97,9 @@ class Index extends Component {
|
||||||
<ImportDialog
|
<ImportDialog
|
||||||
{...this.props} {...importDialog}
|
{...this.props} {...importDialog}
|
||||||
onResetImportResult={() => this.setState({
|
onResetImportResult={() => this.setState({
|
||||||
importDialog: { ...importDialog, importResult: {}, imageId: "", link: null }
|
importDialog: {
|
||||||
|
...importDialog, importResult: {}, imageId: "", link: "/api/bs/hrmsalary/variableSalary/downloadTemplate"
|
||||||
|
}
|
||||||
})}
|
})}
|
||||||
importParams={this.renderFormComponent()}
|
importParams={this.renderFormComponent()}
|
||||||
exportDataDom={
|
exportDataDom={
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue