import{h as s}from"./index-Cy4uayzW.js";import{M as d}from"./antd-vue-vendor-CahNzUUa.js";const r="/sys/dict/exportXls",a="/sys/dict/importExcel",n=e=>s.get({url:"/sys/dict/list",params:e}),o=(e,t)=>s.delete({url:"/sys/dict/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),y=(e,t)=>{d.confirm({title:"确认删除",content:"是否删除选中数据",okText:"确认",cancelText:"取消",onOk:()=>s.delete({url:"/sys/dict/deleteBatch",data:e},{joinParamsToUrl:!0}).then(()=>{t()})})},m=(e,t)=>{let c=t?"/sys/dict/edit":"/sys/dict/add";return s.post({url:c,params:e})};const u=e=>s.get({url:"/sys/dict/deleteList",params:e}),h=(e,t)=>s.put({url:`/sys/dict/back/${e}`}).then(()=>{t()}),I=(e,t)=>s.delete({url:`/sys/dict/deletePhysic/${e}`}).then(()=>{t()}),f=e=>s.get({url:"/sys/dictItem/list",params:e}),k=(e,t)=>s.delete({url:"/sys/dictItem/delete",params:e},{joinParamsToUrl:!0}).then(()=>{t()}),g=(e,t)=>{let c=t?"/sys/dictItem/edit":"/sys/dictItem/add";return s.post({url:c,params:e})},p=e=>s.get({url:"/sys/dictItem/dictItemCheck",params:e},{isTransformResponse:!1}),x=()=>s.get({url:"/sys/dict/refleshCache"},{isTransformResponse:!1}),C=()=>s.get({url:"/sys/dict/queryAllDictItems"},{isTransformResponse:!1});export{p as a,m as b,I as c,k as d,a as e,r as f,u as g,o as h,f as i,y as j,n as l,h as p,C as q,x as r,g as s};
