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) => { + ); }