shop-redeem-order.15aa292d.js 23 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["shop-redeem-order"],{"0f91":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],attrs:{id:"RedeemOrder","element-loading-background":"rgba(43, 48, 67, 0.65)","element-loading-spinner":"el-icon-loading"}},[r("div",{staticClass:"crm-title-box"},[r("div",{staticClass:"header"},[r("span",{staticClass:"user"},[r("i",{staticClass:"iconfont iconyonghu1"}),r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Global.CID",expression:"'Shop.Global.CID'"}]}),e._v(": "+e._s(e.user)+" ")]),r("span",{staticClass:"point"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Global.Points",expression:"'Shop.Global.Points'"}]}),e._v(": "+e._s(e._f("NumberFormat1")(e.point)))])])]),r("div",{staticClass:"main-content"},[r("el-row",{staticClass:"title-box",attrs:{gutter:10}},[r("el-col",{staticClass:"title",attrs:{xs:8,sm:24,md:24,lg:6}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.ExchangeOrder",expression:"'Shop.Order.ExchangeOrder'"}],staticClass:"content"})]),r("el-col",{staticClass:"search",attrs:{xs:16,sm:24,md:24,lg:18}},[r("el-select",{staticClass:"option",staticStyle:{width:"150px"},attrs:{placeholder:e.$t("placeholder.choose"),size:"small"},model:{value:e.search.status,callback:function(t){e.$set(e.search,"status",t)},expression:"search.status"}},[r("el-option",{attrs:{label:e.$t("State.All"),value:null},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("Shop.Order.BackgroundCancel"),value:-2},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("Shop.Order.UserCancel"),value:-1},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("Shop.Order.Undelivered"),value:0},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("Shop.Order.ToBeDelivered"),value:1},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("Shop.Order.Delivered"),value:2},nativeOn:{click:function(t){return e.toSearch(t)}}}),r("el-option",{attrs:{label:e.$t("Shop.Order.Completed"),value:3},nativeOn:{click:function(t){return e.toSearch(t)}}})],1),r("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no crm-date-picker-redeem",attrs:{type:"daterange","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("placeholder.Start"),"end-placeholder":e.$t("placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),r("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.toSearch}})],1)],1),r("el-row",[r("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.mock_data,height:"640"}},[r("el-table-column",{attrs:{label:e.$t("Shop.Order.OrderDetails"),width:"480"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"orderNo"},[e._v(" "+e._s(t.row.addTime||"--")+" "),r("span",{staticClass:"no"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.OrderNumber",expression:"'Shop.Order.OrderNumber'"}]}),r("strong",[e._v(e._s(t.row.serial||"--"))])])]),r("el-row",{staticClass:"box"},[r("el-col",{staticClass:"left",attrs:{span:6}},e._l(t.row.files,(function(t){return r("img",{directives:[{name:"show",rawName:"v-show",value:t.banner,expression:"item1.banner"}],key:t.id,staticClass:"img",attrs:{src:e.url+t.path,alt:"",srcset:""}})})),0),r("el-col",{staticClass:"right",attrs:{span:18}},[r("div",{staticClass:"top"},[e._v(e._s(t.row.commodityName||"--"))]),r("div",{staticClass:"bottom"})])],1)]}}])}),r("el-table-column",{attrs:{label:e.$t("Shop.Order.Consignee"),width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"orderNo"}),r("div",{staticClass:"content"},[r("span",[e._v(e._s(t.row.name||"--"))]),r("el-popover",{attrs:{trigger:"hover",placement:"left"}},[r("div",[e._v(e._s(t.row.name||"--")),r("br"),e._v(e._s(t.row.address||"--")),r("br"),e._v(e._s(t.row.contact||"--"))]),r("div",{staticClass:"name-wrapper",attrs:{slot:"reference"},slot:"reference"},[r("span",{staticStyle:{"margin-left":"5px","font-size":"16px"}},[r("i",{staticClass:"el-icon-info"})])])])],1)]}}])}),r("el-table-column",{attrs:{label:e.$t("Shop.Order.ProductFraction"),width:""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"orderNo"}),r("div",{staticClass:"content"},[e._v(e._s(e._f("NumberFormat")(t.row.integral||"0")))])]}}])}),r("el-table-column",{attrs:{label:e.$t("Shop.Order.OrderStatus"),width:""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"orderNo"}),-1==t.row.status?r("div",{staticClass:"content"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.UserCancel",expression:"'Shop.Order.UserCancel'"}]})]):e._e(),-2==t.row.status?r("div",{staticClass:"content"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.BackgroundCancel",expression:"'Shop.Order.BackgroundCancel'"}]})]):e._e(),0==t.row.status?r("div",{staticClass:"content"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.Undelivered",expression:"'Shop.Order.Undelivered'"}]})]):e._e(),1==t.row.status?r("div",{staticClass:"content"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.ToBeDelivered",expression:"'Shop.Order.ToBeDelivered'"}]})]):e._e(),2==t.row.status?r("div",{staticClass:"content"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.Delivered",expression:"'Shop.Order.Delivered'"}]})]):e._e(),3==t.row.status?r("div",{staticClass:"content"},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.Completed",expression:"'Shop.Order.Completed'"}]})]):e._e()]}}])}),r("el-table-column",{attrs:{label:e.$t("Shop.Order.TrackingNumber"),width:""},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"orderNo"}),r("div",{staticClass:"content"},[e._v(e._s(t.row.trackingNumber||"--"))])]}}])}),r("el-table-column",{attrs:{label:e.$t("Shop.Order.Operation"),width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"orderNo"}),r("div",{staticClass:"content",staticStyle:{"flex-wrap":"wrap","align-content":"center"}},[2==t.row.status?r("el-button",{staticStyle:{margin:"5px"},attrs:{size:"mini"},on:{click:function(r){return e.handleDialog(2,t.row)}}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.ConfirmReceipt",expression:"'Shop.Order.ConfirmReceipt'"}]})]):e._e(),0==t.row.status?r("el-button",{staticStyle:{margin:"5px"},attrs:{size:"mini",type:"danger"},on:{click:function(r){return e.handleDialog(0,t.row)}}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.cancellationOfOrder",expression:"'Shop.Order.cancellationOfOrder'"}]})]):e._e(),0==t.row.status?r("el-button",{staticStyle:{margin:"5px"},attrs:{size:"mini"},on:{click:function(r){return e.handleDialog(1,t.row)}}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.EditOrder",expression:"'Shop.Order.EditOrder'"}]})]):e._e()],1)]}}])})],1)],1),e.pagerInfo.rowTotal?r("el-pagination",{staticClass:"pagination",attrs:{background:"",layout:"prev, pager, next","page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange}}):e._e()],1),r("el-dialog",{attrs:{visible:e.dialogShow,width:"640px",center:""},on:{"update:visible":function(t){e.dialogShow=t}}},[r("div",{staticClass:"dialog-title",class:{"dialog-cancel":0==e.dialogController.type},attrs:{slot:"title"},slot:"title"},[e._v(" "+e._s(e.dialogController.title)+" ")]),r("el-row",{staticClass:"dialog-item"},[r("el-col",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.Commodity",expression:"'Shop.Order.Commodity'"}],staticClass:"label",attrs:{span:4}}),r("el-col",{attrs:{span:20}},[r("el-row",{staticClass:"box"},[r("el-col",{staticClass:"left",attrs:{span:6}},e._l(e.dialogData.files,(function(t){return r("img",{directives:[{name:"show",rawName:"v-show",value:t.banner,expression:"item1.banner"}],key:t.id,staticClass:"img",attrs:{src:e.url+t.path,alt:"",srcset:""}})})),0),r("el-col",{staticClass:"right",attrs:{span:18}},[r("div",{staticClass:"top"},[e._v(e._s(e.dialogData.commodityName||"--"))])])],1)],1)],1),r("el-row",{staticClass:"dialog-item"},[r("el-col",{staticClass:"label",attrs:{span:4}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Order.ProductFraction",expression:"'Shop.Order.ProductFraction'"}]}),e._v(":")]),r("el-col",{staticClass:"point-color",attrs:{span:20}},[e._v(e._s(e._f("NumberFormat")(e.dialogData.integral||"0")))])],1),1!=e.dialogController.type?r("el-row",{staticClass:"dialog-item"},[r("el-col",{staticClass:"label",attrs:{span:4}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Address.Consignee",expression:"'Shop.Address.Consignee'"}]})]),r("el-col",{attrs:{span:20}},[e._v(e._s(e.dialogData.name||"--"))])],1):e._e(),1!=e.dialogController.type?r("el-row",{staticClass:"dialog-item"},[r("el-col",{staticClass:"label",attrs:{span:4}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Address.DetailedAddress:",expression:"'Shop.Address.DetailedAddress'+':'"}]})]),r("el-col",{attrs:{span:20}},[e._v(e._s(e.dialogData.address||"--"))])],1):e._e(),1==e.dialogController.type?r("el-row",{staticClass:"dialog-item"},[r("el-col",{staticClass:"label",attrs:{span:4}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Address.DetailedAddress:",expression:"'Shop.Address.DetailedAddress'+':'"}]})]),r("el-col",{attrs:{span:20}},[r("el-select",{staticClass:"address",attrs:{placeholder:e.$t("placeholder.choose")},model:{value:e.dialogData.addressId,callback:function(t){e.$set(e.dialogData,"addressId",t)},expression:"dialogData.addressId"}},e._l(e.addressList,(function(t){return r("el-option",{key:t.id,attrs:{label:t.address,value:t.id}},[r("span",{staticStyle:{float:"left"}},[e._v(e._s(t.address))]),r("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.name))])])})),1)],1)],1):e._e(),1==e.dialogController.type?r("el-row",{staticClass:"dialog-item"},[r("el-col",{staticClass:"label",attrs:{span:4}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Index.Remark",expression:"'Shop.Index.Remark'"}]})]),r("el-col",{attrs:{span:20}},[r("el-input",{staticClass:"select",attrs:{type:"textarea",rows:2},model:{value:e.dialogData.remark,callback:function(t){e.$set(e.dialogData,"remark",t)},expression:"dialogData.remark"}})],1)],1):e._e(),1!=e.dialogController.type?r("el-row",{staticClass:"dialog-item"},[r("el-col",{staticClass:"label",attrs:{span:4}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Shop.Address.MobilePhone",expression:"'Shop.Address.MobilePhone'"}]})]),r("el-col",{attrs:{span:20}},[e._v(e._s(e.dialogData.contact||"--"))])],1):e._e(),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.handleOrder(e.dialogData)}}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Confirm",expression:"'Btn.Confirm'"}]})]),r("el-button",{on:{click:function(t){e.dialogShow=!1}}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"Btn.Cancel",expression:"'Btn.Cancel'"}]})])],1)],1)],1)},n=[],s=(r("ac1f"),r("841c"),r("5530")),o=(r("96cf"),r("1da1")),i=r("0ffe"),l=r("f121"),c=r.n(l),u=c.a.Code,d={name:"RedeemOrder",data:function(){return{pictLoading:!1,user:"--",point:"--",mock_data:[],dialogShow:!1,dialogController:{title:"取消订单",type:0},dialogData:{},mock_colors:["红色","黑色","蓝色","紫色"],addressList:["地址1","地址2"],address:"",url:c.a.HostShopImg,search:{status:null,date:[],startDate:"",endDate:""},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},methods:{handleDialog:function(e,t){switch(this.dialogData=t,e){case 0:this.dialogController.title=this.$i18n.t("Shop.Order.cancellationOfOrder"),this.dialogController.type=0,this.dialogShow=!0;break;case 1:this.dialogController.title=this.$i18n.t("Shop.Order.EditOrder"),this.dialogController.type=1,this.dialogShow=!0;break;case 2:this.dialogController.title=this.$i18n.t("Shop.Order.ConfirmReceipt"),this.dialogController.type=2,this.dialogShow=!0;break;default:alert("system error"),this.dialogShow=!1;break}},handleOrder:function(e){switch(this.dialogController.type){case 0:this.orderCancel(e.id);break;case 1:this.orderUpdate(e);break;case 2:this.orderComplete(e.id);break}},orderComplete:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,i["a"].orderComplete({id:e});case 2:a=r.sent,a.code==u.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.dialogShow=!1,t.toSearch()):t.$pigeon.MessageError(a.msg);case 4:case"end":return r.stop()}}),r)})))()},orderCancel:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,i["a"].orderCancel({id:e});case 2:a=r.sent,a.code==u.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.dialogShow=!1,t.toSearch()):t.$pigeon.MessageError(a.msg);case 4:case"end":return r.stop()}}),r)})))()},orderUpdate:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function r(){var a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,i["a"].orderUpdate({id:e.id,addressId:e.addressId,remark:e.remark,number:1});case 2:a=r.sent,a.code==u.StatusOK?(t.$pigeon.MessageOK(t.$i18n.t("Msg.Success")),t.dialogShow=!1,t.toSearch()):t.$pigeon.MessageError(a.msg);case 4:case"end":return r.stop()}}),r)})))()},getPoint:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i["a"].customBalance();case 2:r=t.sent,r.code==u.StatusOK?e.point=r.data:e.$pigeon.MessageError(r.msg);case 4:case"end":return t.stop()}}),t)})))()},searchFunc:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.pictLoading=!0,null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),t.next=4,i["a"].orderList(Object(s["a"])(Object(s["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 4:r=t.sent,r.code==u.StatusOK?(e.mock_data=r.data,null!=r.page?(e.pagerInfo.rowTotal=r.page.rowTotal,e.pagerInfo.pageTotal=r.page.pageTotal):e.pagerInfo.rowTotal=0,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1):(e.$pigeon.MessageError(r.msg),e.pictLoading=!1);case 6:case"end":return t.stop()}}),t)})))()},getAddressList:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i["a"].addressList({page:{current:e.pagerInfo.current,row:e.pagerInfo.row}});case 2:r=t.sent,r.code==u.StatusOK?e.addressList=r.data:e.$pigeon.MessageError(r.msg);case 4:case"end":return t.stop()}}),t)})))()},toSearch:function(){this.pagerInfo.current=1,this.searchFunc()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.user=JSON.parse(this.Session.Get("user",!0)).customInfo.cId,this.getPoint(),this.searchFunc(),this.getAddressList()}},p=d,h=(r("c623"),r("2877")),v=Object(h["a"])(p,a,n,!1,null,null,null);t["default"]=v.exports},"0ffe":function(e,t,r){"use strict";r("96cf");var a=r("1da1"),n=r("d4ec"),s=r("bee2"),o=r("262e"),i=r("2caf"),l=r("ff2d"),c=r("bc3a"),u=r.n(c),d=r("f121"),p=r.n(d),h=function(e){Object(o["a"])(r,e);var t=Object(i["a"])(r);function r(){var e;return Object(n["a"])(this,r),e=t.call(this),u.a.defaults.baseURL=p.a.HostShop,e}return Object(s["a"])(r,[{key:"getShopToken",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("Host80","/shop/custom/info/loginByCId",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customBalance",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/custom/balance",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"customLntegralList",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/custom/integral/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"commodityTypeList",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/commodity/type/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"commodityList",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/commodity/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"commoditySingle",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/commodity/search/single",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"orderAdd",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/order/add",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"orderUpdate",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/order/update",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"orderCancel",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/order/cancel",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"orderComplete",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/order/complete",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"orderList",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/order/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"orderSingle",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/order/search/single",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"addressAdd",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/custom/address/add",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"addressDelete",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/custom/address/delete",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"addressUpdate",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/custom/address/update",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"addressList",value:function(){var e=Object(a["a"])(regeneratorRuntime.mark((function e(){var t,r,a=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,this.postAll("HostShop","/custom/address/search/list",t);case 3:return r=e.sent,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}]),r}(l["a"]);t["a"]=new h},a677:function(e,t,r){},c623:function(e,t,r){"use strict";var a=r("a677"),n=r.n(a);n.a}}]);