index-Dq0w4Gsp.js 855 B

1
  1. import{r}from"./index-CKIhG1T4.js";const s={getProfileRegisterPage:async e=>await r.get({url:"/pressure/entry-record/page",params:e}),addProfileRegister:async e=>await r.post({url:"/pressure/entry-record/create",data:e}),editProfileRegister:async e=>await r.put({url:"/pressure/entry-record/update",data:e}),updateProfileRegister:async e=>await r.put({url:"/pressure/entry-record/submit",data:e}),deleteProfileRegister:async e=>await r.delete({url:"/pressure/entry-record/delete?id="+e}),exportProfileRegister:async e=>{const t=[];for(const a in e)e[a]&&t.push(a+"="+e[a]);window.open(`/admin-api/pressure/entry-record/export-excel${t.length?"?":""}${t.join("&")}`)},getProfileList:async e=>await r.get({url:"/pressure/entry-record-doc/page",params:e}),batchAssign:async e=>await r.put({url:"/pressure/entry-record/batch-charge",data:e})};export{s as P};