MerchantApplyLog-09ed20c3.js 2.1 KB

1
  1. import{_ as M,__tla as D}from"./index-40a9fc0c.js";import{_ as Y,r as o,x as k,b as A,a as t,o as y,c as h,f as l,A as s,D as _,E as c,X as N,Y as I,__tla as L}from"./index-0b2503c4.js";import{f as S,__tla as T}from"./formatTime-9069dda3.js";import{M as C,__tla as H}from"./index-675899e2.js";import{u as P,__tla as U}from"./useMessage-d05433ee.js";import{__tla as j}from"./index-2c2ac611.js";let v,B=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return H}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=Y({__name:"MerchantApplyLog",props:{id:{default:null,type:Number},isDetail:{default:!1,type:Boolean}},setup(x){P();const d=o(!0),f=o(0),n=o([]),e=k({pageNo:1,pageSize:10,merchantId:void 0}),w=x.id;o();const g=async()=>{d.value=!0;try{const i=await C.getApplyList(e);n.value=i.list,f.value=i.total}finally{d.value=!1}};return A(()=>{e.merchantId=w,g()}),(i,r)=>{const p=N,b=I,z=M;return t(n).length>0?(y(),h("div",m,[l(b,{data:t(n),stripe:!0,"show-overflow-tooltip":!0},{default:s(()=>[l(p,{label:"\u72B6\u6001",align:"center",prop:"createTime"},{default:s(a=>[_(c(a.row.status===1?"\u901A\u8FC7":"\u62D2\u7EDD"),1)]),_:1}),l(p,{label:"\u5BA1\u6838\u65F6\u95F4",align:"center",prop:"createTime"},{default:s(a=>[_(c(t(S)(a.row.createTime,"YYYY-MM-DD HH:mm")),1)]),_:1}),l(p,{label:"\u5BA1\u6838\u5185\u5BB9",align:"center",prop:"checkComment"},{default:s(a=>[_(c(a.row.checkComment),1)]),_:1})]),_:1},8,["data"]),l(z,{total:t(f),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:g},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};