import{cc as e}from"./index.ffbfe161.js";import{a as i}from"./objectUtil.ec24ceed.js";import{c as r}from"./constant.811f1023.js";const m=t=>e({url:"/cbs-app/musicSheet/page",method:"post",data:t}),l=t=>e({url:"/cbs-app/musicSheet/save",method:"post",data:t}),d=t=>e({url:"/cbs-app/musicSheet/remove",method:"post",data:t,requestType:"form"}),h=t=>e({url:"/cbs-app/musicSheet/detail/"+t.id,method:"get",requestType:"form"}),S=t=>e({url:"/cbs-app/musicSheet/statusList",method:"post",data:t}),g=t=>e({url:"/cbs-app/musicSheet/pageByApplication",method:"post",data:t}),b=t=>e({url:"/cbs-app/musicSheetCategories/queryTree",method:"get",data:t,params:t}),A=t=>e({url:"/cbs-app/musicSheetCategories/save",method:"post",data:t}),f=t=>e({url:"/cbs-app/musicSheetCategories/update",method:"post",data:t}),v=t=>e({url:"/cbs-app/musicSheetCategories/remove?id="+t,method:"post"}),y=t=>e({url:"/cbs-app/musicSheetApplicationExtend/ownerList",method:"post",data:t}),C=t=>e({url:"/cbs-app/musicSheetApplicationExtend/save",method:"post",data:t}),L=t=>e({url:"/cbs-app/musicSheetApplicationExtend/categoryList",method:"post",data:t}),N=t=>e({url:"/cbs-app/musicSheetApplicationExtend/tagList",method:"post",data:t}),R=t=>e({url:"/cbs-app/musicSheetApplicationExtend/applicationExtendInfo",method:"post",data:t}),T=t=>e({url:"/cbs-app/musicSheetApplicationExtend/saveBatch",method:"post",data:t}),x=t=>e({url:"/cbs-app/musicSheetApplicationExtend/update",method:"post",data:t}),E=t=>e({url:"/cbs-app/musicSheetApplicationExtend/status",method:"post",data:t}),O=(t,o)=>{if(t=="PLATFORM")return;let s="";if(t&&t.userName){const p=t.applicationName;if(o=="ORG"){const a=t.organizationRole?"-"+t.organizationRole:"";s+=p+a}else if(o=="PERSON"){t!=null&&t.userName&&(s=t.userName);let a=i(t.clientType,new Map(Object.entries(r)));a=a?"-"+a:"",s+=" ("+p+a+")"}}return s};export{b as a,h as b,l as c,L as d,R as e,C as f,O as g,S as h,m as i,d as j,A as k,f as l,y as m,v as n,T as o,x as p,g as q,E as r,N as s};
