From f9eaf216ad9a323d93be7c51b0b8f600f1f0087f Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Tue, 6 Jun 2023 15:19:16 +0800 Subject: [PATCH] =?UTF-8?q?6.6=20=E8=AF=84=E5=AE=A1=E8=A7=A3=E9=94=81-?= =?UTF-8?q?=E5=A4=9A=E8=BD=AE=E6=8B=9B=E5=8B=9F=E6=B7=BB=E5=8A=A0=E8=AF=84?= =?UTF-8?q?=E5=AE=A1=E8=A7=A3=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ZZhaoMu/JudgingPanel/index.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/pages/ZZhaoMu/JudgingPanel/index.tsx b/src/pages/ZZhaoMu/JudgingPanel/index.tsx index 4117482..471e357 100644 --- a/src/pages/ZZhaoMu/JudgingPanel/index.tsx +++ b/src/pages/ZZhaoMu/JudgingPanel/index.tsx @@ -13,7 +13,7 @@ import RiskPrevention from '@/utils/RiskPrevention'; import { history } from 'umi'; import { downloadPath } from '@/utils/DownloadUtils'; import ExpertPhotoUpload from '@/components/ElecBidEvaluation/ExpertPhotoUpload'; -import { getUserPhoto } from '@/pages/Tender/ProjectManager/JudgingPanel/List/service'; +import { getUserPhoto, unlockAccount } from '@/pages/Tender/ProjectManager/JudgingPanel/List/service'; import BidEvalAppointment from '@/components/ElecBidEvaluation/BidEvalAppointment'; import OutsourcingManage from '@/pages/Tender/ProjectManager/JudgingPanel/List/OutsourcingManage'; import { dateTimeFormatter } from '@/utils/DateUtils'; @@ -319,6 +319,17 @@ const JudgingPanel: React.FC<{}> = (props: any) => { ) ) } + //专家账号解锁 + const unlockExportAccount = async (record: any, juryId: any, proId: any) => { + try { + const res = await unlockAccount(record.id, juryId, proId); + if (res.success) { + message.success(res.data); + } + } catch (error) { + + } + } useEffect(() => {//给表单赋值 updateData && setIsReserve(String(updateData?.reserveStatus));//赋值给是否预约电子评标室 @@ -1115,6 +1126,9 @@ const JudgingPanel: React.FC<{}> = (props: any) => { + ); }