From 4b33dc9aabcfc1b14836a5ee3e24c7b6c725d28d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Sun, 8 Mar 2026 23:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/purchase/purchasingrequisition.ts | 13 ++ .../purchasingrequisition/bidfile-audit.vue | 220 +++++++++++++++++- 2 files changed, 231 insertions(+), 2 deletions(-) diff --git a/src/api/purchase/purchasingrequisition.ts b/src/api/purchase/purchasingrequisition.ts index 98c1689..53a6d8c 100644 --- a/src/api/purchase/purchasingrequisition.ts +++ b/src/api/purchase/purchasingrequisition.ts @@ -252,6 +252,19 @@ export function saveRepresentor(id: number, representorTeacherNo?: string, repre }); } +/** + * 随机抽取部门参与人 + * @param applyId 采购申请ID + * @param memberTeacherNos 参与随机抽取的人员工号列表(逗号分隔) + */ +export function randomSelectRepresentor(applyId: string, memberTeacherNos: string) { + return request({ + url: '/purchase/purchasingapply/randomSelectRepresentor', + method: 'post', + data: { applyId, memberTeacherNos }, + }); +} + /** * 文件归档:按文件类型打包下载该申请单下所有附件的下载地址(GET 请求,浏览器直接下载 zip) * @param purchaseId 采购申请ID diff --git a/src/views/purchase/purchasingrequisition/bidfile-audit.vue b/src/views/purchase/purchasingrequisition/bidfile-audit.vue index 91d77d6..5483171 100644 --- a/src/views/purchase/purchasingrequisition/bidfile-audit.vue +++ b/src/views/purchase/purchasingrequisition/bidfile-audit.vue @@ -208,13 +208,109 @@ + + + + + + + + + 指定一人 + 随机抽取 + + + + + + + + + + + + + + + + + 随机抽取 + + + + + + + {{ currentRepresentor.realName }} ({{ currentRepresentor.teacherNo }}) + + + + + + + 采购代表 + 评委 + + + + + + + 保存参与人信息 + + + +