diff --git a/pc4mobx/hrmSalary/pages/salaryItem/index.js b/pc4mobx/hrmSalary/pages/salaryItem/index.js index 8f61de7b..c6729999 100644 --- a/pc4mobx/hrmSalary/pages/salaryItem/index.js +++ b/pc4mobx/hrmSalary/pages/salaryItem/index.js @@ -239,7 +239,6 @@ export default class SalaryItem extends React.Component { {getLabel(111, "新增系统薪资项")} ); - let buttons = [ handleMenuClick({ key: "1" })}>{getLabel(111, "新增自定义薪资项")}, @@ -313,49 +312,16 @@ export default class SalaryItem extends React.Component { const { salaryItemStore: { setRequest } } = this.props; setRequest(value); }; - const rowSelection = { - selectedRowKeys, - onChange: (selectedRowKeys) => this.setState({ selectedRowKeys }), - getCheckboxProps: record => ({ - disabled: !record.canDelete // Column configuration not to be checked - }) - }; !(showOperateBtn || showSalaryItemBtn) && (buttons = buttons.slice(-1)); return ( } iconBgcolor="#F14A2D" buttons={buttons} showDropIcon onDropMenuClick={this.onDropMenuClick} dropMenuDatas={dropMenuDatas} className="salaryProjectManagement"> -
this.setState({ selectedRowKeys: val })}/> - {/**/} - {/* record.id}*/} - {/* loading={loading}*/} - {/* rowSelection={rowSelection}*/} - {/* dataSource={tableDataSource}*/} - {/* columns={this.getColumns(tableColumns)}*/} - {/* total={this.state.searchParams.total}*/} - {/* current={this.state.searchParams.current}*/} - {/* pageSize={this.state.searchParams.pageSize}*/} - {/* onPageChange={(value) => {*/} - {/* this.handlePageChange(value);*/} - {/* }}*/} - {/* onShowSizeChange={(current, pageSize) => {*/} - {/* this.setState({*/} - {/* searchParams: {*/} - {/* ...this.state.searchParams,*/} - {/* current,*/} - {/* pageSize*/} - {/* }*/} - {/* }, () => {*/} - {/* this.handleShowSizeChange({ name: this.state.searchValue, ...this.state.searchParams });*/} - {/* });*/} - {/* }}*/} - {/* />*/} - {/**/} +
+ this.setState({ selectedRowKeys: val })}/>