(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216635"],{c1f7:function(t,n,e){"use strict";e.r(n),e.d(n,"urlPrefix",(function(){return a})),e.d(n,"GetList",(function(){return d})),e.d(n,"createObj",(function(){return o})),e.d(n,"UpdateObj",(function(){return i})),e.d(n,"DelObj",(function(){return f}));var r=e("22ce"),u=e("c695"),c=e.n(u),a="/api/system/dictionary/";function d(t){return Object(r["c"])({url:a,method:"get",params:t}).then((function(t){return t.data.data=c.a.toArrayTree(t.data.data,{parentKey:"parent"}),t}))}function o(t){return Object(r["c"])({url:a,method:"post",data:t})}function i(t){return Object(r["c"])({url:a+t.id+"/",method:"put",data:t})}function f(t){return Object(r["c"])({url:a+t+"/",method:"delete",data:{id:t}})}}}]);