优化提交 等按钮

dev
853931625@qq.com 2025-12-31 14:39:30 +08:00
parent 6b71586dce
commit 63c936d8af
17 changed files with 59 additions and 73 deletions

View File

@ -67,7 +67,7 @@ function Department(props) {
onFinish={getData}
/>
<Table
confirmLoadingconfirmLoading={props.businessLicense.corpQualificationLoading}
loding={props.businessLicense.corpQualificationLoading}
toolBarRender={() => (
<>
<Button

View File

@ -227,7 +227,7 @@ function Info(props) {
},
]}
column={2}
confirmLoading={getFileLoading}
loding={getFileLoading}
labelStyle={{
width: 200,
}}

View File

@ -64,7 +64,30 @@ function ChangeView(props) {
return (
<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>
<Descriptions
bordered
@ -154,32 +177,6 @@ function ChangeView(props) {
/>
</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>
);

View File

@ -241,7 +241,7 @@ function View(props) {
},
]}
column={2}
confirmLoading={getFileLoading}
loding={getFileLoading}
labelStyle={{
width: 200,
}}

View File

@ -83,7 +83,7 @@ function Department(props) {
onFinish={getData}
/>
<Table
confirmLoading={getFileLoading}
loding={getFileLoading}
columns={[
{
title: "姓名",

View File

@ -83,7 +83,7 @@ function Department(props) {
onFinish={getData}
/>
<Table
confirmLoading={getFileLoading}
loding={getFileLoading}
columns={[
{
title: "姓名",

View File

@ -463,6 +463,9 @@ function Add(props) {
{
name: "flowFlag",
label: "是否流动人员",
componentProps: {
disabled: queryParams["id"],
},
render: FORM_ITEM_RENDER_ENUM.RADIO,
items: WHETHER_ENUM,

View File

@ -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 PreviewImg from "zy-react-library/components/PreviewImg";
// import DictionarySelect from "zy-react-library/components/SelectTree/Dictionary";
import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table";
import { UPLOAD_FILE_TYPE_ENUM } from "zy-react-library/enum/uploadFile/gwj";

View File

@ -1,7 +1,7 @@
import { Connect } from "@cqsjjb/jjb-dva-runtime";
import { Button, Descriptions, Divider, message, Modal } from "antd";
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 useGetUrlQuery from "zy-react-library/hooks/useGetUrlQuery";
import { NS_USER } from "~/enumerate/namespace";
@ -61,17 +61,24 @@ function ResignationReview(props) {
});
};
const onGoBack = () => {
window.history.back();
};
return (
<div>
<HeaderBack title="信息确认" />
<div
style={{
padding: 20,
}}
<Page
headerTitle="信息确认"
extraActionButtons={(
<div>
<Button key="reject" onClick={handleReject} style={{ marginRight: 20 }}>
驳回
</Button>
<Button
type="primary"
onClick={onSubmit}
>
通过
</Button>
</div>
)}
>
<Divider orientation="left">人员信息</Divider>
<Descriptions
@ -127,27 +134,7 @@ function ResignationReview(props) {
]}
dataSource={info.userJobHandoverCOList}
/>
</div>
<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>
</Page>
</div>

View File

@ -116,7 +116,7 @@ function SecurityPersonnel(props) {
onFinish={getData}
/>
<Table
confirmLoading={getFileLoading}
loding={getFileLoading}
toolBarRender={() => (
<>
{

View File

@ -118,7 +118,7 @@ function SpecialPersonnel(props) {
onFinish={getData}
/>
<Table
confirmLoading={getFileLoading}
loding={getFileLoading}
toolBarRender={() => (
<>
{

View File

@ -162,7 +162,7 @@ function List(props) {
onFinish={getData}
/>
<Table
confirmLoading={props.enterprise.enterpriseLoading}
loding={props.enterprise.enterpriseLoading}
toolBarRender={() => (
<>
{

View File

@ -52,7 +52,7 @@ function View(props) {
<Divider orientation="left">基本信息</Divider>
<Descriptions
bordered
confirmLoading={getFileLoading}
loding={getFileLoading}
items={[
{
label: "公司名称",

View File

@ -241,7 +241,7 @@ function View(props) {
},
]}
column={2}
confirmLoading={getFileLoading}
loding={getFileLoading}
labelStyle={{
width: 200,
}}

View File

@ -113,7 +113,7 @@ function Department(props) {
onFinish={getData}
/>
<Table
confirmLoading={getFileLoading}
loding={getFileLoading}
// toolBarRender={() => (
// <>
// <Button

View File

@ -113,7 +113,7 @@ function Department(props) {
onFinish={getData}
/>
<Table
confirmLoading={getFileLoading}
loding={getFileLoading}
// toolBarRender={() => (
// <>
// <Button
@ -318,7 +318,7 @@ function AddModalComponent(props) {
open={props.open}
title={props.currentId ? "编辑" : "新增"}
width={800}
confirmLoading={
loding={
deleteFileLoading || uploadFileLoading || getFileLoading || props.loding
}
onOk={form.submit}

View File

@ -168,7 +168,7 @@ function List(props) {
/>
<Table
confirmLoading={props.user.userLoading}
loding={props.user.userLoading}
rowSelection={{
selectedRowKeys,
onChange: selectedRowKeys => setSelectedRowKeys(selectedRowKeys),