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.867f48c0.js";import{C as F}from"./index.191a6772.js";import"./index.dc7db57d.js";import"./index.0f994cf1.js";import{D as b}from"./index.b0cce4ac.js";import"./index.0a1c386f.js";import{B as v,u as B}from"./useTable.3c2f4215.js";import"./BasicForm.c0f0b49b.js";import"./index.74f80d65.js";import"./index.fa64e4c7.js";import"./useRefs.01fce650.js";import"./dayjs.min.926ac847.js";import"./index.199517fa.js";import"./Checkbox.5aee0e0a.js";import"./index.75d7abb9.js";import"./useForm.413d35f8.js";import"./index.afdd8ca7.js";import"./index.d214d9ed.js";import"./index.738e63d5.js";import"./useSize.835cb72d.js";import"./eagerComputed.f744c165.js";import"./useWindowSizeFn.08bc7e9a.js";import"./useContentViewHeight.221a05c7.js";import"./ArrowLeftOutlined.2294d66c.js";import"./transButton.5575d623.js";import"./index.40993466.js";import"./index.68c934d6.js";import"./dateUtil.9afc73f8.js";import"./_baseMerge.49f74397.js";import"./_isIterateeCall.4c46d9c5.js";import"./_baseEach.57aa181c.js";import"./get.b0df836b.js";import"./index.3d0fa94f.js";import"./FullscreenOutlined.292b4326.js";import"./index.f860d291.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.ab0376f6.js";import"./fromPairs.84aabb58.js";import"./CaretUpOutlined.cade9076.js";import"./scrollTo.7dc508b8.js";import"./index.57f8c9da.js";import"./index.01a64ec5.js";import"./_baseIteratee.79381cc0.js";import"./index.fcdf1093.js";import"./download.08584bfb.js";import"./index.4b42bb76.js";import"./uniqBy.d1706606.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};
|