"use strict";(self["webpackChunklin_cms_vue"]=self["webpackChunklin_cms_vue"]||[]).push([[4748],{44748:function(e,t,r){r.r(t);var n=r(14048),u=r(30388),a=r(25026),c=r(69492),o=r(96557),s=function(){function e(){(0,a.A)(this,e)}return(0,c.A)(e,[{key:"createProjectModuleInfo",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o["default"])({method:"post",url:"v1/project-module",data:t}));case 1:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getProjectModuleInfo",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){var r;return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.get)("v1/project-module/".concat(t));case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getProjectModuleInfoDetail",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){var r;return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.get)("v1/project-module/detail/".concat(t));case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"editProjectModuleInfo",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t,r){var u;return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.put)("v1/project-module/".concat(t),r);case 2:return u=e.sent,e.abrupt("return",u);case 4:case"end":return e.stop()}}),e)})));function t(t,r){return e.apply(this,arguments)}return t}()},{key:"deleteProjectModuleInfo",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){var r;return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o._delete)("v1/project-module/".concat(t));case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getProjectModuleInfoList",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o["default"])({method:"get",url:"v1/project-module/list",params:t,handleError:!0}));case 1:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getProjectModuleInfoPage",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o["default"])({method:"get",url:"v1/project-module/page",params:t,handleError:!0}));case 1:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getProjectModuleTree",value:function(){var e=(0,u.A)((0,n.A)().mark((function e(t){return(0,n.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o["default"])({method:"get",url:"v1/project-module/tree/list",params:t,handleError:!0}));case 1:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}])}();t["default"]=new s}}]);
|