| 1 |
- require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/after_sale/after_sale"],{"317f":function(e,t,n){"use strict";var i=n("729c"),s=n.n(i);s.a},"35a7":function(e,t,n){"use strict";n.r(t);var i=n("d2f3"),s=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(u);t["default"]=s.a},"6aca":function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return i}));var i={uTabs:function(){return n.e("components/uview-ui/components/u-tabs/u-tabs").then(n.bind(null,"6470"))},mescrollUni:function(){return Promise.all([n.e("common/vendor"),n.e("components/mescroll-uni/mescroll-uni")]).then(n.bind(null,"01b6"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"566d"))},price:function(){return n.e("components/price/price").then(n.bind(null,"1266"))},uModal:function(){return n.e("components/uview-ui/components/u-modal/u-modal").then(n.bind(null,"e709"))}},s=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.showCancel=!1}),e.$mp.data=Object.assign({},{$root:{a0:{"border-left":"1rpx solid #e5e5e5"}}})},u=[]},"729c":function(e,t,n){e.exports={red_theme:"#FF2C3C",orange_theme:"#f7971e",pink_theme:"#fa444d",gold_theme:"#e0a356",blue_theme:"#2f80ed",green_theme:"#2ec840"}},"9d25":function(e,t,n){"use strict";n.r(t);var i=n("6aca"),s=n("35a7");for(var u in s)["default"].indexOf(u)<0&&function(e){n.d(t,e,(function(){return s[e]}))}(u);n("317f");var a=n("828b"),o=Object(a["a"])(s["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=o.exports},a6d7:function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("b46f");i(n("3240"));var s=i(n("9d25"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(s.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},d2f3:function(e,t,n){"use strict";var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n("0669"),u=i(n("2bc2")),a=i(n("5fa9")),o={mixins:[u.default,a.default],data:function(){return{showCancel:!1,master_id:"",list:[{tabsName:"售后中",isShow:!0,type:"status_ing"},{tabsName:"售后完成",isShow:!1,type:"status_success"},{tabsName:"售后失败",isShow:!1,type:"status_fail"}],current:0,lists:[],downOption:{auto:!1},upOption:{auto:!0,noMoreSize:4,empty:{icon:"/static/images/empty/order.png",tip:"暂无售后数据",fixed:!0,top:"200rpx"}}}},methods:{toExpressInfo:function(e,t){this.$Router.push({path:"/bundle/pages/input_express_info/input_express_info",query:{id:t.master_id,order_id:t.sub_id,change:e}})},change:function(e){for(var t=0;t<this.list.length;t++)this.list[t].isShow=!1;this.current=e,this.upCallback({num:1,size:10}),this.list[e].isShow=!0},upCallback:function(e){var t=this,n=e.num,i=e.size;(0,s.apiAfterSaleList)({type:this.list[this.current].type,page_no:n,page_size:i}).then((function(n){1==e.num&&(t.lists=[]),t.lists=t.lists.concat(n.lists),t.mescroll.endSuccess(n.lists.length,n.count)})).catch((function(e){t.mescroll.endErr()}))},openCancel:function(e){this.showCancel=!0,this.master_id=this.lists[e].master_id},cancelApplyFun:function(){var e=this;(0,s.apiAfterSaleCancel)({id:this.master_id}).then((function(t){e.upCallback({num:1,size:10}),e.$toast({title:"取消成功"})}))},goPage:function(e,t){this.$Router.push({path:e,query:{id:t}})}},onShow:function(){this.upCallback({num:1,size:10})}};t.default=o}},[["a6d7","common/runtime","common/vendor","bundle/common/vendor"]]]);
|