diff --git a/pc4mobx/hrmSalary/components/importDialog/components/impStep1.js b/pc4mobx/hrmSalary/components/importDialog/components/impStep1.js index b2ac42b0..9d52e70f 100644 --- a/pc4mobx/hrmSalary/components/importDialog/components/impStep1.js +++ b/pc4mobx/hrmSalary/components/importDialog/components/impStep1.js @@ -36,6 +36,7 @@ class ImpStep1 extends Component { onChange: this.handleChange, ...this.props.customDragger }; + console.log("this.props.customDragger", this.props.customDragger) return (
{/* 导入选项 */} diff --git a/pc4mobx/hrmSalary/components/importDialog/components/moveInResult.js b/pc4mobx/hrmSalary/components/importDialog/components/moveInResult.js index ab3bc675..6a448ec2 100644 --- a/pc4mobx/hrmSalary/components/importDialog/components/moveInResult.js +++ b/pc4mobx/hrmSalary/components/importDialog/components/moveInResult.js @@ -30,16 +30,18 @@ class MoveInResult extends Component { columns={[ { title: getLabel(111, "导入信息"), dataIndex: "message" }, { - title: getLabel(111, "下载信息"), dataIndex: "download", width: 200, + title: getLabel(111, "下载信息"), dataIndex: "download", width: 225, render: (text, record) => ( - this.downloadTxtfile(record.success.join("\n"), getLabel(111, "成功"))}> + this.downloadTxtfile(record.success.join("\n"), getLabel(111, "成功"))}> {record.success.length} - this.downloadTxtfile(record.warning.join("\n"), getLabel(111, "警告"))}> this.downloadTxtfile(record.warning.join("\n"), getLabel(111, "警告"))}>{record.warning.length} - this.downloadTxtfile(record.error.join("\n"), getLabel(111, "错误"))}>{record.error.length} ) diff --git a/pc4mobx/hrmSalary/pages/appConfig/moveInDialog.js b/pc4mobx/hrmSalary/pages/appConfig/moveInDialog.js index 7707cc6c..afdf3765 100644 --- a/pc4mobx/hrmSalary/pages/appConfig/moveInDialog.js +++ b/pc4mobx/hrmSalary/pages/appConfig/moveInDialog.js @@ -39,7 +39,7 @@ class MoveInDialog extends Component { } handleImport = (payload) => { - const { importDialog } = this.state = this.props; + const { importDialog } = this.state; this.setState({ importDialog: { ...importDialog, nextloading: true } }); API.uploadConfig({ ...payload }).then(({ data, status, errormsg }) => { this.setState({ importDialog: { ...importDialog, nextloading: false } });