1 |
- import{u as d,_ as m}from"./use-page-search.7fab324e.js";import{P as f}from"./page-content.60052bb9.js";import{h as _}from"./configs.fcc4c95f.js";import{b as F,d as h}from"./configs.5d84e8af.js";import{ah as B,bb as C,aM as D,_ as b,q as g,x as k,o as y,n as v,t as r,v as t}from"./index.134b23bd.js";import"./hooks.5edff40f.js";import"./index.8461c73d.js";import"./responseHandle.2720ef95.js";import"./use-response-handle.cd6bc791.js";const x={formItems:[{field:"bank",type:"input",placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7"},{field:"status",type:"select",placeholder:"\u8BF7\u9009\u62E9\u8BA4\u9886\u72B6\u6001",options:_},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u8BA4\u9886\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u8BA4\u9886\u7ED3\u675F\u65F6\u95F4"}}]},E=[{type:"selection",width:55,hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u8D44\u91D1\u7F16\u53F7",prop:"tradNo"},{label:"\u8D44\u91D1\u8BA4\u9886\u7F16\u53F7",prop:"logNo"},{label:"\u4EA4\u6613\u65F6\u95F4",prop:"trade_time"},{label:"\u8BA4\u9886\u8D44\u91D1\u603B\u91D1\u989D",prop:"total_fee"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name"},{label:"\u72B6\u6001",prop:"status",cellRenderer:({row:e})=>B(C,null,{default:()=>{var u;return(u=h.find(n=>n.value===e.status))==null?void 0:u.label}})},{label:"\u8BA4\u9886\u65F6\u95F4",prop:"addtime",formatter:({addtime:e})=>D(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],P={title:"\u8D44\u91D1\u516C\u6D77\u6C60",powers:["001","002","003","004","005","006","007","008"],columns:E,apis:{httpList:F}};const A={class:"main role"},R={name:"capitalPool"},w=g({...R,setup(e){const{push:u}=k();function n({timer:a}){const[o,l]=a;return{result:{start:o,end:l},deleteProps:["timer"]}}const{pageContentRef:s,handleResetClick:i,handleSearchClick:p}=d(n);function c(a){u({path:"/InvoiceSales/capitalPoolDetail",query:{id:a}})}return(a,o)=>(y(),v("div",A,[r(t(m),{"form-config":t(x),onSearchBtnClick:t(p),onResetBtnClick:t(i)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),r(t(f),{ref_key:"pageContentRef",ref:s,"content-config":t(P),onPreviewBtnClick:o[0]||(o[0]=({logNo:l})=>c(l))},null,8,["content-config"])]))}});var O=b(w,[["__scopeId","data-v-0ac953b8"]]);export{O as default};
|