acdr-ui/dist/build/mp-weixin/modules/mall/order/aftersale/log.js

2 lines
943 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";const e=require("../../../../common/vendor.js"),t=require("../../../../sheep/api/trade/afterSale.js");if(!Array){(e.resolveComponent("s-layout")+e.resolveComponent("layout-default-uni"))()}Math||(a+(()=>"../../../../sheep/components/s-layout/s-layout.js"))();const a=()=>"./log-item.js",o={__name:"log",setup(a){const o=e.reactive({list:[]});function s(e){return a=this,s=null,r=function*(){const{data:a}=yield t.AfterSaleApi.getAfterSaleLogList(e);o.list=a},new Promise(((e,t)=>{var o=e=>{try{i(r.next(e))}catch(a){t(a)}},n=e=>{try{i(r.throw(e))}catch(a){t(a)}},i=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,n);i((r=r.apply(a,s)).next())}));var a,s,r}return e.onLoad((e=>{o.aftersaleId=e.id,s(e.id)})),(t,a)=>({a:e.f(o.list,((t,a,s)=>({a:"700e8ec9-2-"+s+",700e8ec9-1",b:e.p({item:t,index:a,data:o.list}),c:t.id}))),b:e.p({title:"售后进度"})})}},s=e._export_sfc(o,[["__scopeId","data-v-700e8ec9"]]);wx.createPage(s);