+
{
- this.setState({selectedKey: v});
+ this.setState({ selectedKey: v });
}}
/>
{selectedKey == 0 && }
@@ -208,7 +203,7 @@ export default class CalculateDetail extends React.Component {
{
- this.setState({progressVisible: false, progress: 0});
+ this.setState({ progressVisible: false, progress: 0 });
}}
progress={this.state.progress}
/>}
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/index.less b/pc4mobx/hrmSalary/pages/calculateDetail/index.less
index 23bc8b44..47af64b7 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/index.less
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/index.less
@@ -1,138 +1,161 @@
.userSure {
- padding: 20px;
- .baseInfo {
- height: 47px;
- line-height: 47px;
- }
- .formWrapper {
- line-height: 40px;
- border-bottom: 1px solid #eee;
+ padding: 20px;
+
+ .baseInfo {
+ height: 47px;
+ line-height: 47px;
+ }
+
+ .formWrapper {
+ line-height: 40px;
+ border-bottom: 1px solid #eee;
+ }
+
+ .operateBarWrapper {
+ border-bottom: 1px solid #eee;
+ line-height: 47px;
+ height: 47px;
+
+ .crumbsWrapper {
+ display: inline-block;
+
+ .crumbItem {
+ margin-right: 10px;
+ cursor: pointer;
+ }
+
+ .crumbItemSelected {
+ color: #2db7f5;
+ }
}
- .operateBarWrapper {
- border-bottom: 1px solid #eee;
- line-height: 47px;
- height: 47px;
- .crumbsWrapper {
- display: inline-block;
- .crumbItem {
- margin-right: 10px;
- cursor: pointer;
- }
- .crumbItemSelected {
- color: #2db7f5;
- }
- }
- .crumbsOperateWrapper {
- float: right;
- display: inline-block;
- .headerIcon {
- display: inline-block;
- .iconItem {
- margin-right: 15px;
- color: #2db7f5;
- cursor: pointer;
- font-size: 16px;
- }
- }
+ .crumbsOperateWrapper {
+ float: right;
+ display: inline-block;
+
+ .headerIcon {
+ display: inline-block;
+
+ .iconItem {
+ margin-right: 15px;
+ color: #2db7f5;
+ cursor: pointer;
+ font-size: 16px;
}
+ }
}
-
+ }
+
}
.salaryDetail {
- padding: 10px 20px;
- overflow-y: scroll;
- .salaryBarWrapper {
- height: 47px;
- line-height: 47px;
- padding-left: 10px;
- padding-right: 10px;
- border-bottom: 1px solid #eee;
- .warningspan {
- float: right;
- color: #2db7f5;
- cursor: pointer;
- }
- }
+ padding: 10px 20px;
+ overflow-y: scroll;
- .tableWrapper {
- margin-top: 10px;
+ .salaryBarWrapper {
+ height: 47px;
+ line-height: 47px;
+ padding-left: 10px;
+ padding-right: 10px;
+ border-bottom: 1px solid #eee;
+
+ .warningspan {
+ float: right;
+ color: #2db7f5;
+ cursor: pointer;
}
+ }
+
+ .tableWrapper {
+ margin-top: 10px;
+ max-height: calc(100vh - 120px);
+ overflow: auto;
+ }
}
.editSalaryDetail {
- padding: 20px;
- .detailItemWrapper {
- .itemTitle {
- height: 40px;
- line-height: 40px;
- font-size: 14px;
- }
- .itemContent {
- margin-top: 10px;
- }
- }
+ padding: 20px;
- .itemRow {
- line-height: 40px;
- }
-}
-
-.placeOnFileDetail {
- padding: 20px;
- height: 100%;
- overflow-y: scroll;
- .tabWrapper {
- height: 47px;
- line-height: 47px;
- }
- .tableWrapper {
- margin-top: 10px;
- }
-}
-
-.fileMergeDetail {
- padding: 20px;
- .detialItemWrapper {
- .titleWrapper {
- height: 47px;
- line-height: 47px;
- .itemTitle {
- font-size: 14px;
- }
- }
- .rightItemWrapper {
- display: inline-block;
- float: right;
- }
+ .detailItemWrapper {
+ .itemTitle {
+ height: 40px;
+ line-height: 40px;
+ font-size: 14px;
}
.itemContent {
- margin-top: 10px;
- .itemRow {
- line-height: 40px;
- }
+ margin-top: 10px;
+ }
+ }
+
+ .itemRow {
+ line-height: 40px;
+ }
+}
+
+.placeOnFileDetail {
+ padding: 20px;
+ height: 100%;
+ overflow-y: scroll;
+
+ .tabWrapper {
+ height: 47px;
+ line-height: 47px;
+ }
+
+ .tableWrapper {
+ margin-top: 10px;
+ }
+}
+
+.fileMergeDetail {
+ padding: 20px;
+
+ .detialItemWrapper {
+ .titleWrapper {
+ height: 47px;
+ line-height: 47px;
+
+ .itemTitle {
+ font-size: 14px;
+ }
}
- .tableWrapper {
- margin-top: 10px;
+ .rightItemWrapper {
+ display: inline-block;
+ float: right;
}
+ }
+
+ .itemContent {
+ margin-top: 10px;
+
+ .itemRow {
+ line-height: 40px;
+ }
+ }
+
+ .tableWrapper {
+ margin-top: 10px;
+ }
}
.compareDetail {
- overflow-y: scroll;
- height: 100%;
- padding: 20px;
- .titleBarWrapper {
- height: 47px;
- line-height: 47px;
- .rightTitle {
- float: right;
- }
+ overflow-y: scroll;
+ height: 100%;
+ padding: 20px;
+
+ .titleBarWrapper {
+ height: 47px;
+ line-height: 47px;
+
+ .rightTitle {
+ float: right;
}
- .tableWrapper {
- margin-top: 10px;
- }
-}
\ No newline at end of file
+ }
+
+ .tableWrapper {
+ margin-top: 10px;
+ }
+}
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
index 6c0c75eb..6506701b 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
@@ -154,7 +154,6 @@ export default class SalaryDetail extends React.Component {
loading={loading}
dataSource={acctResultListDateSource}
columns={this.getColumns()}
- scroll={{x: this.getColumns().length * 150}}
total={acctResultListPageInfo.total}
current={acctResultListPageInfo.pageNum}
pageSize={this.pageInfo.pageSize}
@@ -163,6 +162,7 @@ export default class SalaryDetail extends React.Component {
this.handleDataPageChange(value)
}}
isWeaTable={false}
+ scroll={{ x: 1500 }}
onShowSizeChange={(current, pageSize) => {
this.pageInfo = {current, pageSize}
this.handleShowSizeChange(this.pageInfo)
@@ -193,4 +193,4 @@ export default class SalaryDetail extends React.Component {
)
}
-}
\ No newline at end of file
+}
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js b/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
index 4812ed30..7734a51f 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
@@ -1,11 +1,9 @@
import React from "react";
-import { Row, Col, Icon, Table, Modal, message } from "antd";
-import { WeaHelpfulTip, WeaInputSearch, WeaBrowser, WeaTable } from "ecCom";
+import { Col, Icon, message, Modal, Row } from "antd";
+import { WeaBrowser, WeaHelpfulTip, WeaInputSearch } from "ecCom";
import { inject, observer } from "mobx-react";
-import { dataSource, monthOnMonthColumns, userSureColumns } from "./columns";
import "./index.less";
import { getQueryString } from "../../util/url";
-import CustomTable from "../../components/customTable";
import CustomPaginationTable from "../../components/customPaginationTable";
@inject("calculateStore")
@@ -121,7 +119,8 @@ export default class UserSure extends React.Component {
});
});
},
- onCancel: () => {}
+ onCancel: () => {
+ }
});
}
@@ -182,7 +181,8 @@ export default class UserSure extends React.Component {
});
});
},
- onCancel: () => {}
+ onCancel: () => {
+ }
});
};
@@ -249,6 +249,7 @@ export default class UserSure extends React.Component {
...pageInfo
});
}
+
// 搜索
handleUserListSearch(value) {
const {
@@ -301,23 +302,23 @@ export default class UserSure extends React.Component {
薪资所属月:
+ placement="topLeft"
+ />
{calculateBaseForm.formDTO &&
@@ -403,7 +404,7 @@ export default class UserSure extends React.Component {
customized
onChange={(ids, names, datas) =>
this.handleUserBrowserChange(ids)}>
-
+
{
this.pageInfo = { current, pageSize };
this.handleShowSizeChange(this.pageInfo);
@@ -458,6 +460,7 @@ export default class UserSure extends React.Component {
{this.state.selectedKey == 1 &&
,
- content: "显示列定制",
- onClick: this.showColumn
- }
+ // {
+ // key: "BTN_COLUMN",
+ // icon: ,
+ // content: "显示列定制",
+ // onClick: this.showColumn
+ // }
];
const collectParams = {
// 收藏功能配置
@@ -285,7 +285,7 @@ export default class Ledger extends React.Component {
"关联人员",
"薪资项目",
"调薪计薪规则",
- "校验规则"
+ // "校验规则"
];
const handleStep1Save = () => {
@@ -545,7 +545,7 @@ export default class Ledger extends React.Component {
{ title: "关联人员", key: 1 },
{ title: "薪资项目", key: 2 },
{ title: "调薪计薪规则", key: 3 },
- { title: "校验规则", key: 4 }
+ // { title: "校验规则", key: 4 }
]}
showOperateBtn={showOperateBtn}
editable={canEdit === "true"}