非系统人员修改

This commit is contained in:
黎永顺 2023-03-16 11:03:52 +08:00
parent 49fb957550
commit fb3b4c7d59
4 changed files with 8 additions and 33 deletions

View File

@ -46,9 +46,9 @@ class Index extends Component {
onCancel={onCancel}
>
<WeaSearchGroup col={1} needTigger title="" showGroup center>
<WeaFormItem label="外部人员" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
<WeaFormItem label="非系统人员" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
<WeaBrowser
title="外部人员"
title="非系统人员"
type={162}
viewAttr={3}
isSingle={false}

View File

@ -497,31 +497,6 @@ export default class UserSure extends React.Component {
title="提示:环比上期当前选择的账套归档的各个税扣缴义务人下增加的人员"
placement="topLeft"
/>
<span style={{ margin: "0 8px" }}>|</span>
<span
className={
this.state.selectedKey == "3"
? "crumbItem crumbItemSelected"
: "crumbItem"
}
onClick={() => {
this.setState({ selectedKey: "3" }, () => {
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
const payload = {
type: "PC",
listType: "MA",
url: "/api/bs/hrmsalary/salaryacct/addedemployee/list",
queryParams: {
salaryAcctRecordId,
employeeName: this.state.userListSearchValue
}
};
childFrameObj.contentWindow.postMessage(JSON.stringify(payload), "*");
});
}}>
非系统人员
</span>
</div>
<div className="crumbsOperateWrapper">
<WeaTab

View File

@ -6,12 +6,11 @@
*/
import React, { Component } from "react";
import { inject, observer } from "mobx-react";
import { WeaTab, WeaTop } from "ecCom";
import { WeaTab, WeaTable, WeaTop } from "ecCom";
import ExternalPersonManageEditSlide from "./components/externalPersonManageEditSlide";
import { Button, message, Modal } from "antd";
import { getSearchs } from "../../util";
import { condition, searchCondition } from "./conditions";
import UnifiedTable from "../../components/UnifiedTable";
import { deleteExtEmp, listPage } from "../../apis/externalPersonManage";
import "./index.less";
@ -141,7 +140,7 @@ class Index extends Component {
onAdSearch={() => this.setState({ showSearchAd: false }, () => this.listPage())}
onAdReset={() => form.resetForm()} onAdCancel={() => this.setState({ showSearchAd: false })}
/>
<UnifiedTable
<WeaTable
rowKey="id"
loading={loading}
columns={showOperateBtn ? [
@ -149,11 +148,12 @@ class Index extends Component {
{
dataIndex: "operate",
title: "操作",
width: 120,
render: (_, { id }) => (
<React.Fragment>
<a href="javascript: void(0);" onClick={() => this.handleAdd(id)}
style={{ paddingRight: 8 }}>编辑</a>
<a href="javascript: void(0);" onClick={() => this.handleDelete(id)}>删除</a>
{/*<a href="javascript: void(0);" onClick={() => this.handleDelete(id)}>删除</a>*/}
</React.Fragment>
)
}
@ -161,7 +161,7 @@ class Index extends Component {
dataSource={dataSource}
pagination={pagination}
rowSelection={rowSelection}
xWidth={this.getColumns().length * 120}
xWidth={800}
/>
<ExternalPersonManageEditSlide
showOperateBtn={showOperateBtn} form={addForm} condition={condition}

View File

@ -87,7 +87,7 @@ export default class SalaryFileViewSlide extends React.Component {
{
com: PickDate({
label: "起始发薪日期",
viewAttr: selectedKey === "pending" ? 3 : 1,
viewAttr: (selectedKey === "pending" || selectedKey === "ext") ? 3 : 1,
value: paysetParams.payStartDate,
onChange: handleSetpay
})