inspects.js 950 B

123456789101112131415161718192021222324252627282930313233343536
  1. import {httpApi} from "../../request/httpApi";
  2. export default {
  3. //案卷设置成已查阅
  4. async setreview(form, msg = true) {
  5. return httpApi({
  6. url: '/api/blade-archive/archivesauto/review',
  7. method: 'post',
  8. params: form
  9. }, msg);
  10. },
  11. //获取抽检意见
  12. async getOpinion(form, msg = true) {
  13. return httpApi({
  14. url: '/api/blade-archive/archiveInspectionInfo/opinion',
  15. method: 'get',
  16. params: form
  17. }, msg);
  18. },
  19. //新增抽检意见/archiveInspectionInfo/add
  20. async addOpinion(form, msg = true) {
  21. return httpApi({
  22. url: '/api/blade-archive/archiveInspectionInfo/add',
  23. method: 'post',
  24. data: form
  25. }, msg);
  26. },
  27. //修改抽检意见
  28. async editOpinion(form, msg = true) {
  29. return httpApi({
  30. url: '/api/blade-archive/archiveInspectionInfo/submit',
  31. method: 'post',
  32. params: form
  33. }, msg);
  34. },
  35. }