lcny-vue3-antd-admin/dist/assets/Data.8c52eeb9.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.90da037b.js";import{C as F}from"./index.a3fd4d24.js";import"./index.b1f9176c.js";import"./index.025fb97e.js";import{D as b}from"./index.a6a803ce.js";import"./index.d6a19688.js";import{B as Y,u as v}from"./useTable.4f5ecba9.js";import"./BasicForm.f01f971f.js";import"./index.5f38c7d8.js";import"./index.aa79ca22.js";import"./useRefs.8dda1daa.js";import"./PlusOutlined.fc498e7a.js";import"./index.9491c228.js";import"./Checkbox.b0fc94c8.js";import"./index.1e081170.js";import"./useForm.0ffa652b.js";import"./index.fd12062e.js";import"./index.77fe9aaa.js";import"./index.04dd9e1b.js";import"./useSize.68b929f0.js";import"./eagerComputed.b8af4151.js";import"./onMountedOrActivated.170f3a06.js";import"./useWindowSizeFn.bb7ce060.js";import"./useContentViewHeight.8af6e3bb.js";import"./ArrowLeftOutlined.d81f11fb.js";import"./transButton.bec5a66d.js";import"./index.d4d83420.js";import"./index.4c487898.js";import"./index.62d3fd2c.js";import"./_baseIteratee.65dd9fdb.js";import"./get.b86e8352.js";import"./index.d233f0c1.js";import"./index.8e526329.js";import"./dateUtil.c2a00df1.js";import"./uniqBy.2bfac54c.js";import"./index.d04e0ccc.js";import"./FullscreenOutlined.8b01061e.js";import"./_baseMerge.3b202d40.js";import"./_isIterateeCall.4f8cb7a4.js";import"./_baseEach.050c37eb.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.a031b067.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.0e8cb9f5.js";import"./scrollTo.660ed5a7.js";import"./index.af925f6a.js";import"./download.67ebbd8b.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};