MerchantApplyLog-9caa285d.js 2.0 KB

1
  1. import{_ as b,__tla as k}from"./index-34771a13.js";import{_ as D,r as o,f as I,l as N,a as t,o as y,c as h,g as l,w as n,n as _,t as c,H as Y,I as A,__tla as H}from"./index-52b99925.js";import{f as L,__tla as S}from"./formatTime-16b790f5.js";import{M as T,__tla as C}from"./index-f9bb36be.js";import{u as P,__tla as U}from"./useMessage-c41e583e.js";import{__tla as j}from"./index-af0729b2.js";let v,B=Promise.all([(()=>{try{return k}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return S}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return j}catch{}})()]).then(async()=>{let m,u;m={key:0,style:{"margin-top":"10px",padding:"10px"}},u={key:1,style:{"text-align":"center","margin-top":"50px","font-size":"14px"}},v=D({__name:"MerchantApplyLog",props:{id:{default:null,type:Number},isDetail:{default:!1,type:Boolean}},setup(w){P();const d=o(!0),g=o(0),s=o([]),e=I({pageNo:1,pageSize:10,merchantId:void 0}),x=w.id;o();const f=async()=>{d.value=!0;try{const i=await T.getApplyList(e);s.value=i.list,g.value=i.total}finally{d.value=!1}};return N(()=>{e.merchantId=x,f()}),(i,r)=>{const p=Y,z=A,M=b;return t(s).length>0?(y(),h("div",m,[l(z,{data:t(s),stripe:!0,"show-overflow-tooltip":!0},{default:n(()=>[l(p,{label:"\u72B6\u6001",align:"center",prop:"createTime"},{default:n(a=>[_(c(a.row.status===1?"\u901A\u8FC7":"\u62D2\u7EDD"),1)]),_:1}),l(p,{label:"\u5BA1\u6838\u65F6\u95F4",align:"center",prop:"createTime"},{default:n(a=>[_(c(t(L)(a.row.createTime,"YYYY-MM-DD HH:mm")),1)]),_:1}),l(p,{label:"\u63CF\u8FF0",align:"center",prop:"checkComment"},{default:n(a=>[_(c(a.row.checkComment),1)]),_:1})]),_:1},8,["data"]),l(M,{total:t(g),page:t(e).pageNo,"onUpdate:page":r[0]||(r[0]=a=>t(e).pageNo=a),limit:t(e).pageSize,"onUpdate:limit":r[1]||(r[1]=a=>t(e).pageSize=a),onPagination:f},null,8,["total","page","limit"])])):(y(),h("div",u," \u6682\u65E0\u7533\u8BF7\u8BB0\u5F55 "))}}},[["__scopeId","data-v-8b8a19fa"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/sale/merchant/components/MerchantApplyLog.vue"]])});export{B as __tla,v as default};