lcny-vue3-antd-admin/dist/assets/Data.5bc5137b.js

2 lines
2.9 KiB
JavaScript

import{J as f,r as l,aA as r,o as x,j as _,x as n,p as i,y as g,i as p}from"./index.0e250b31.js";import{C as F}from"./index.b3e75489.js";import"./index.7eff4793.js";import"./index.285e884b.js";import{D as b}from"./index.db0afe23.js";import"./index.f4dea936.js";import{B as Y,u as v}from"./useTable.437193a2.js";import"./useForm.1794f982.js";import"./index.387a6000.js";import"./index.57a568b2.js";import"./useRefs.02308f6a.js";import"./PlusOutlined.144b0cfb.js";import"./index.5f3598ec.js";import"./Checkbox.68233b70.js";import"./index.21541882.js";import"./index.3ddc103b.js";import"./index.0376cf44.js";import"./index.4eed33f6.js";import"./useSize.746bf490.js";import"./eagerComputed.d22edda7.js";import"./onMountedOrActivated.a46fa718.js";import"./useWindowSizeFn.e034d540.js";import"./useContentViewHeight.5f7d342b.js";import"./ArrowLeftOutlined.c80bb084.js";import"./transButton.67351000.js";import"./index.7b3e4a13.js";import"./index.ce56fb19.js";import"./dateUtil.b025f9d8.js";import"./_baseMerge.f16be8a6.js";import"./_isIterateeCall.1c8ba2e4.js";import"./_baseEach.4fbdbaff.js";import"./get.9ef46f57.js";import"./index.0f0ffa53.js";import"./FullscreenOutlined.06947b4c.js";import"./index.7091377c.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.080d6d31.js";import"./index.ea0dbd30.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.7df5dc80.js";import"./scrollTo.eed56aac.js";import"./index.a360d4dc.js";import"./index.fd6ea590.js";import"./_baseIteratee.7b1261ce.js";import"./index.4bd5ef2f.js";import"./download.896b9876.js";import"./uniqBy.82a086b7.js";const B=[{title:"\u4EA7\u4E1A",dataIndex:"roleName"},{title:"\u5360\u6BD4",dataIndex:"roleValue"},{title:"\u65F6\u95F4",dataIndex:"orderNo"},{title:"\u4EA7\u503C\uFF08\uFFE5\uFF09",dataIndex:"createTime"}],y={components:{BasicTable:Y,Card:F,DatePicker:b},setup(){const a=l(!1),t=l(),[m,{reload:e}]=v({columns:B,useSearchForm:!1,showTableSetting:!1,bordered:!0,showIndexColumn:!1,actionColumn:{width:80,title:"\u64CD\u4F5C",dataIndex:"action",slots:{customRender:"action"},fixed:void 0}});return{yearValue:t,yearShow:a,handleOpenChange:o=>{a.value=o},handlePanelChange:o=>{a.value=!1,t.value=o,o.format("YYYY")},registerTable:m}}},T=p("div",{class:"py-5 text-base px-6px"},[p("span",null,"\u603B\u8BA1\u4EA7\u503C\uFF1A"),p("span",{class:"text-[#5564d7]"},"\uFFE50")],-1);function P(a,t,m,e,s,u){const o=r("DatePicker"),d=r("a-button"),c=r("BasicTable"),h=r("Card");return x(),_(h,{bodyStyle:{padding:"0 10px"}},{title:n(()=>[i(o,{mode:"year",value:e.yearValue,"onUpdate:value":t[0]||(t[0]=C=>e.yearValue=C),format:"YYYY",open:e.yearShow,onOpenChange:e.handleOpenChange,onPanelChange:e.handlePanelChange,valueFormat:"YYYY"},null,8,["value","open","onOpenChange","onPanelChange"])]),extra:n(()=>[i(d,{size:"small"},{default:n(()=>[g("\u65B0\u589E")]),_:1})]),default:n(()=>[T,i(c,{onRegister:e.registerTable},null,8,["onRegister"])]),_:1})}var be=f(y,[["render",P]]);export{be as default};