1 |
- import{d as N,r as p,g as P,y as F,o as s,c as f,i as e,w as t,a as l,T as H,F as b,B as z,k as h,l as D,C as q,X as M,H as Z,D as J,G as L,p as X,_ as j,q as Q,I as W,J as $,K as ee,L as ae,__tla as le}from"./index-abaca7e8.js";import{_ as te,__tla as re}from"./index.vue_vue_type_script_setup_true_lang-f7ebf07b.js";import{_ as oe,__tla as ne}from"./DictTag.vue_vue_type_script_lang-c84a7172.js";import{E as se,__tla as ue}from"./el-avatar-12c649aa.js";import{_ as pe,__tla as ie}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9818245e.js";import{a as A,D as i,__tla as _e}from"./dict-885a7988.js";import{d as I,__tla as de}from"./formatTime-0c1ba065.js";import{g as me,__tla as ce}from"./index-6759f86f.js";import{f as fe,__tla as be}from"./formatter-f7c9947b.js";import{__tla as he}from"./index-e37a1056.js";import"./color-6e929987.js";import{__tla as ye}from"./el-card-ff5a526a.js";let O,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()=>{O=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()},k=()=>{w.value.resetFields(),m()};return F(()=>{d()}),(c,o)=>{const B=M,u=Z,v=J,T=L,U=X,R=j,E=Q,C=W,x=pe,n=$,S=se,V=oe,K=ee,Y=te,G=ae;return s(),f(b,null,[e(x,null,{default:t(()=>[e(C,{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(B,{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,z(l(A)(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,z(l(A)(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(U,{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:k},{default:t(()=>[e(R,{icon:"ep:refresh",class:"mr-5px"}),D(" \u91CD\u7F6E")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(x,null,{default:t(()=>[q((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(V,{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(V,{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(I),width:"180px"},null,8,["formatter"]),e(n,{label:"\u521B\u5EFA\u65F6\u95F4",align:"center",prop:"createTime",formatter:l(I),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,O as default};
|