selectionBook.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import request from '@/config/axios'
  2. // 师生互选记录 VO
  3. export interface selectionBookVO {
  4. studentName: string; // 学生姓名
  5. studentNumber: string; // 学生学号
  6. major: string; // 学生专业
  7. supervisorMajor: string; // 导师研究方向
  8. studentMobile: string; // 学生联系电话
  9. supervisor: string; // 导师名称
  10. studentAchievementRequirement: string; // 学生成果要求
  11. introduction: string; // 简介
  12. academicSlots: number; // 学硕名额
  13. professionalSlots: number; // 专硕名额
  14. supervisorSignature:string;//导师签名
  15. studentSignature:string;//学生签名
  16. studentSignDate:Date;//学生签名日期
  17. supervisorSignDate:Date;//学生签名日期
  18. }
  19. export interface printBookVO {
  20. id:string;
  21. studentName:string;
  22. studentNumber:string;
  23. major:string;
  24. studentMobile :string;
  25. supervisor:string;
  26. supervisorType:string;
  27. studentAchievementRequirement:string;
  28. studentSignDate:Date
  29. supervisorSignDate:Date
  30. }
  31. export const selectionBookApi = {
  32. //更新互选信息表消息
  33. updateSelectionBook: async (data: selectionBookVO) => {
  34. return await request.put({ url: `/system/student-select-supervisor-record/updateSelectionBook`, data })
  35. },
  36. getSelectionBook: async (id: number) => {
  37. return await request.get({ url: `/system/student-select-supervisor-record/getSelectionBook?id=`+ id })
  38. },
  39. }