test_lgq/niucloud/public/web/_nuxt/balance.ed5c5706.js

2 lines
2.2 KiB
JavaScript
Raw Permalink Normal View History

2024-01-24 17:36:08 +08:00
import{_ as v,E as h,v as w}from"./el-loading.95b1f580.js";import{E as y,a as E}from"./el-table.32d0a708.js";import{E as C}from"./el-select.a5d06e79.js";import{a as B,D as z,o as c,e as m,a0 as T,f as o,w as d,j as r,t as j,u as n,V as l,aM as D}from"./entry.539d3b49.js";import"./el-tooltip.a101b1cd.js";import"./el-popper.6e1fd591.js";import"./el-input.60ea0dae.js";import{_ as k}from"./_plugin-vue_export-helper.c27b6911.js";import"./index.e7365e3c.js";import"./_initCloneObject.18c5d913.js";import"./debounce.7822d733.js";import"./use-form-item.aa386fad.js";import"./index.68b3a059.js";import"./vnode.48eda29e.js";const L={class:"w-full h-full bg-page pt-6"},S={class:"main-container flex justify-between"},V={class:"card-header"},I={class:"px-6"},N={class:"mt-[16px] flex justify-end"},O=B({__name:"balance",setup(P){const a=z({page:1,limit:10,total:0,loading:!0,data:[]}),p=(e=1)=>{a.loading=!0,a.page=e,D({page:a.page,limit:a.limit}).then(t=>{a.loading=!1,a.data=t.data.data,a.total=t.data.total}).catch(()=>{a.loading=!1})};return p(),(e,t)=>{const _=v,i=y,u=E,g=C,f=h,b=w;return c(),m("div",L,[T((c(),m("div",S,[o(_),o(f,{class:"box-card flex-1 ml-4",shadow:"never"},{header:d(()=>[r("div",V,[r("span",null,j(("t"in e?e.t:n(l))("myBalance")),1)])]),default:d(()=>[r("div",I,[o(u,{data:a.data,stripe:""},{default:d(()=>[o(i,{prop:"account_type_name",label:("t"in e?e.t:n(l))("accountType"),width:"180"},null,8,["label"]),o(i,{prop:"account_data",label:("t"in e?e.t:n(l))("changeInAmount"),width:"120"},null,8,["label"]),o(i,{prop:"from_type_name",label:("t"in e?e.t:n(l))("modeOfOccurrence"),width:"180"},null,8,["label"]),o(i,{prop:"memo",label:("t"in e?e.t:n(l))("remark"),width:"180"},null,8,["label"]),o(i,{prop:"create_time",label:("t"in e?e.t:n(l))("occurrenceTime")},null,8,["label"])]),_:1},8,["data"]),r("div",N,[o(g,{"current-page":a.page,"onUpdate:currentPage":t[0]||(t[0]=s=>a.page=s),"page-size":a.limit,"onUpdate:pageSize":t[1]||(t[1]=s=>a.limit=s),layout:"total, sizes, prev, pager, next, jumper",total:a.total,onSizeChange:t[2]||(t[2]=s=>p()),onCurrentChange:p},null,8,["current-page","page-size","total"])])])]),_:1})])),[[b,a.loading]])])}}});const X=k(O,[["__scopeId","data-v-9da131c5"]]);export{X as default};