import{ad as e}from"./index-9PRMimni.js";function s(t){const r=t.getFullYear(),o=String(t.getMonth()+1).padStart(2,"0"),n=String(t.getDate()).padStart(2,"0");return`${r}-${o}-${n}`}function u(t){return e.Get("/workPermits/getPageList",{params:t})}function l(t){return e.Post("/workPermits",t)}function m(t){return e.Put("/workPermits",t)}function c(t){return e.Post("/workPermits/uploadFile",t)}function p(t){return e.Get(`/workPermits/${t}`)}function P(t){return e.Delete(`/workPermits/${t}`)}function d(t){return e.Post("/workPermits/submit",t)}function f(t){return e.Get("/workPermits/getTypePageList",{params:t})}function k(t){return e.Get("",{params:t})}function g(t){return e.Get("/template/list",{params:t})}function W(t){return e.Get("/port/options",{params:t})}function w(t){return e.Post("/crewServiceQualification/onboard/list",t)}function D(t){return e.Post("/template/add",t)}function G(t){return e.Post("/template/update",t)}function $(t){return e.Delete(`/template?templateCode=${t.templateCode}&uuid=${t.uuid}`)}function b(t){return e.Get("/template/one",{params:t})}export{D as a,W as b,w as c,l as d,p as e,s as f,b as g,c as h,m as i,k as j,f as k,P as l,$ as m,u as n,g as o,d as s,G as u};
