2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
import{q as f,s as l,aC as r,o as _,j as x,y as n,p as i,z as g,i as p}from"./index.76fbaeb5.js";import{C as F}from"./index.c0a304d9.js";import"./index.092b32e2.js";import"./index.38612531.js";import{D as b}from"./index.d7975548.js";import"./index.b19de8c4.js";import{B as Y,u as v}from"./useTable.0f35b5c1.js";import"./useForm.97cc04f6.js";import"./index.d698db15.js";import"./index.6572dec6.js";import"./useRefs.a65a2990.js";import"./PlusOutlined.728a46af.js";import"./index.da488f31.js";import"./Checkbox.a411d429.js";import"./index.b4597e0b.js";import"./index.02660ec0.js";import"./index.59c0f88b.js";import"./index.abfe9288.js";import"./useSize.21d338a7.js";import"./eagerComputed.b2330568.js";import"./onMountedOrActivated.de955189.js";import"./useWindowSizeFn.3f59bbcc.js";import"./useContentViewHeight.5dfbf560.js";import"./ArrowLeftOutlined.d9433523.js";import"./transButton.10ef05e4.js";import"./index.c1786e11.js";import"./index.83c31847.js";import"./dateUtil.967fcf66.js";import"./_baseMerge.418a9697.js";import"./_isIterateeCall.fe3a5dc3.js";import"./_baseEach.2ca51b61.js";import"./get.8135a685.js";import"./index.a013a636.js";import"./FullscreenOutlined.10fedefd.js";import"./index.4a32a00b.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.912e1f94.js";import"./index.edd2c37d.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.9f6fb34b.js";import"./scrollTo.2c17587b.js";import"./index.2b6a9120.js";import"./index.c84c2597.js";import"./_baseIteratee.38c579ca.js";import"./index.3595ef98.js";import"./download.a5884f2c.js";import"./uniqBy.a28d391c.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};
|