优化部分终端保存和去掉编辑抽屉
This commit is contained in:
@ -59,14 +59,14 @@ const DataManageTable = props => {
|
|||||||
fetchWorkloadData={fetWorkload}
|
fetchWorkloadData={fetWorkload}
|
||||||
/>
|
/>
|
||||||
{/* 编辑抽屉 */}
|
{/* 编辑抽屉 */}
|
||||||
<EditDataManageDrawer
|
{/*<EditDataManageDrawer
|
||||||
open={editDrawerOpen}
|
open={editDrawerOpen}
|
||||||
setOpen={setEditDrawerOpen}
|
setOpen={setEditDrawerOpen}
|
||||||
commonAxios={commonAxios}
|
commonAxios={commonAxios}
|
||||||
fetchWorkload={fetWorkload}
|
fetchWorkload={fetWorkload}
|
||||||
messageApi={messageApi}
|
messageApi={messageApi}
|
||||||
initialValues={currentEditData}
|
initialValues={currentEditData}
|
||||||
/>
|
/>*/}
|
||||||
|
|
||||||
<Flex justify={"space-between"} align={"center"} gap={"middle"}>
|
<Flex justify={"space-between"} align={"center"} gap={"middle"}>
|
||||||
<h3>数据管理</h3>
|
<h3>数据管理</h3>
|
||||||
|
|||||||
@ -8,7 +8,8 @@ import {PlusOutlined} from "@ant-design/icons";
|
|||||||
import {useNavigate} from "react-router-dom";
|
import {useNavigate} from "react-router-dom";
|
||||||
|
|
||||||
const DataPrint = props => {
|
const DataPrint = props => {
|
||||||
const [downloadDisabled, setDownloadDisabled] = useState(true);
|
//const [downloadDisabled, setDownloadDisabled] = useState(true);
|
||||||
|
const [setDownloadDisabled] = useState(true);
|
||||||
const previewClicked = () => {
|
const previewClicked = () => {
|
||||||
setDownloadDisabled(false);
|
setDownloadDisabled(false);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,7 +37,7 @@ const GenerateCertificate = props => {
|
|||||||
const [result, setResult] = React.useState({});
|
const [result, setResult] = React.useState({});
|
||||||
const [loading, setLoading] = React.useState(false);
|
const [loading, setLoading] = React.useState(false);
|
||||||
|
|
||||||
const [pageConfig, setPageConfig] = React.useState({});
|
//const [pageConfig, setPageConfig] = React.useState({});
|
||||||
|
|
||||||
const steps = [
|
const steps = [
|
||||||
{
|
{
|
||||||
@ -160,7 +160,7 @@ const GenerateCertificate = props => {
|
|||||||
const onPrev = () => {
|
const onPrev = () => {
|
||||||
let nextCurrent = current - 1;
|
let nextCurrent = current - 1;
|
||||||
setCurrent(nextCurrent);
|
setCurrent(nextCurrent);
|
||||||
let editFlag = sessionStorage.getItem('edit-flag');
|
//let editFlag = sessionStorage.getItem('edit-flag');
|
||||||
if (nextCurrent <= 0) {
|
if (nextCurrent <= 0) {
|
||||||
setCurrent(0)
|
setCurrent(0)
|
||||||
setPreButton({...preButton, disabled: true,})
|
setPreButton({...preButton, disabled: true,})
|
||||||
|
|||||||
Reference in New Issue
Block a user