1 |
- import{d as N,r as p,f as P,z as F,o as s,c as f,i as e,w as t,a as l,T as H,F as b,C as V,j as h,m as D,D as M,X as q,I as Z,G as j,H as J,p as L,_ as X,q as Q,J as W,K as $,L as ee,M as ae,__tla as le}from"./index-1e808f2e.js";import{_ as te,__tla as re}from"./index.vue_vue_type_script_setup_true_lang-571824c6.js";import{_ as oe,__tla as ne}from"./DictTag.vue_vue_type_script_lang-5c02ebfe.js";import{E as se,__tla as ue}from"./el-avatar-3dcf93b4.js";import{_ as pe,__tla as ie}from"./ContentWrap.vue_vue_type_script_setup_true_lang-cc335a20.js";import{a as I,D as i,__tla as _e}from"./dict-a31cb4ba.js";import{d as U,__tla as de}from"./formatTime-a348c3be.js";import{g as me,__tla as ce}from"./index-23bc9e09.js";import{f as fe,__tla as be}from"./formatter-55e90c25.js";import{__tla as he}from"./index-73afebcf.js";import"./color-6e929987.js";import{__tla as ye}from"./el-card-03b3588b.js";let A,ge=Promise.all([(()=>{try{return le}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return ne}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return be}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ye}catch{}})()]).then(async()=>{A=N({name:"TradeBrokerageRecord",__name:"index",setup(we){const _=p(!0),y=p(0),g=p([]),r=P({pageNo:1,pageSize:10,userId:null,bizType:null,price:null,status:null,createTime:[]}),w=p(),d=async()=>{_.value=!0;try{const c=await me(r);g.value=c.list,y.value=c.total}finally{_.value=!1}},m=()=>{r.pageNo=1,d()},C=()=>{w.value.resetFields(),m()};return F(()=>{d()}),(c,o)=>{const O=q,u=Z,v=j,T=J,k=L,R=X,E=Q,B=W,x=pe,n=$,S=se,z=oe,K=ee,Y=te,G=ae;return s(),f(b,null,[e(x,null,{default:t(()=>[e(B,{class:"-mb-15px",model:l(r),ref_key:"queryFormRef",ref:w,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":o[0]||(o[0]=a=>l(r).userId=a),placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7F16\u53F7",clearable:"",onKeyup:H(m,["enter"]),class:"!w-240px"},null,8,["modelValue"])]),_:1}),e(u,{label:"\u4E1A\u52A1\u7C7B\u578B",prop:"bizType"},{default:t(()=>[e(T,{modelValue:l(r).bizType,"onUpdate:modelValue":o[1]||(o[1]=a=>l(r).bizType=a),placeholder:"\u8BF7\u9009\u62E9\u4E1A\u52A1\u7C7B\u578B",clearable:"",class:"!w-240px"},{default:t(()=>[(s(!0),f(b,null,V(l(I)(l(i).BROKERAGE_RECORD_BIZ_TYPE),a=>(s(),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(T,{modelValue:l(r).status,"onUpdate:modelValue":o[2]||(o[2]=a=>l(r).status=a),placeholder:"\u8BF7\u9009\u62E9\u72B6\u6001",clearable:"",class:"!w-240px"},{default:t(()=>[(s(!0),f(b,null,V(l(I)(l(i).BROKERAGE_RECORD_STATUS),a=>(s(),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(k,{modelValue:l(r).createTime,"onUpdate:modelValue":o[3]||(o[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(E,{onClick:m},{default:t(()=>[e(R,{icon:"ep:search",class:"mr-5px"}),D(" \u641C\u7D22")]),_:1}),e(E,{onClick:C},{default:t(()=>[e(R,{icon:"ep:refresh",class:"mr-5px"}),D(" \u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(x,null,{default:t(()=>[M((s(),h(K,{data:l(g),stripe:!0,"show-overflow-tooltip":!0},{default:t(()=>[e(n,{label:"\u7F16\u53F7",align:"center",prop:"id","min-width":"60"}),e(n,{label:"\u7528\u6237\u7F16\u53F7",align:"center",prop:"userId","min-width":"80"}),e(n,{label:"\u5934\u50CF",align:"center",prop:"userAvatar",width:"70px"},{default:t(a=>[e(S,{src:a.row.userAvatar},null,8,["src"])]),_:1}),e(n,{label:"\u6635\u79F0",align:"center",prop:"userNickname","min-width":"80px"}),e(n,{label:"\u4E1A\u52A1\u7C7B\u578B",align:"center",prop:"bizType","min-width":"85"},{default:t(a=>[e(z,{type:l(i).BROKERAGE_RECORD_BIZ_TYPE,value:a.row.bizType},null,8,["type","value"])]),_:1}),e(n,{label:"\u4E1A\u52A1\u7F16\u53F7",align:"center",prop:"bizId","min-width":"80"}),e(n,{label:"\u6807\u9898",align:"center",prop:"title","min-width":"110"}),e(n,{label:"\u91D1\u989D",align:"center",prop:"price","min-width":"60",formatter:l(fe)},null,8,["formatter"]),e(n,{label:"\u8BF4\u660E",align:"center",prop:"description","min-width":"120"}),e(n,{label:"\u72B6\u6001",align:"center",prop:"status","min-width":"85"},{default:t(a=>[e(z,{type:l(i).BROKERAGE_RECORD_STATUS,value:a.row.status},null,8,["type","value"])]),_:1}),e(n,{label:"\u89E3\u51BB\u65F6\u95F4",align:"center",prop:"unfreezeTime",formatter:l(U),width:"180px"},null,8,["formatter"]),e(n,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:l(U),width:"180px"},null,8,["formatter"])]),_:1},8,["data"])),[[G,l(_)]]),e(Y,{total:l(y),page:l(r).pageNo,"onUpdate:page":o[4]||(o[4]=a=>l(r).pageNo=a),limit:l(r).pageSize,"onUpdate:limit":o[5]||(o[5]=a=>l(r).pageSize=a),onPagination:d},null,8,["total","page","limit"])]),_:1})],64)}}})});export{ge as __tla,A as default};
|