mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-16 12:18:10 +00:00
1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
|
|
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[4577],{16829:function(e,t,i){i.d(t,{Z:function(){return c}});var n=i(77260),a=i(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},r=i(5901),o=function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:s}))};var c=a.forwardRef(o)},83381:function(e,t,i){i.d(t,{Z:function(){return c}});var n=i(77260),a=i(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},r=i(5901),o=function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:s}))};var c=a.forwardRef(o)},33e3:function(e,t,i){i.d(t,{Z:function(){return c}});var n=i(77260),a=i(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},r=i(5901),o=function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:s}))};var c=a.forwardRef(o)},73119:function(e,t,i){i.r(t);var n=i(90819),a=i.n(n),s=i(89933),r=i.n(s),o=i(45332),c=i.n(o),l=i(44194),d=i(41123),u=i(34251),f=i(71373),g=i(63065),m=i(43413),v=i(10337),h=i(77407),k=i(5858),p=i(9248),x=i(14318),y=i(68525),j=i(35911),T=i(33e3),b=i(14546),M=i(16829),w=i(83381),Z=i(75699),Y=i(61628),R=i(31756),D=i(31881),S=i(76001),z=i(7999),C=i(30234),B=i(25191),I=i(28977),O=i.n(I),H=i(89295),E=i(54693),F=i(31549),L=d.default.RangePicker,P=u.Z.Option;t.default=function(){var e,t,i=(0,Z.useIntl)(),n=(0,C.Z)().translateStringTranct,s=(0,l.useState)(O()().startOf("day")),o=c()(s,2),d=o[0],I=o[1],U=(0,l.useState)(O()().endOf("day")),W=c()(U,2),V=W[0],A=W[1],N=(0,l.useState)("today"),Q=c()(N,2),q=Q[0],G=Q[1],_=(0,l.useState)(B.whQ),J=c()(_,2),K=J[0],X=J[1],$=(0,l.useState)(),ee=c()($,2),te=ee[0],ie=ee[1],ne=(0,l.useState)(),ae=c()(ne,2),se=ae[0],re=ae[1],oe=(0,D.u)((function(e){return e.currentOrg})),ce=(0,S.E)((function(e){return e})),le=ce.agentResult,de=ce.setAgentResult,ue=(0,E.H)((function(e){return e})),fe=ue.departmentResult,ge=ue.setDepartmentResult,me=(0,l.useState)(),ve=c()(me,2),he=ve[0],ke=ve[1],pe=(0,l.useState)(!1),xe=c()(pe,2),ye=(xe[0],xe[1]),je=[{label:(0,F.jsx)(Z.FormattedMessage,{id:"bi.ticket.timeRange.today"}),value:"today"},{label:(0,F.jsx)(Z.FormattedMessage,{id:"bi.ticket.timeRange.yesterday"}),value:"yesterday"},{label:(0,F.jsx)(Z.FormattedMessage,{id:"bi.ticket.timeRange.week"}),value:"week"},{label:(0,F.jsx)(Z.FormattedMessage,{id:"bi.ticket.timeRange.lastWeek"}),value:"lastWeek"},{label:(0,F.jsx)(Z.FormattedMessage,{id:"bi.ticket.timeRange.month"}),value:"month"},{label:(0,F.jsx)(Z.FormattedMessage,{id:"bi.ticket.timeRange.custom"}),value:"custom"}];(0,l.useEffect)((function(){if("custom"===q)I(d),A(V);else{var e=O()();"today"===q?(I(e),A(e)):"yesterday"===q?(I(e.subtract(1,"day")),A(e.subtract(1,"day"))):"week"===q?(I(e.startOf("week")),A(e
|