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 }}) + + + + + + + 采购代表 + 评委 + + + + + + + 保存参与人信息 + + + +