diff --git a/pc4mobx/hrmSalary/components/pcTemplate/index.less b/pc4mobx/hrmSalary/components/pcTemplate/index.less index 6ea7eaa5..59a1b043 100644 --- a/pc4mobx/hrmSalary/components/pcTemplate/index.less +++ b/pc4mobx/hrmSalary/components/pcTemplate/index.less @@ -110,22 +110,26 @@ flex-wrap: wrap; padding: 0 30px; - .even { - border-left: 1px solid #e5e5e5; - } + //.even { + // border-left: 1px solid #e5e5e5; + //} - .zero, .first { + //.zero, .first { + // border-top: 1px solid #e5e5e5; + //} + .zero { border-top: 1px solid #e5e5e5; } .list-item { - width: 50%; + width: 100%; display: flex; justify-content: left; min-height: 40px; align-items: center; border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; + border-left: 1px solid #e5e5e5; .item-name { //flex-basis: 170px; @@ -178,4 +182,4 @@ margin-right: 30px; } } -} +} \ No newline at end of file diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js index 1775ee97..7f28db48 100644 --- a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js +++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/components/salaryDetails.js @@ -164,7 +164,7 @@ class SalaryDetails extends Component { const columns = _.filter(tempCols, o => o.column !== "acctTimes"); if (!_.isEmpty(columns)) { this.postMessageToChild({ - dataSource, pageInfo, selectedRowKeys, showTotalCell, calcDetail: true, tableScrollHeight: 154, sumRow, + dataSource, pageInfo, selectedRowKeys, showTotalCell, calcDetail: true, tableScrollHeight: 210, sumRow, columns: _.map(columns, (it, idx) => ({ dataIndex: it.column || it.dataIndex, title: it.text || it.title, calcDetail: true, showSee: false, width: (it.dataIndex === "taxAgent" || it.dataIndex === "salarySob") ? 176 : (it.width || it.oldWidth), @@ -332,4 +332,4 @@ export const converCheckedCol = (data) => { if (!_.isEmpty(item)) return [...pre, { ...item, id: item.id || item.column, name: item.name || item.text }]; return pre; }, []); -}; +}; \ No newline at end of file diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/advanceInputBtn/index.less b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/advanceInputBtn/index.less index 584a47a2..683007e9 100644 --- a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/advanceInputBtn/index.less +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/advanceInputBtn/index.less @@ -5,7 +5,7 @@ top: -2.5px; .wea-advanced-search { - top: 1px!important; + top: 2px!important; left: -1px; height: 28px; line-height: 1; @@ -25,4 +25,4 @@ white-space: nowrap; text-overflow: ellipsis; } -} +} \ No newline at end of file diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryApproval/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryApproval/index.js index d2eb9fc0..59e90481 100644 --- a/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryApproval/index.js +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/components/salaryApproval/index.js @@ -21,8 +21,8 @@ class Index extends Component { constructor(props) { super(props); this.state = { - showSearchAd: false, showTotalCell: false, pageInfo: { current: 1, pageSize: 10, total: 0 }, - loading: false, sumRow: {} + showSearchAd: false, showTotalCell: false, loading: false, sumRow: {}, + pageInfo: { current: 1, pageSize: 200, total: 0, pageSizeOptions: ["200"] } }; } @@ -68,10 +68,10 @@ class Index extends Component { this.setState({ loading: false }); if (status && !_.isEmpty(data)) { const { columns, pageInfo: { pageNum: current, pageSize, total, list: dataSource } } = data; - this.setState({ pageInfo: { current, pageSize, total } }, () => { + this.setState({ pageInfo: { ...pageInfo, current, pageSize, total } }, () => { const { pageInfo, sumRow } = this.state; this.postMessageToChild({ - dataSource, pageInfo, showTotalCell: true, sumRowlistUrl: "", calcDetail: true, tableScrollHeight: 179, + dataSource, pageInfo, showTotalCell: true, sumRowlistUrl: "", calcDetail: true, tableScrollHeight: 210, sumRow, columns: _.every(traverse(columns, true), (it, idx) => !it.fixed) ? _.map(traverse(columns, true), (it, idx) => ({ ...it, fixed: idx < 2 ? "left" : false @@ -79,8 +79,8 @@ class Index extends Component { }); }); !isPageChange && this.getAcctresultListSum({ - dataSource, pageInfo: { current, pageSize, total }, showTotalCell: true, sumRowlistUrl: "", - calcDetail: true, tableScrollHeight: 179, + dataSource, pageInfo: { ...pageInfo, current, pageSize, total }, showTotalCell: true, sumRowlistUrl: "", + calcDetail: true, tableScrollHeight: 210, columns: _.every(traverse(columns, true), (it, idx) => !it.fixed) ? _.map(traverse(columns, true), (it, idx) => ({ ...it, fixed: idx < 2 ? "left" : false })) : traverse(columns, true) @@ -133,7 +133,7 @@ class Index extends Component { onToggleSwitch={this.openAdvanceSearch} onAdSearch={this.onAdSearch}/> -
+