From e8f47684fb16be6c2b9b8de0650c2f9df0e645bc Mon Sep 17 00:00:00 2001 From: Vectorune Date: Tue, 11 Nov 2025 16:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=E4=BF=9D=E5=AD=98=E5=92=8C=E5=8E=BB=E6=8E=89=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=8A=BD=E5=B1=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Dashboard/DataManager/DataManageTable.jsx | 4 ++-- src/page/Dashboard/DataPrint/index.jsx | 3 ++- src/page/Dashboard/GenerateCertificate/index.jsx | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/page/Dashboard/DataManager/DataManageTable.jsx b/src/page/Dashboard/DataManager/DataManageTable.jsx index 45b7049..e04efbc 100644 --- a/src/page/Dashboard/DataManager/DataManageTable.jsx +++ b/src/page/Dashboard/DataManager/DataManageTable.jsx @@ -59,14 +59,14 @@ const DataManageTable = props => { fetchWorkloadData={fetWorkload} /> {/* 编辑抽屉 */} - + />*/}

数据管理

diff --git a/src/page/Dashboard/DataPrint/index.jsx b/src/page/Dashboard/DataPrint/index.jsx index e76ca1a..ea5cf58 100644 --- a/src/page/Dashboard/DataPrint/index.jsx +++ b/src/page/Dashboard/DataPrint/index.jsx @@ -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); } diff --git a/src/page/Dashboard/GenerateCertificate/index.jsx b/src/page/Dashboard/GenerateCertificate/index.jsx index c922ac0..bb323e1 100644 --- a/src/page/Dashboard/GenerateCertificate/index.jsx +++ b/src/page/Dashboard/GenerateCertificate/index.jsx @@ -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,})