lcny-vue3-antd-admin/dist/assets/Data.638929be.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.2c8fd916.js";import{C as F}from"./index.2ab23ed6.js";import"./index.9c8662c0.js";import"./index.3b9fe14e.js";import{D as b}from"./index.96ace388.js";import"./index.49dd5a7b.js";import{B as Y,u as v}from"./useTable.4f793409.js";import"./useForm.c4d66a7d.js";import"./index.ea1d7a5b.js";import"./index.4a9a15cb.js";import"./useRefs.6faa132d.js";import"./PlusOutlined.b2db69d1.js";import"./index.92d4f8e3.js";import"./Checkbox.109a46ea.js";import"./index.b4c5e141.js";import"./index.eaffcf16.js";import"./index.3f5e01c0.js";import"./index.b7ca5f9d.js";import"./useSize.f678f54d.js";import"./eagerComputed.5c1e2e6f.js";import"./onMountedOrActivated.4d710190.js";import"./useWindowSizeFn.d0fad18a.js";import"./useContentViewHeight.f0055632.js";import"./ArrowLeftOutlined.889429f0.js";import"./transButton.187d6d9d.js";import"./index.5f78b2de.js";import"./index.d507ce46.js";import"./dateUtil.138bbf4f.js";import"./_baseMerge.86add7fb.js";import"./_isIterateeCall.9ca85d79.js";import"./_baseEach.d0a91b9f.js";import"./get.e497368a.js";import"./index.a750122e.js";import"./FullscreenOutlined.2f05c247.js";import"./index.014ca1d3.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.c889c338.js";import"./index.fa7c806c.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.82f40852.js";import"./scrollTo.c695439c.js";import"./index.d04a7d9b.js";import"./index.3cc3ab0e.js";import"./_baseIteratee.c05f666b.js";import"./index.e611aa3e.js";import"./download.65d9fe95.js";import"./uniqBy.565a6da4.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};