"use strict";(self["webpackChunklin_cms_vue"]=self["webpackChunklin_cms_vue"]||[]).push([[5157,4372,3888],{3888:function(t,e,r){r.r(e);var n=r(14048),u=r(30388),a=r(25026),c=r(69492),o=r(96557),i=function(){function t(){(0,a.A)(this,t)}return(0,c.A)(t,[{key:"createProjectInfo",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o["default"])({method:"post",url:"v1/projectInfo",data:e}));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getProjectInfo",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){var r;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.get)("v1/projectInfo/".concat(e));case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getProjectInfoDetail",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){var r;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.get)("v1/projectInfo/detail/".concat(e));case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"editProjectInfo",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e,r){var u;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.put)("v1/projectInfo/".concat(e),r);case 2:return u=t.sent,t.abrupt("return",u);case 4:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"deleteProjectInfo",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){var r;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o._delete)("v1/projectInfo/".concat(e));case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getProjectInfoList",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o["default"])({method:"get",url:"v1/projectInfo/list",params:e,handleError:!0}));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getProjectInfoPage",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o["default"])({method:"get",url:"v1/projectInfo/page",params:e,handleError:!0}));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getProjectStatistics",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o["default"])({method:"get",url:"v1/projectInfo/hourStatistics",params:e,handleError:!0}));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"getProjectStatisticsUnconfirm",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e){return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,o["default"])({method:"get",url:"v1/projectInfo/all/hourStatistics",params:e,handleError:!0}));case 1:case"end":return t.stop()}}),t)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"editProjectSetUp",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e,r){var u;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.put)("v1/projectInfo/projectSetUp/".concat(e),r);case 2:return u=t.sent,t.abrupt("return",u);case 4:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"editProjectInfoStart",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e,r){var u;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.put)("v1/projectInfo/projectStart/".concat(e),r);case 2:return u=t.sent,t.abrupt("return",u);case 4:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"editProjectInfoComplete",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e,r){var u;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.put)("v1/projectInfo/projectComplete/".concat(e),r);case 2:return u=t.sent,t.abrupt("return",u);case 4:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"editProjectInfoTermination",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e,r){var u;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.put)("v1/projectInfo/projectTermination/".concat(e),r);case 2:return u=t.sent,t.abrupt("return",u);case 4:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"editProjectHours",value:function(){var t=(0,u.A)((0,n.A)().mark((function t(e,r){var u;return(0,n.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.put)("v1/projectInfo/projectHours/".concat(e),r);case 2:return u=t.sent,t.abrupt("return",u);case 4:case"end":return t.stop()}}),t)})));function e(e,r){return t.apply(this,arguments)}return e}()},{key:"getProjectBoard",value:function(t){return(0,o["default"])({method:"post",url:"v1/projectInfo/board",data:t,handleError:!0})}},{key:"editProjectProBusDate",value:function(t,e){var r=(0,o.put)("v1/projectInfo/projectProBusDate/".concat(t),e);return r}},{key:"getProjectBoardByMonth",value:function(t){return(0,o["default"])({method:"post",url:"v1/projectInfo/board/month",data:t,handleError:!0})}}])}();e["default"]=new i}}]);
|