优化提交 等按钮
parent
6b71586dce
commit
63c936d8af
|
|
@ -67,7 +67,7 @@ function Department(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoadingconfirmLoading={props.businessLicense.corpQualificationLoading}
|
loding={props.businessLicense.corpQualificationLoading}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<>
|
<>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -227,7 +227,7 @@ function Info(props) {
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
column={2}
|
column={2}
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
labelStyle={{
|
labelStyle={{
|
||||||
width: 200,
|
width: 200,
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,30 @@ function ChangeView(props) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<Page headerTitle="变更记录" isShowFooter={false}>
|
<Page
|
||||||
|
headerTitle="变更记录"
|
||||||
|
extraActionButtons={
|
||||||
|
|
||||||
|
queryParams["type"] === "disposal"
|
||||||
|
&& (
|
||||||
|
<div>
|
||||||
|
|
||||||
|
<Button key="reject" onClick={handleReject} style={{ marginRight: 20 }}>
|
||||||
|
驳回
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
type="primary"
|
||||||
|
|
||||||
|
onClick={onSubmit}
|
||||||
|
|
||||||
|
>
|
||||||
|
通过
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
>
|
||||||
<Divider orientation="left">变更前信息</Divider>
|
<Divider orientation="left">变更前信息</Divider>
|
||||||
<Descriptions
|
<Descriptions
|
||||||
bordered
|
bordered
|
||||||
|
|
@ -154,32 +177,6 @@ function ChangeView(props) {
|
||||||
/>
|
/>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
||||||
{
|
|
||||||
queryParams["type"] === "disposal"
|
|
||||||
|
|
||||||
&& (
|
|
||||||
<div style={{ textAlign: "center", height: 50, marginTop: 20 }} className="no-print">
|
|
||||||
|
|
||||||
<Button style={{ marginRight: 20 }} onClick={onGoBack}>
|
|
||||||
取消
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button key="reject" onClick={handleReject} style={{ marginRight: 20 }}>
|
|
||||||
驳回
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
type="primary"
|
|
||||||
|
|
||||||
onClick={onSubmit}
|
|
||||||
|
|
||||||
>
|
|
||||||
通过
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,7 @@ function View(props) {
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
column={2}
|
column={2}
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
labelStyle={{
|
labelStyle={{
|
||||||
width: 200,
|
width: 200,
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ function Department(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ function Department(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
|
|
|
||||||
|
|
@ -463,6 +463,9 @@ function Add(props) {
|
||||||
{
|
{
|
||||||
name: "flowFlag",
|
name: "flowFlag",
|
||||||
label: "是否流动人员",
|
label: "是否流动人员",
|
||||||
|
componentProps: {
|
||||||
|
disabled: queryParams["id"],
|
||||||
|
},
|
||||||
render: FORM_ITEM_RENDER_ENUM.RADIO,
|
render: FORM_ITEM_RENDER_ENUM.RADIO,
|
||||||
items: WHETHER_ENUM,
|
items: WHETHER_ENUM,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ import AddIcon from "zy-react-library/components/Icon/AddIcon";
|
||||||
import LeftTree from "zy-react-library/components/LeftTree/Department/Gwj/index";
|
import LeftTree from "zy-react-library/components/LeftTree/Department/Gwj/index";
|
||||||
import PreviewImg from "zy-react-library/components/PreviewImg";
|
import PreviewImg from "zy-react-library/components/PreviewImg";
|
||||||
// import DictionarySelect from "zy-react-library/components/SelectTree/Dictionary";
|
// import DictionarySelect from "zy-react-library/components/SelectTree/Dictionary";
|
||||||
|
|
||||||
import Search from "zy-react-library/components/Search";
|
import Search from "zy-react-library/components/Search";
|
||||||
import Table from "zy-react-library/components/Table";
|
import Table from "zy-react-library/components/Table";
|
||||||
import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";
|
import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
import { Connect } from "@cqsjjb/jjb-dva-runtime";
|
||||||
import { Button, Descriptions, Divider, message, Modal } from "antd";
|
import { Button, Descriptions, Divider, message, Modal } from "antd";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import HeaderBack from "zy-react-library/components/HeaderBack";
|
import Page from "zy-react-library/components/Page";
|
||||||
import Table from "zy-react-library/components/Table";
|
import Table from "zy-react-library/components/Table";
|
||||||
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
|
import useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
|
||||||
import { NS_USER } from "~/enumerate/namespace";
|
import { NS_USER } from "~/enumerate/namespace";
|
||||||
|
|
@ -61,17 +61,24 @@ function ResignationReview(props) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const onGoBack = () => {
|
|
||||||
window.history.back();
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<HeaderBack title="信息确认" />
|
|
||||||
<div
|
<Page
|
||||||
style={{
|
headerTitle="信息确认"
|
||||||
padding: 20,
|
extraActionButtons={(
|
||||||
}}
|
<div>
|
||||||
|
<Button key="reject" onClick={handleReject} style={{ marginRight: 20 }}>
|
||||||
|
驳回
|
||||||
|
</Button>
|
||||||
|
<Button
|
||||||
|
type="primary"
|
||||||
|
onClick={onSubmit}
|
||||||
|
>
|
||||||
|
通过
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
<Divider orientation="left">人员信息</Divider>
|
<Divider orientation="left">人员信息</Divider>
|
||||||
<Descriptions
|
<Descriptions
|
||||||
|
|
@ -127,27 +134,7 @@ function ResignationReview(props) {
|
||||||
]}
|
]}
|
||||||
dataSource={info.userJobHandoverCOList}
|
dataSource={info.userJobHandoverCOList}
|
||||||
/>
|
/>
|
||||||
</div>
|
</Page>
|
||||||
|
|
||||||
<div style={{ textAlign: "center", height: 50, marginTop: 20 }} className="no-print">
|
|
||||||
|
|
||||||
<Button style={{ marginRight: 20 }} onClick={onGoBack}>
|
|
||||||
取消
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button key="reject" onClick={handleReject} style={{ marginRight: 20 }}>
|
|
||||||
驳回
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
type="primary"
|
|
||||||
|
|
||||||
onClick={onSubmit}
|
|
||||||
|
|
||||||
>
|
|
||||||
通过
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ function SecurityPersonnel(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ function SpecialPersonnel(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ function List(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={props.enterprise.enterpriseLoading}
|
loding={props.enterprise.enterpriseLoading}
|
||||||
toolBarRender={() => (
|
toolBarRender={() => (
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ function View(props) {
|
||||||
<Divider orientation="left">基本信息</Divider>
|
<Divider orientation="left">基本信息</Divider>
|
||||||
<Descriptions
|
<Descriptions
|
||||||
bordered
|
bordered
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
items={[
|
items={[
|
||||||
{
|
{
|
||||||
label: "公司名称",
|
label: "公司名称",
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,7 @@ function View(props) {
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
column={2}
|
column={2}
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
labelStyle={{
|
labelStyle={{
|
||||||
width: 200,
|
width: 200,
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ function Department(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
// toolBarRender={() => (
|
// toolBarRender={() => (
|
||||||
// <>
|
// <>
|
||||||
// <Button
|
// <Button
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ function Department(props) {
|
||||||
onFinish={getData}
|
onFinish={getData}
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
confirmLoading={getFileLoading}
|
loding={getFileLoading}
|
||||||
// toolBarRender={() => (
|
// toolBarRender={() => (
|
||||||
// <>
|
// <>
|
||||||
// <Button
|
// <Button
|
||||||
|
|
@ -318,7 +318,7 @@ function AddModalComponent(props) {
|
||||||
open={props.open}
|
open={props.open}
|
||||||
title={props.currentId ? "编辑" : "新增"}
|
title={props.currentId ? "编辑" : "新增"}
|
||||||
width={800}
|
width={800}
|
||||||
confirmLoading={
|
loding={
|
||||||
deleteFileLoading || uploadFileLoading || getFileLoading || props.loding
|
deleteFileLoading || uploadFileLoading || getFileLoading || props.loding
|
||||||
}
|
}
|
||||||
onOk={form.submit}
|
onOk={form.submit}
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,7 @@ function List(props) {
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
|
|
||||||
confirmLoading={props.user.userLoading}
|
loding={props.user.userLoading}
|
||||||
rowSelection={{
|
rowSelection={{
|
||||||
selectedRowKeys,
|
selectedRowKeys,
|
||||||
onChange: selectedRowKeys => setSelectedRowKeys(selectedRowKeys),
|
onChange: selectedRowKeys => setSelectedRowKeys(selectedRowKeys),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue