1 |
- import{d as G,r as i,f as H,B as P,o as n,c as f,i as e,w as t,a as l,Q as F,F as b,k as V,l as h,j as D,C as M,U as j,H as Z,D as q,G as J,I as L,v as Q,J as X,K as W,L as $,M as ee,N as ae,_ as le,__tla as te}from"./index-af173888.js";import{_ as re,__tla as se}from"./index-a33d7937.js";import{_ as oe,__tla as ne}from"./DictTag-4a35e2b7.js";import{E as ue,__tla as ie}from"./el-avatar-d6d93c05.js";import{_ as pe,__tla as _e}from"./ContentWrap-b959c1be.js";import{a as k,D as p,__tla as de}from"./dict-093d1dfa.js";import{d as U,__tla as me}from"./formatTime-8a6f6c49.js";import{g as ce,__tla as fe}from"./index-4eda4f25.js";import{f as be,__tla as he}from"./formatter-fe7c8d2a.js";import{__tla as ye}from"./index-54b8f773.js";import"./color-6e929987.js";import{__tla as we}from"./el-card-178b9654.js";let B,ge=Promise.all([(()=>{try{return te}catch{}})(),(()=>{try{return se}catch{}})(),(()=>{try{return ne}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return we}catch{}})()]).then(async()=>{B=le(G({name:"TradeBrokerageRecord",__name:"index",setup(ve){const _=i(!0),y=i(0),w=i([]),r=H({pageNo:1,pageSize:10,userId:null,bizType:null,price:null,status:null,createTime:[]}),g=i(),d=async()=>{_.value=!0;try{const c=await ce(r);w.value=c.list,y.value=c.total}finally{_.value=!1}},m=()=>{r.pageNo=1,d()},I=()=>{g.value.resetFields(),m()};return P(()=>{d()}),(c,s)=>{const O=j,u=Z,v=q,R=J,A=L,T=Q,x=X,C=W,E=pe,o=$,S=ue,z=oe,K=ee,N=re,Y=ae;return n(),f(b,null,[e(E,null,{default:t(()=>[e(C,{class:"-mb-15px",model:l(r),ref_key:"queryFormRef",ref:g,inline:!0,"label-width":"68px"},{default:t(()=>[e(u,{label:"\u7528\u6237\u7F16\u53F7",prop:"userId"},{default:t(()=>[e(O,{modelValue:l(r).userId,"onUpdate:modelValue":s[0]||(s[0]=a=>l(r).userId=a),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7F16\u53F7",clearable:"",onKeyup:F(m,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(u,{label:"\u4E1A\u52A1\u7C7B\u578B",prop:"bizType"},{default:t(()=>[e(R,{modelValue:l(r).bizType,"onUpdate:modelValue":s[1]||(s[1]=a=>l(r).bizType=a),placeholder:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u7C7B\u578B",clearable:"",class:"!w-240px"},{default:t(()=>[(n(!0),f(b,null,V(l(k)(l(p).BROKERAGE_RECORD_BIZ_TYPE),a=>(n(),h(v,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"\u72B6\u6001",prop:"status"},{default:t(()=>[e(R,{modelValue:l(r).status,"onUpdate:modelValue":s[2]||(s[2]=a=>l(r).status=a),placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",clearable:"",class:"!w-240px"},{default:t(()=>[(n(!0),f(b,null,V(l(k)(l(p).BROKERAGE_RECORD_STATUS),a=>(n(),h(v,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(u,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[e(A,{modelValue:l(r).createTime,"onUpdate:modelValue":s[3]||(s[3]=a=>l(r).createTime=a),"value-format":"YYYY-MM-DD HH:mm:ss",type:"daterange","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F","default-time":[new Date("1 00:00:00"),new Date("1 23:59:59")],class:"!w-240px"},null,8,["modelValue","default-time"])]),_:1}),e(u,null,{default:t(()=>[e(x,{onClick:m},{default:t(()=>[e(T,{icon:"ep:search",class:"mr-5px"}),D(" \u641C\u7D22")]),_:1}),e(x,{onClick:I},{default:t(()=>[e(T,{icon:"ep:refresh",class:"mr-5px"}),D(" \u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(E,null,{default:t(()=>[M((n(),h(K,{data:l(w),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(o,{label:"\u7F16\u53F7",align:"center",prop:"id","min-width":"60"}),e(o,{label:"\u7528\u6237\u7F16\u53F7",align:"center",prop:"userId","min-width":"80"}),e(o,{label:"\u5934\u50CF",align:"center",prop:"userAvatar",width:"70px"},{default:t(a=>[e(S,{src:a.row.userAvatar},null,8,["src"])]),_:1}),e(o,{label:"\u6635\u79F0",align:"center",prop:"userNickname","min-width":"80px"}),e(o,{label:"\u4E1A\u52A1\u7C7B\u578B",align:"center",prop:"bizType","min-width":"85"},{default:t(a=>[e(z,{type:l(p).BROKERAGE_RECORD_BIZ_TYPE,value:a.row.bizType},null,8,["type","value"])]),_:1}),e(o,{label:"\u4E1A\u52A1\u7F16\u53F7",align:"center",prop:"bizId","min-width":"80"}),e(o,{label:"\u6807\u9898",align:"center",prop:"title","min-width":"110"}),e(o,{label:"\u91D1\u989D",align:"center",prop:"price","min-width":"60",formatter:l(be)},null,8,["formatter"]),e(o,{label:"\u8BF4\u660E",align:"center",prop:"description","min-width":"120"}),e(o,{label:"\u72B6\u6001",align:"center",prop:"status","min-width":"85"},{default:t(a=>[e(z,{type:l(p).BROKERAGE_RECORD_STATUS,value:a.row.status},null,8,["type","value"])]),_:1}),e(o,{label:"\u89E3\u51BB\u65F6\u95F4",align:"center",prop:"unfreezeTime",formatter:l(U),width:"180px"},null,8,["formatter"]),e(o,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:l(U),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[Y,l(_)]]),e(N,{total:l(y),page:l(r).pageNo,"onUpdate:page":s[4]||(s[4]=a=>l(r).pageNo=a),limit:l(r).pageSize,"onUpdate:limit":s[5]||(s[5]=a=>l(r).pageSize=a),onPagination:d},null,8,["total","page","limit"])]),_:1})],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/trade/brokerage/record/index.vue"]])});export{ge as __tla,B as default};
|