feat: 采购模块8项功能优化
1. 履约评价按钮:仅在审核状态完成时显示 2. 流程审批:申请人可编辑表单 3. 部门代表弹窗:增加身份选择(采购代表/评委) 4. 履约验收上传:改为仅支持PDF格式 5. 采购申请列表:增加采购形式字段显示(el-tag) 6. 采购申请提交:防止重复点击(已存在loading)
This commit is contained in:
@@ -252,12 +252,13 @@ export function searchTeachers(keyword: string) {
|
||||
* @param id 采购申请ID
|
||||
* @param representorTeacherNo 指定采购代表人(单人,用户ID或工号)
|
||||
* @param representors 部门多人由系统抽取(多人,用户ID或工号逗号分隔)
|
||||
* @param identity 身份:purchase_rep-采购代表,judge-评委
|
||||
*/
|
||||
export function saveRepresentor(id: number, representorTeacherNo?: string, representors?: string) {
|
||||
export function saveRepresentor(id: number, representorTeacherNo?: string, representors?: string, identity?: string) {
|
||||
return request({
|
||||
url: '/purchase/purchasingapply/saveRepresentor',
|
||||
url: '/purchase/purchasingapply/save-representor',
|
||||
method: 'post',
|
||||
data: { id, representorTeacherNo, representors }
|
||||
data: { id, representorTeacherNo, representors, representorType: identity }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user