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