This commit is contained in:
2022-03-21 11:16:38 +08:00
commit e89e807c64
1040 changed files with 284164 additions and 0 deletions

View File

@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c1a3e94"],{"97d3":function(t,e,r){},eb97:function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"setmeal"},[r("div",{staticClass:"setmeal__h"},[r("p",{staticClass:"setmeal__h--p"},[t._v(" "+t._s(t.$t("orderlist_1"))+" ")])]),r("Table",{staticClass:"ListTab",attrs:{border:"",loading:t.disabledTab,columns:t.columnsList,data:t.dataList},scopedSlots:t._u([{key:"price",fn:function(e){var a=e.row;return[r("p",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("my_order_list_1"))+t._s(a.price))])]}},{key:"expire_time",fn:function(t){t.row}},{key:"order_status_name",fn:function(e){var a=e.row;return[0===a.order_status?r("router-link",{attrs:{to:{name:"placeAnOrder",query:{product_id:a.product_id,order_id:a.order_id,type:"non_payment"}}}},[r("p",[t._v(t._s(a.order_status_name))])]):r("p",[t._v(t._s(a.order_status_name))])]}}])}),r("div",{staticClass:"pagination"},[r("Page",{attrs:{total:t.total,"show-elevator":"","show-sizer":""},on:{"on-page-size-change":t.changeSize,"on-change":t.changePage}})],1)],1)},n=[],s=r("f8b7"),o=r("c276"),i={name:"",data:function(){return{access_token:Object(o["g"])(),orderId:0,disabledTab:!1,modalLoad:!1,dataList:[],columnsList:[{title:this.$t("orderlist_2"),key:"order_id",align:"center"},{title:this.$t("my_order_list_2"),key:"order_name",align:"center"},{title:this.$t("orderlist_3"),key:"num",align:"center"},{title:this.$t("orderlist_4"),key:"price",slot:"price",align:"center"},{title:this.$t("orderlist_5"),key:"pay_type_desc",align:"center"},{title:this.$t("orderlist_6"),key:"add_time",align:"center"},{title:this.$t("orderlist_7"),key:"order_status_name",slot:"order_status_name",align:"center"}],total:0,page:1,perpage:10,orderDataModal:!1,orderData:{order_id:"",username:"",num:"1",price:"",order_status:10,op:"none"},orderStatusList:[]}},created:function(){this.getOrderList()},methods:{getOrderList:function(){var t=this;this.disabledTab=!0;var e=new FormData;e.append("access_token",this.access_token),e.append("page",this.page),e.append("perpage",this.perpage),Object(s["c"])(e).then((function(e){t.dataList=e.data.items,t.total=e.data.total,t.disabledTab=!1}))},changeSize:function(t){this.perpage=t,this.getOrderList()},changePage:function(t){this.page=t,this.getOrderList()}}},l=i,d=(r("f3a5"),r("4ac2")),u=Object(d["a"])(l,a,n,!1,null,null,null);e["default"]=u.exports},f3a5:function(t,e,r){"use strict";r("97d3")},f8b7:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"f",(function(){return s})),r.d(e,"g",(function(){return o})),r.d(e,"h",(function(){return i})),r.d(e,"e",(function(){return l})),r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return u})),r.d(e,"d",(function(){return c}));var a=r("66df"),n=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.CreateOrder",data:t})},s=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.PreviewOrder",data:t})},o=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.PreviewPay",data:t})},i=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.StartPay",data:t})},l=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.PaySuccess",data:t})},d=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.GetMyOrderList",data:t})},u=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.GetMyFlowList",data:t})},c=function(t){return a["a"].request({method:"post",url:"platform.php?s=Platform.Mall_Mall.GetProductMoreList",data:t})}}}]);