Ledger.js 728 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /** @format */
  2. import request from "@/utils/request";
  3. //获取台账列表
  4. export const getLedgerList = (params) => {
  5. return request({
  6. url: "/api/instrument/page-list",
  7. method: "post",
  8. params,
  9. });
  10. };
  11. //获取器具详情信息
  12. export const getLedgerDetails = (params) => {
  13. return request({
  14. url: "/api/instrument/get-detail",
  15. method: "get",
  16. params,
  17. });
  18. };
  19. //获取备案记录
  20. export function getauditRecordList(params) {
  21. return request({
  22. url: "/api/instrument/auditRecordList",
  23. method: "get",
  24. params,
  25. });
  26. }
  27. //获取检定记录
  28. export function getCheckRecordList(params) {
  29. return request({
  30. url: "/api/instrument/checkRecordList",
  31. method: "get",
  32. params,
  33. });
  34. }