diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js index a08140a7..a7b1a74f 100644 --- a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js +++ b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js @@ -80,12 +80,14 @@ export default class SalaryDetail extends React.Component { if(result.dataIndex === "taxAgentName" || result.dataIndex === "username" || result.dataIndex === "departmentName") { result.fixed = "left" } + return result; }) columns.push({ title: '操作', key: "cz", width: '100px', + fixed: 'right', render: (text, record) => { return {this.handleEdit(record)}}>编辑 } diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js index 85f8819a..4bb32205 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js @@ -243,12 +243,6 @@ export default class Attendance extends React.Component { } const rightMenu = [// 右键菜单 - { - key: 'BTN_COLUMN', - icon: , - content: '显示列定制', - onClick: this.showColumn - }, { key: 'BTN_DEL', icon: , diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/itemMangeFormModal.js b/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/itemMangeFormModal.js index a889b67b..ca3209ad 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/itemMangeFormModal.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/itemMangeFormModal.js @@ -31,6 +31,17 @@ export default class ItemMangeFormModal extends React.Component { this.setState({request: result}) } + convertFieldType(fileTypeStr) { + if(fileTypeStr == "数值") { + return "1" + } else if(fileTypeStr == "文本"){ + return "2" + } else if(fileTypeStr == "1" || fileTypeStr == "2") { + return fileTypeStr; + } + return "" + } + render() { const options = [ { @@ -46,6 +57,7 @@ export default class ItemMangeFormModal extends React.Component { ] const { request } = this.state; const {fieldName, fieldType, enableStatus, description} = request + let fileTypeKey = convertFieldType(fieldType) const { attendanceStore : {currentItemOperate}} = this.props; return ( - this.handleChange({fieldType: v})} /> diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/cumSituation/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/cumSituation/index.js index a910fd64..6e048dd1 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/cumSituation/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/cumSituation/index.js @@ -352,9 +352,9 @@ export default class CumSituation extends React.Component { const handleButtonClick = () => { const { - cumSituationStore: { exportCumDeductList }, + cumSituationStore: { exportCumSituationList }, } = this.props; - exportCumDeductList(); + exportCumSituationList(); }; const handleMenuClick = () => { diff --git a/pc4mobx/hrmSalary/pages/ledger/slideRefereUser.js b/pc4mobx/hrmSalary/pages/ledger/slideRefereUser.js index 6d8e660c..0f07ed77 100644 --- a/pc4mobx/hrmSalary/pages/ledger/slideRefereUser.js +++ b/pc4mobx/hrmSalary/pages/ledger/slideRefereUser.js @@ -1,6 +1,6 @@ import React from 'react'; import { inject, observer } from 'mobx-react'; -import { Icon, Table } from 'antd'; +import { Icon, Table, message, Modal } from 'antd'; import { WeaInputSearch } from "ecCom" import { slideStep2Columns, dataSource } from './columns' import AddUserModal from './addUserModal' @@ -43,7 +43,16 @@ export default class SlideRefereUser extends React.Component { message.warning("未选择条目") return } - deleteLedgerPersonRange(this.state.selectedRowKeys) + Modal.confirm({ + title: '信息确认', + content: '确认删除', + onOk:() => { + deleteLedgerPersonRange(this.state.selectedRowKeys) + }, + onCancel: () => { + }, + }); + } handleSearch = (value) => { diff --git a/pc4mobx/hrmSalary/pages/salaryFile/index.js b/pc4mobx/hrmSalary/pages/salaryFile/index.js index 0bc0f1c0..360941b0 100644 --- a/pc4mobx/hrmSalary/pages/salaryFile/index.js +++ b/pc4mobx/hrmSalary/pages/salaryFile/index.js @@ -357,14 +357,14 @@ export default class SalaryFile extends React.Component { className="salaryFileTabWrapper">