Repertory.ebca2dea.js 1.4 KB

123
  1. import{H as s,U as a}from"./index.f6b6c69f.js";import{a3 as o}from"./vue.aade88c7.js";const u=o({data:new Map}),i={async init(){let t=a.admin.init;return await s.get(t)},async list(t){let e=a.repertory.list;return await s.post(e,t)},async add(t){let e=a.repertory.add;return await s.post(e,t)},async edit(t){let e=a.repertory.edit;return await s.post(e,t)},async delete(t){let e=a.repertory.delete;return await s.post(e,{id:t})},async statuslist(t){let e=a.repertory.statuslist,r=await s.get(e,t);const n=r.data;for(let l of n)u.data.set(l.key,l.value);return r},async all(t){let e=a.repertory.all;return await s.get(e,t)},async addschedules(t){let e=a.repertory.addschedules;return await s.post(e,t)},async editschedules(t){let e=a.repertory.editschedules;return await s.post(e,t)},async deleteschedules(t){let e=a.repertory.deleteschedules;return await s.post(e,{id:t})},async listcontract(t){let e=a.repertory.listcontract;return await s.post(e,t)},async addcontract(t){let e=a.repertory.addcontract;return await s.post(e,t)},async editcontract(t){let e=a.repertory.editcontract;return await s.post(e,t)},async deletecontract(t){let e=a.repertory.deletecontract;return await s.post(e,{id:t})},async addstatus(t){let e=a.repertory.addstatus;return await s.post(e,t)},async editstatus(t){let e=a.repertory.editstatus;return await s.post(e,t)}};export{i as R,u as s};
  2. //# sourceMappingURL=Repertory.ebca2dea.js.map