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