mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-17 12:48:08 +00:00
1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[1073],{28172:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(83910),a=n(44194),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},i=n(5901),l=function(e,t){return a.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:c}))};var s=a.forwardRef(l)},80503:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(83910),a=n(44194),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},i=n(5901),l=function(e,t){return a.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:c}))};var s=a.forwardRef(l)},5326:function(e,t,n){n.r(t),n.d(t,{default:function(){return v}});var r=n(33154),a=n(76071),c=n(41547),i=n(45332),l=n.n(i),s=n(44194),u=n(33122),d=n(73582),o=n(5861),h=n(5014),f=n(31549),y=(u.Z.Search,{ALL:{title:"全部流程",key:"ALL",children:[]},TICKET:{title:"工单流程",key:"TICKET",children:[{title:"内部工单流程",key:"TICKET_INTERNAL"},{title:"外部工单流程",key:"TICKET_EXTERNAL"}]}}),p=function(){(0,o.useIntl)();var e=(0,h.s)(),t=e.selectedType,n=e.setSelectedType,r=s.useState(["ALL","TICKET"]),a=l()(r,2),c=a[0],i=a[1],u=s.useState(""),p=l()(u,2),v=p[0],m=(p[1],s.useState(!0)),x=l()(m,2),k=x[0],g=x[1];s.useEffect((function(){t||n("ALL")}),[]);var L=Object.values(y).map((function(e){return{title:e.title,key:e.key,children:e.children.map((function(e){return{title:e.title,key:e.key}}))}}));return(0,f.jsx)("div",{children:(0,f.jsx)(d.Z,{showLine:!0,onExpand:function(e){i(e),g(!1)},expandedKeys:c,autoExpandParent:k,treeData:function e(t){return t.map((function(t){var n=t.title,r=n.toLowerCase().indexOf(v.toLowerCase()),a=n.substring(0,r),c=n.substring(r+v.length),i=r>-1?(0,f.jsxs)("span",{children:[a,(0,f.jsx)("span",{className:"site-tree-search-value",children:n.substring(r,r+v.length)}),c]}):(0,f.jsx)("span",{children:n});return t.children?{title:i,key:t.key,children:e(t.children)}:{title:i,key:t.key}}))}(L),onSelect:function(e){e.length>0&&n(e[0])},selectedKeys:t?[t]:[]})})},v=function(){var e=(0,a.Z)(),t=e.leftSiderStyle,n=e.contentStyle;return(0,f.jsxs)(r.Z,{style:{height:"100%"},children:[(0,f.jsx)(r.Z.Panel,{defaultSize:"20%",min:"10%",max:"40%",style:t,children:(0,f.jsx)(p,{})}),(0,f.jsx)(r.Z.Panel,{style:n,children:(0,f.jsx)(c.Z,{})})]})}}}]); |