2 lines
2.9 KiB
JavaScript
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.cd4314d7.js";import{C as F}from"./index.816074f4.js";import"./index.bac46beb.js";import"./index.7873d6f9.js";import{D as b}from"./index.fd036394.js";import"./index.6c5d8705.js";import{B as Y,u as v}from"./useTable.5c87f6c7.js";import"./BasicForm.187d5bbc.js";import"./index.ca22355c.js";import"./index.4bcc05d8.js";import"./useRefs.810ae0b2.js";import"./PlusOutlined.d4b0e096.js";import"./index.7d0e1afe.js";import"./Checkbox.c69070b4.js";import"./index.473de68a.js";import"./useForm.bdad1fb3.js";import"./index.c5a067cc.js";import"./index.bb0aa122.js";import"./index.177d5cf6.js";import"./useSize.eb461434.js";import"./eagerComputed.954e7892.js";import"./useWindowSizeFn.66cf06d7.js";import"./useContentViewHeight.05b8786f.js";import"./ArrowLeftOutlined.9c5d58da.js";import"./transButton.866d3502.js";import"./index.81d77b3c.js";import"./index.65130bea.js";import"./dateUtil.8ab29df5.js";import"./_baseMerge.cc7f7bd4.js";import"./_isIterateeCall.0842ace5.js";import"./_baseEach.ae4931d1.js";import"./get.8c44a39d.js";import"./index.1a5def8c.js";import"./FullscreenOutlined.ad865903.js";import"./index.d511ef0f.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.9326c866.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.8c391d42.js";import"./scrollTo.9257e7fa.js";import"./index.e4e92a47.js";import"./index.c1c4405d.js";import"./_baseIteratee.32dc84a6.js";import"./index.2f8b75a4.js";import"./download.d5fdb552.js";import"./uniqBy.be85d0e5.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 Fe=f(y,[["render",P]]);export{Fe as default};
|