common.js 823 B

1234567891011121314151617181920212223242526272829303132
  1. import { bA as i } from "./index2.js";
  2. function o(t = "", n = "") {
  3. const e = window.$utils.env.VITE_APP_SYS_SERVER_NAME;
  4. return window.$utils.http({
  5. url: `${e}/office/recursionChildrenWithAuth?parentId=${t}&excludeIds=${n}`
  6. });
  7. }
  8. function u(t = "") {
  9. const n = window.$utils.env.VITE_APP_SYS_SERVER_NAME;
  10. return window.$utils.http({
  11. url: `${n}/office/levelTwoChildrenWithAuth?parentId=${t}`
  12. });
  13. }
  14. function r(t = "") {
  15. const n = window.$utils.env.VITE_APP_SYS_SERVER_NAME;
  16. return window.$utils.http({
  17. url: `${n}/office/levelOneChildrenWithAuth?parentId=${t}`
  18. });
  19. }
  20. function s(t) {
  21. const n = window.$utils.env.VITE_APP_SYS_SERVER_NAME;
  22. return window.$utils.http({
  23. method: "get",
  24. url: `${n}/v1/units/jobs?${i.stringify(t)}`
  25. });
  26. }
  27. export {
  28. u as a,
  29. o as b,
  30. s as g,
  31. r as l
  32. };