2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
import{L as f,v as l,aG as r,o as _,j as x,z as n,n as i,B as g,i as m}from"./index.32c07267.js";import{C as F}from"./index.384d8f2a.js";import"./index.692800a1.js";import"./index.0a16179d.js";import{D as b}from"./index.5c899175.js";import"./index.c4f04bdf.js";import{B as v,u as B}from"./useTable.cd55d157.js";import"./BasicForm.75df0d2e.js";import"./index.bf7f68d4.js";import"./index.7337ce8e.js";import"./useRefs.23253e0b.js";import"./dayjs.min.1a2f02d8.js";import"./index.7fa3a616.js";import"./Checkbox.2f1eed1e.js";import"./index.551d44e4.js";import"./useForm.47ba83ac.js";import"./index.66ec2a67.js";import"./index.e25185b6.js";import"./index.2cc1c28f.js";import"./useSize.461a5969.js";import"./eagerComputed.79a5dacc.js";import"./useWindowSizeFn.4882e42a.js";import"./useContentViewHeight.ef6a5b55.js";import"./ArrowLeftOutlined.97358e47.js";import"./transButton.63fab756.js";import"./index.f7d9f1b6.js";import"./index.0a07f7b1.js";import"./dateUtil.3435ac89.js";import"./_baseMerge.2dd153da.js";import"./_isIterateeCall.d4916932.js";import"./_baseEach.27604e9d.js";import"./get.3e9b8a69.js";import"./index.d51279de.js";import"./FullscreenOutlined.ed8a6514.js";import"./index.0f130bbc.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.4c6ffbb8.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.5f6def4f.js";import"./scrollTo.afde63de.js";import"./index.542a4e14.js";import"./index.596e1e64.js";import"./_baseIteratee.67f8f2a9.js";import"./index.c9aabb5b.js";import"./download.b7e5a7a4.js";import"./index.6ab28e80.js";import"./uniqBy.0c96aa5b.js";const Y=[{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:v,Card:F,DatePicker:b},setup(){const a=l(!1),t=l(),[p,{reload:e}]=B({columns:Y,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:p}}},T=m("div",{class:"py-5 text-base px-6px"},[m("span",null,"\u603B\u8BA1\u4EA7\u503C\uFF1A"),m("span",{class:"text-[#5564d7]"},"\uFFE50")],-1);function P(a,t,p,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};
|