2 lines
931 B
JavaScript
2 lines
931 B
JavaScript
"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:"c33eeb9a-2-"+s+",c33eeb9a-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-c33eeb9a"]]);wx.createPage(s);
|