index-9e35c4de.js 4.7 KB

1
  1. import{d as L,B as U,r as _,f as Y,z as q,S as B,o as h,c as J,i as a,w as e,a as l,m as c,D as N,j as C,k as K,t as M,l as G,F as H,_ as O,q as V,I as W,J as X,K as Q,L as Z,M as $,__tla as aa}from"./index-1e808f2e.js";import{_ as ta,__tla as ea}from"./index.vue_vue_type_script_setup_true_lang-571824c6.js";import{_ as ra,__tla as la}from"./DictTag.vue_vue_type_script_lang-5c02ebfe.js";import{_ as oa,__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-cc335a20.js";import{d as _a,__tla as ia}from"./formatTime-a348c3be.js";import{_ as sa,g as pa,__tla as ca}from"./DemoTransferForm.vue_vue_type_script_setup_true_lang-afd1a9d7.js";import ua,{__tla as da}from"./CreatePayTransfer-415cc35b.js";import{D as F,__tla as ma}from"./dict-a31cb4ba.js";import{u as fa,__tla as ya}from"./useMessage-5f9e8917.js";import{__tla as ha}from"./index-73afebcf.js";import"./color-6e929987.js";import{__tla as ga}from"./el-card-03b3588b.js";import{__tla as va}from"./Dialog-f44f9d78.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as wa}from"./el-descriptions-item-8d4be2e8.js";import{__tla as ba}from"./index-1d61a9f7.js";import"./wx_app-08e07efc.js";let I,Sa=Promise.all([(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return va}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return ba}catch{}})()]).then(async()=>{I=L({__name:"index",setup(ka){fa(),U();const u=_(!0),g=_(0),v=_([]),o=Y({pageNo:1,pageSize:10}),w=_();let s={appId:void 0,merchantTransferId:void 0,type:void 0,price:void 0,subject:void 0,userName:void 0,alipayLogonId:void 0,openid:void 0};const i=async()=>{u.value=!0;try{const d=await pa(o);v.value=d.list,g.value=d.total}finally{u.value=!1}},b=()=>{o.pageNo=1,i()},P=()=>{w.value.resetFields(),b()},S=_(),k=_();return q(()=>{i()}),(d,n)=>{const m=O,p=V,R=W,A=X,T=oa,r=Q,x=ra,z=Z,j=ta,D=B("hasPermi"),E=$;return h(),J(H,null,[a(T,null,{default:e(()=>[a(A,{class:"-mb-15px",model:l(o),ref_key:"queryFormRef",ref:w,inline:!0,"label-width":"68px"},{default:e(()=>[a(R,null,{default:e(()=>[a(p,{onClick:b},{default:e(()=>[a(m,{icon:"ep:search",class:"mr-5px"}),c(" \u641C\u7D22")]),_:1}),a(p,{onClick:P},{default:e(()=>[a(m,{icon:"ep:refresh",class:"mr-5px"}),c(" \u91CD\u7F6E")]),_:1}),a(p,{type:"primary",plain:"",onClick:n[0]||(n[0]=t=>{return f="create",void S.value.open(f);var f})},{default:e(()=>[a(m,{icon:"ep:plus"}),c("\u521B\u5EFA\u4E1A\u52A1\u8F6C\u8D26\u5355 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(T,null,{default:e(()=>[N((h(),C(z,{data:l(v),"show-overflow-tooltip":!0},{default:e(()=>[a(r,{label:"\u8BA2\u5355\u7F16\u53F7",align:"center",prop:"id"}),a(r,{label:"\u8F6C\u8D26\u7C7B\u578B",align:"center",prop:"type",width:"120"},{default:e(t=>[a(x,{type:l(F).PAY_TRANSFER_TYPE,value:t.row.type},null,8,["type","value"])]),_:1}),a(r,{label:"\u8F6C\u8D26\u91D1\u989D",align:"center",prop:"price"},{default:e(t=>[K("span",null,"\uFFE5"+M((t.row.price/100).toFixed(2)),1)]),_:1}),a(r,{label:"\u6536\u6B3E\u4EBA\u59D3\u540D",align:"center",prop:"userName",width:"120"}),a(r,{label:"\u652F\u4ED8\u5B9D\u767B\u5F55\u8D26\u53F7",align:"center",prop:"alipayLogonId",width:"180"}),a(r,{label:"\u5FAE\u4FE1 openid",align:"center",prop:"openid",width:"120"}),a(r,{label:"\u8F6C\u8D26\u72B6\u6001",align:"center",prop:"transferStatus"},{default:e(t=>[a(x,{type:l(F).PAY_TRANSFER_STATUS,value:t.row.transferStatus},null,8,["type","value"])]),_:1}),a(r,{label:"\u8F6C\u8D26\u5355\u53F7",align:"center",prop:"payTransferId"}),a(r,{label:"\u652F\u4ED8\u6E20\u9053",align:"center",prop:"payChannelCode"}),a(r,{label:"\u8F6C\u8D26\u65F6\u95F4",align:"center",prop:"transferTime",formatter:l(_a),width:"180px"},null,8,["formatter"]),a(r,{label:"\u64CD\u4F5C",align:"center","class-name":"small-padding fixed-width",width:"100",fixed:"right"},{default:e(t=>[t.row.transferStatus===0?N((h(),C(p,{key:0,link:"",type:"primary",onClick:f=>{return y=t.row,s={...y},s.merchantTransferId=y.id.toString(),s.subject="\u793A\u4F8B\u8F6C\u8D26",void k.value.showPayTransfer(s);var y}},{default:e(()=>[c(" \u53D1\u8D77\u8F6C\u8D26 ")]),_:2},1032,["onClick"])),[[D,["pay:transfer:create"]]]):G("",!0)]),_:1})]),_:1},8,["data"])),[[E,l(u)]]),a(j,{total:l(g),page:l(o).pageNo,"onUpdate:page":n[1]||(n[1]=t=>l(o).pageNo=t),limit:l(o).pageSize,"onUpdate:limit":n[2]||(n[2]=t=>l(o).pageSize=t),onPagination:i},null,8,["total","page","limit"])]),_:1}),a(sa,{ref_key:"demoFormRef",ref:S,onSuccess:i},null,512),a(ua,{ref_key:"payTransferRef",ref:k,onSuccess:i},null,512)],64)}}})});export{Sa as __tla,I as default};