|
|
-import{e as t,f as a,w as s,j as e,z as l,g as i,p as o,t as d,u as c,s as n,C as r,i as u,v as m,o as f,l as _,k as p,r as y,F as x,m as g}from"./index-dbde5901.js";import{_ as j}from"./s-layout.9994effa.js";import{_ as b}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.9a93e062.js";const v=b({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,_)=>{const p=r,y=u;return t(),a(y,{class:"log-item ss-flex"},{default:s((()=>[e(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[e(p,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),a(y,{key:0,class:"line"})):i("",!0)])),_:1}),e(y,null,{default:s((()=>[e(y,{class:"text"},{default:s((()=>[o(d(m.item.content),1)])),_:1}),e(y,{class:"date"},{default:s((()=>[o(d(c(n).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bc3922ca"]]),k=b({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:a}=await h.getAfterSaleLogList(t);i.list=a}(t.id)})),(l,o)=>{const d=u,c=_(g("s-layout"),j);return t(),a(c,{title:"售后进度"},{default:s((()=>[e(d,{class:"log-box"},{default:s((()=>[(t(!0),p(x,null,y(i.list,((l,o)=>(t(),a(d,{key:l.id},{default:s((()=>[e(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-9849747c"]]);export{k as default};
|
|
|
+import{e as t,f as a,w as s,j as e,z as l,g as i,p as o,t as d,u as c,s as n,C as r,i as u,v as m,o as f,l as _,k as p,r as y,F as x,m as g}from"./index-ee2086eb.js";import{_ as j}from"./s-layout.b3f2aeb1.js";import{_ as b}from"./_plugin-vue_export-helper.1b428a4d.js";import{A as h}from"./afterSale.17e01a66.js";const v=b({__name:"log-item",props:{item:{type:Object,default(){}},index:{type:Number,default:0},data:{type:Object,default(){}}},setup:m=>(f,_)=>{const p=r,y=u;return t(),a(y,{class:"log-item ss-flex"},{default:s((()=>[e(y,{class:"log-icon ss-flex-col ss-col-center ss-m-r-20"},{default:s((()=>[e(p,{class:l(["cicon-title",0===m.index?"activity-color":""])},null,8,["class"]),m.data.length-1!==m.index?(t(),a(y,{key:0,class:"line"})):i("",!0)])),_:1}),e(y,null,{default:s((()=>[e(y,{class:"text"},{default:s((()=>[o(d(m.item.content),1)])),_:1}),e(y,{class:"date"},{default:s((()=>[o(d(c(n).$helper.timeFormat(m.item.createTime,"yyyy-mm-dd hh:MM:ss")),1)])),_:1})])),_:1})])),_:1})}},[["__scopeId","data-v-bc3922ca"]]),k=b({__name:"log",setup(l){const i=m({list:[]});return f((t=>{i.aftersaleId=t.id,async function(t){const{data:a}=await h.getAfterSaleLogList(t);i.list=a}(t.id)})),(l,o)=>{const d=u,c=_(g("s-layout"),j);return t(),a(c,{title:"售后进度"},{default:s((()=>[e(d,{class:"log-box"},{default:s((()=>[(t(!0),p(x,null,y(i.list,((l,o)=>(t(),a(d,{key:l.id},{default:s((()=>[e(v,{item:l,index:o,data:i.list},null,8,["item","index","data"])])),_:2},1024)))),128))])),_:1})])),_:1})}}},[["__scopeId","data-v-9849747c"]]);export{k as default};
|