薪资项目公式添加测试
This commit is contained in:
parent
ded592b1eb
commit
f013923285
|
|
@ -64,7 +64,7 @@ export default class FormalFormModal extends React.Component {
|
|||
let groupParams = {};
|
||||
if (this.referenceType == "sql") {
|
||||
groupParams = { "referenceType": "sql" };
|
||||
}else{
|
||||
} else {
|
||||
groupParams = this.props.backCalcType === "issuedItems" ? { "referenceType": "backCalc" } : {};
|
||||
}
|
||||
salaryAcctImportTemplateParam(groupParams);
|
||||
|
|
@ -257,9 +257,13 @@ export default class FormalFormModal extends React.Component {
|
|||
const { salaryItemStore } = this.props;
|
||||
const { searchGroup, searchFields } = salaryItemStore;
|
||||
const { value, formulaDatasourceList, extendParam } = this.state;
|
||||
const title = <div className="formulaTitleWrapper">
|
||||
<div>{`${(this.props.valueType == 2 || this.props.valueType === "FORMULA") ? "函数" : "SQL"}公式`}</div>
|
||||
<Button type="primary">测试</Button>
|
||||
</div>;
|
||||
return (
|
||||
<WeaDialog
|
||||
title={`${(this.props.valueType == 2 || this.props.valueType === "FORMULA") ? "函数" : "SQL"}公式`}
|
||||
title={title}
|
||||
visible={this.props.visible}
|
||||
style={{ width: 800 }}
|
||||
buttons={[
|
||||
|
|
|
|||
|
|
@ -19,6 +19,12 @@
|
|||
justify-content: flex-end;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.formulaTitleWrapper{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.dataList-wrapper {
|
||||
|
|
|
|||
Loading…
Reference in New Issue