- );
- })}
{
referenceType !== "sql" &&
@@ -220,13 +147,3 @@ class ExcelEditor extends Component {
}
export default ExcelEditor;
-
-class Widget extends React.Component {
- render() {
- let { info } = this.props;
- return ReactDOM.createPortal(
- info.render(),
- info.mountToDom
- );
- }
-}
diff --git a/pc4mobx/hrmSalary/pages/equationEditor/index.js b/pc4mobx/hrmSalary/pages/equationEditor/index.js
index e205a1a5..a31d97d1 100644
--- a/pc4mobx/hrmSalary/pages/equationEditor/index.js
+++ b/pc4mobx/hrmSalary/pages/equationEditor/index.js
@@ -1,10 +1,28 @@
import React, { Component } from "react";
+import { Button, Modal } from "antd";
import ExcelEditor from "../../components/excelEditor";
class Index extends Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ title: "DialogTitle",
+ visible: false,
+ lvisible: false
+ };
+ }
+
render() {
return (
-
+
+
+
+ this.setState({ visible: false })}
+ >
+
+
+
);
}
}
diff --git a/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js b/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js
index 20001e4e..719b103b 100644
--- a/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js
+++ b/pc4mobx/hrmSalary/pages/salaryItem/formalFormModal.js
@@ -65,7 +65,7 @@ export default class FormalFormModal extends React.Component {
this.setState({
value: data.formula,
returnType: data.returnType,
- validateType: data.validateType,
+ validateType: data.validateType
});
// salaryAcctImportTemplateParam(groupParams);
});
@@ -428,9 +428,7 @@ export default class FormalFormModal extends React.Component {
}
-
- {/*value={value} groupParams={groupParams}*/}
- {/*onChange={(value) => this.handleChange(value)}*/}
+ this.handleChange(value)}/>
{/**/}
{/* this.contentProps = input}*/}