Files
weiyu/deploy/server/admin/p__Welcome.333ca3d5.async.js
jack ning 4445905084 update
2025-11-22 13:39:00 +08:00

1 line
37 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[8185],{87328:function(e,t,n){n.d(t,{EN:function(){return d},G_:function(){return h},Vh:function(){return g},WN:function(){return y},ry:function(){return x}});var r=n(90819),i=n.n(r),a=n(73193),s=n.n(a),o=n(89933),u=n.n(o),c=n(39497),l=n(14906);function d(e){return p.apply(this,arguments)}function p(){return(p=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/ai/statistic/token/query/org",{method:"GET",params:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return f.apply(this,arguments)}function f(){return(f=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/ai/statistic/token/delete",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e,t){return v.apply(this,arguments)}function v(){return(v=u()(i()().mark((function e(t,n){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/ai/statistic/token/hourly",{method:"GET",params:{orgUid:t,date:n,channel:c.XtJ}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e,t,n){return m.apply(this,arguments)}function m(){return(m=u()(i()().mark((function e(t,n,r){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/ai/statistic/token/hourly/provider",{method:"GET",params:{orgUid:t,date:n,aiProvider:r,channel:c.XtJ}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e,t,n){return j.apply(this,arguments)}function j(){return(j=u()(i()().mark((function e(t,n,r){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/ai/statistic/token/hourly/model",{method:"GET",params:{orgUid:t,date:n,aiModelType:r,channel:c.XtJ}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},47402:function(e,t,n){n.d(t,{K_:function(){return g},Np:function(){return h},dx:function(){return x},xH:function(){return y},xs:function(){return d}});var r=n(90819),i=n.n(r),a=n(73193),s=n.n(a),o=n(89933),u=n.n(o),c=n(39497),l=n(14906);function d(e){return p.apply(this,arguments)}function p(){return(p=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/freeswitch/cdr/query/org",{method:"GET",params:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return f.apply(this,arguments)}function f(){return(f=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/freeswitch/cdr/create",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return v.apply(this,arguments)}function v(){return(v=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/freeswitch/cdr/update",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return m.apply(this,arguments)}function m(){return(m=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/freeswitch/cdr/delete",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return j.apply(this,arguments)}function j(){return(j=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/freeswitch/cdr/delete/org",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},38517:function(e,t,n){n.d(t,{Az:function(){return d},Bv:function(){return T},DO:function(){return g},L0:function(){return S},RF:function(){return k},Xc:function(){return x},YO:function(){return b},jX:function(){return y},tu:function(){return h}});var r=n(90819),i=n.n(r),a=n(73193),s=n.n(a),o=n(89933),u=n.n(o),c=n(39497),l=n(14906);function d(e){return p.apply(this,arguments)}function p(){return(p=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/query/org",{method:"GET",params:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return f.apply(this,arguments)}function f(){return(f=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/create",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return v.apply(this,arguments)}function v(){return(v=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/update",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return m.apply(this,arguments)}function m(){return(m=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/delete",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return j.apply(this,arguments)}function j(){return(j=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/deleteAll",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e){return Z.apply(this,arguments)}function Z(){return(Z=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/updateIndex",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return w.apply(this,arguments)}function w(){return(w=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/updateVectorIndex",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return C.apply(this,arguments)}function C(){return(C=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/updateAllIndex",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return M.apply(this,arguments)}function M(){return(M=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/article/updateAllVectorIndex",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},4112:function(e,t,n){n.d(t,{Wq:function(){return d}});var r=n(90819),i=n.n(r),a=n(73193),s=n.n(a),o=n(89933),u=n.n(o),c=n(39497),l=n(14906);function d(e){return p.apply(this,arguments)}function p(){return(p=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/queue/query/org",{method:"GET",params:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},99355:function(e,t,n){n.d(t,{Eb:function(){return d},RU:function(){return h},xL:function(){return x}});var r=n(90819),i=n.n(r),a=n(73193),s=n.n(a),o=n(89933),u=n.n(o),c=n(39497),l=n(14906);function d(){return p.apply(this,arguments)}function p(){return(p=u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/service/statistic/query",{method:"GET",params:{channel:c.XtJ}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return f.apply(this,arguments)}function f(){return(f=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/service/statistic/query/date",{method:"GET",params:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return v.apply(this,arguments)}function v(){return(v=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/service/statistic/calculate",{method:"POST",data:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},8664:function(e,t,n){n.d(t,{AD:function(){return d}});var r=n(90819),i=n.n(r),a=n(73193),s=n.n(a),o=n(89933),u=n.n(o),c=n(39497),l=n(14906);function d(e){return p.apply(this,arguments)}function p(){return(p=u()(i()().mark((function e(t){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/api/v1/ticket/statistic/query/date",{method:"GET",params:s()(s()({},t),{},{channel:c.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},75112:function(e,t,n){var r=n(14597);t.Z=function(){var e=(0,r.Z)().isDarkMode;return{leftSiderStyle:{borderRight:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#f5f5f5",height:"100vh",overflow:"auto"},leftSiderWidth:250,headerStyle:{background:e?"#141414":"#fff"},rightSiderStyle:{borderLeft:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#f5f5f5"},contentStyle:{minHeight:120,background:e?"#141414":"#f5f5f5",height:"100vh",overflow:"auto",padding:10}}}},65904:function(e,t,n){n.r(t),n.d(t,{default:function(){return fe}});var r=n(45332),i=n.n(r),a=n(98830),s=n(71256),o=n(14906),u=n(44194),c=n(24700),l=n(86895),d=n(82770),p=n(31549),h=function(e){var t=e.open,n=e.onClose,r=(0,o.useIntl)(),i=(0,o.useNavigate)(),a=function(){localStorage.setItem("skipVerification","true"),n()};return(0,p.jsx)(l.Z,{title:r.formatMessage({id:"welcome.verify.modal.title",defaultMessage:"账号验证提示"}),open:t,onCancel:a,footer:[(0,p.jsx)(d.ZP,{onClick:a,children:r.formatMessage({id:"welcome.verify.later",defaultMessage:"稍后验证"})},"later"),(0,p.jsx)(d.ZP,{type:"primary",onClick:function(){n(),i("/setting/certification")},children:r.formatMessage({id:"welcome.verify.now",defaultMessage:"立即验证"})},"now")],children:(0,p.jsx)("p",{children:r.formatMessage({id:"welcome.verify.modal.description",defaultMessage:"您的邮箱和手机号尚未验证,为保障账号安全,建议您尽快完成验证。"})})})},f=n(92354),x=n(19433),v=n(5932),y=n(39497),m=n(23753),g=n(73193),j=n.n(g),k=n(90819),Z=n.n(k),b=n(89933),w=n.n(b),S=n(45516),C=n(35281),T=n(83001),M=n(78578),I=n(81739),O=n(39487),P=n(40110),q=n(34201),D=n(79489),A=n(63924),E=n(40677),R=n(62640),F=n(94447),J=n(21809),X=n(54943),N=n(80556),z=n(58791),H=n(93878),L=n(70424),G=n(82741),Y=n(74840),U=n(58087),W=n(79479),K=n(38317),_=n(97876),V=n(71194),B=n(96596),Q=n.n(B),$=n(99355),ee=n(8664),te=n(87328),ne=n(47402),re=n(38517);function ie(e){return ae.apply(this,arguments)}function ae(){return(ae=w()(Z()().mark((function e(t){return Z()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,o.request)("/api/v1/notice/query/org",{method:"GET",params:j()(j()({},t),{},{channel:y.XtJ})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var se=n(4112),oe=C.default.RangePicker,ue=T.Z.Title,ce=T.Z.Text,le=function(e){if(!e||e<=0)return"0s";if(e<60)return"".concat(Math.round(e),"s");var t=Math.floor(e/60),n=Math.round(e%60);return"".concat(t,"m ").concat(n,"s")},de=function(e){return null==e||Number.isNaN(e)?0:Math.max(0,Math.min(100,Math.round(e)))},pe=function(){var e,t,n,r,s,o,c=(0,S.s0)(),l=function(){try{return!1}catch(e){return!1}}(),h=(0,a.u)((function(e){return e.currentOrg})),f=(0,u.useState)([Q()().startOf("day").subtract(6,"day"),Q()().endOf("day")]),v=i()(f,2),m=v[0],g=v[1],k=(0,u.useState)(),b=i()(k,2),C=b[0],T=b[1],B=(0,u.useState)(),ae=i()(B,2),pe=ae[0],he=ae[1],fe=(0,u.useState)(),xe=i()(fe,2),ve=xe[0],ye=xe[1],me=(0,u.useState)([]),ge=i()(me,2),je=ge[0],ke=ge[1],Ze=(0,u.useState)(0),be=i()(Ze,2),we=be[0],Se=be[1],Ce=(0,u.useState)([]),Te=i()(Ce,2),Me=Te[0],Ie=Te[1],Oe=(0,u.useState)(0),Pe=i()(Oe,2),qe=Pe[0],De=Pe[1],Ae=(0,u.useState)([]),Ee=i()(Ae,2),Re=Ee[0],Fe=Ee[1],Je=(0,u.useState)(0),Xe=i()(Je,2),Ne=Xe[0],ze=Xe[1],He=(0,u.useState)([]),Le=i()(He,2),Ge=Le[0],Ye=Le[1],Ue=(0,u.useMemo)((function(){return{kpis:!0,ticketStatusPie:!0,aiTokenLine:!0,serviceStatusPie:!0,serviceDurationLine:!0,serviceHourlyLine:!0,recentCalls:l,articles:!0,notices:!0,agentPerformance:!0}}),[l]),We=(0,u.useState)(Ue),Ke=i()(We,2),_e=Ke[0],Ve=Ke[1],Be=(0,u.useState)(!1),Qe=i()(Be,2),$e=Qe[0],et=Qe[1],tt=(0,u.useState)(!1),nt=i()(tt,2),rt=nt[0],it=nt[1],at=(0,u.useMemo)((function(){var e;return null===(e=m[0])||void 0===e?void 0:e.format("YYYY-MM-DD")}),[m]),st=(0,u.useMemo)((function(){var e;return null===(e=m[1])||void 0===e?void 0:e.format("YYYY-MM-DD")}),[m]),ot=(0,u.useCallback)(w()(Z()().mark((function e(){var t,n,r,a,s,o,u,c,d,p,f,v,m,g,j,k,b,w,S,C,M,I,O;return Z()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=h&&h.uid){e.next=2;break}return e.abrupt("return");case 2:return it(!0),e.prev=3,t=h.uid,n=l?(0,ne.xs)({orgUid:t,pageNumber:0,pageSize:10,startStamp:"".concat(at," 00:00:00"),endStamp:"".concat(st," 23:59:59"),sortBy:"startStamp",sortDirection:"DESC"}):Promise.resolve(void 0),e.next=8,Promise.all([(0,$.RU)({orgUid:t,startDate:at,endDate:st,type:y.whQ}),(0,ee.AD)({orgUid:t,startDate:at,endDate:st,type:y.whQ}),(0,te.ry)(t,st||Q()().format("YYYY-MM-DD")),n,(0,re.Az)({orgUid:t,pageNumber:0,pageSize:5,sortBy:"createdAt",sortDirection:"DESC"}),ie({orgUid:t,pageNumber:0,pageSize:5,sortBy:"createdAt",sortDirection:"DESC"}),(0,se.Wq)({orgUid:t,pageNumber:0,pageSize:100,day:st})]);case 8:if(r=e.sent,a=i()(r,7),s=a[0],o=a[1],u=a[2],c=a[3],d=a[4],p=a[5],f=a[6],200!==(null==s?void 0:s.code)||!s.data){e.next=21;break}T(s.data),e.next=25;break;case 21:return e.next=23,(0,$.Eb)();case 23:200===(null==(v=e.sent)?void 0:v.code)&&T(v.data);case 25:200===(null==o?void 0:o.code)&&he(o.data),200===(null==u?void 0:u.code)&&ye(u.data),l&&c&&"number"==typeof c.code&&200===c.code?(ke((null===(m=(j=c).data)||void 0===m?void 0:m.content)||[]),Se((null===(g=j.data)||void 0===g?void 0:g.totalElements)||0)):l||(ke([]),Se(0)),200===(null==d?void 0:d.code)&&(Ie((null===(k=d.data)||void 0===k?void 0:k.content)||[]),De((null===(b=d.data)||void 0===b?void 0:b.totalElements)||0)),200===(null==p?void 0:p.code)&&(Fe((null===(w=p.data)||void 0===w?void 0:w.content)||[]),ze((null===(S=p.data)||void 0===S?void 0:S.totalElements)||0)),200===(null==f?void 0:f.code)&&(M=(null===(C=f.data)||void 0===C?void 0:C.content)||[],I=Array.from({length:24},(function(){return 0})),M.forEach((function(e){(e.threadsCountByHour||[]).forEach((function(e,t){t>=0&&t<24&&(I[t]+=e||0)}))})),Ye(I.map((function(e,t){return{hour:"".concat(t,":00"),count:e}})))),e.next=37;break;case 33:e.prev=33,e.t0=e.catch(3),O=e.t0 instanceof Error?e.t0.message:"加载仪表盘数据失败",x.yw.error(O);case 37:return e.prev=37,it(!1),e.finish(37);case 40:case"end":return e.stop()}}),e,null,[[3,33,37,40]])}))),[null==h?void 0:h.uid,at,st]);(0,u.useEffect)((function(){if(null!=h&&h.uid){var e="dashboard_visibility_".concat(h.uid);try{var t=localStorage.getItem(e);if(t){var n=JSON.parse(t);Ve(j()(j()({},Ue),n))}else Ve(Ue)}catch(e){Ve(Ue)}}}),[null==h?void 0:h.uid]),(0,u.useEffect)((function(){if(null!=h&&h.uid){var e="dashboard_visibility_".concat(h.uid);try{localStorage.setItem(e,JSON.stringify(_e))}catch(e){}}}),[_e,null==h?void 0:h.uid]),(0,u.useEffect)((function(){ot()}),[ot]);var ut=(0,u.useMemo)((function(){var e=pe,t=(null==e?void 0:e.totalTickets)||0;return[{type:"新建",value:(null==e?void 0:e.newTickets)||0},{type:"处理中",value:(null==e?void 0:e.processingTickets)||0},{type:"已解决",value:(null==e?void 0:e.resolvedTickets)||0},{type:"已关闭",value:(null==e?void 0:e.closedTickets)||0},{type:"挂起",value:(null==e?void 0:e.holdingTickets)||0},{type:"待处理",value:(null==e?void 0:e.pendingTickets)||0}].filter((function(e){return e.value>0||0===t}))}),[pe]),ct=(0,u.useMemo)((function(){var e=(null==ve?void 0:ve.hourlyData)||[],t=new Map;return e.forEach((function(e){"number"==typeof e.hour&&t.set(e.hour,e)})),Array.from({length:24},(function(e,n){var r,i;return{hour:"".concat(n,":00"),tokens:(null===(r=t.get(n))||void 0===r?void 0:r.totalTokens)||0,requests:(null===(i=t.get(n))||void 0===i?void 0:i.totalRequests)||0}}))}),[ve]),lt=(0,u.useMemo)((function(){var e=C||{},t=[{type:"排队中",value:e.queuingThreadCount||0},{type:"正在服务",value:e.currentThreadCount||0},{type:"已接入",value:e.acceptedThreadCount||0},{type:"已放弃",value:e.abandonedThreadCount||0},{type:"已转接",value:e.transferredThreadCount||0},{type:"邀请接入",value:e.invitedThreadCount||0}],n=t.reduce((function(e,t){return e+(t.value||0)}),0);return t.filter((function(e){return e.value>0||0===n}))}),[C]),dt=(0,u.useMemo)((function(){var e=C||{};return[{bucket:"0-5分钟",value:e.durationWithin5Min||0},{bucket:"5-15分钟",value:e.durationWithin15Min||0},{bucket:"15分钟以上",value:e.durationOver15Min||0}]}),[C]),pt=[{title:"主叫",dataIndex:"callerIdNumber",key:"callerIdNumber",width:140},{title:"被叫",dataIndex:"destinationNumber",key:"destinationNumber",width:140},{title:"开始时间",dataIndex:"startStamp",key:"startStamp",render:function(e){return Q()(e).format("MM-DD HH:mm")}},{title:"时长",dataIndex:"billsec",key:"billsec",render:function(e){return le(e)}},{title:"挂断原因",dataIndex:"hangupCause",key:"hangupCause",ellipsis:!0}],ht=[{title:"标题",dataIndex:"title",key:"title",render:function(e){return(0,p.jsx)(M.Z,{title:e,children:(0,p.jsx)(ce,{ellipsis:!0,style:{maxWidth:220,display:"inline-block"},children:e})})}},{title:"阅读",dataIndex:"readCount",key:"readCount",width:100},{title:"发布时间",dataIndex:"createdAt",key:"createdAt",width:160,render:function(e){return Q()(e).format("MM-DD HH:mm")}},{title:"状态",key:"published",width:100,render:function(e,t){return t.published?(0,p.jsx)(I.Z,{color:"green",children:"已发布"}):(0,p.jsx)(I.Z,{children:"草稿"})}}],ft=[{title:"标题",dataIndex:"title",key:"title",render:function(e){return(0,p.jsx)(M.Z,{title:e,children:(0,p.jsx)(ce,{ellipsis:!0,style:{maxWidth:320,display:"inline-block"},children:e||"-"})})}},{title:"类型",dataIndex:"type",key:"type",width:120,render:function(e){return e?(0,p.jsx)(I.Z,{color:"blue",children:e}):"-"}},{title:"状态",dataIndex:"status",key:"status",width:120,render:function(e){return e?(0,p.jsx)(I.Z,{color:"published"===e?"green":"draft"===e?"default":"gold",children:e}):"-"}},{title:"发布时间",dataIndex:"createdAt",key:"createdAt",width:160,render:function(e){return e?Q()(e).format("MM-DD HH:mm"):"-"}}],xt=[{title:"客服",dataIndex:"name",key:"name"},{title:"在线时长",dataIndex:"onlineTime",key:"onlineTime",render:function(e){return void 0!==e?"".concat(e,"h"):"-"}},{title:"会话数",dataIndex:"sessionCount",key:"sessionCount"},{title:"平均响应",dataIndex:"avgResponseTime",key:"avgResponseTime",render:function(e){return void 0!==e?"".concat(e,"分钟"):"-"}},{title:"平均会话",dataIndex:"avgSessionTime",key:"avgSessionTime",render:function(e){return void 0!==e?"".concat(e,"分钟"):"-"}},{title:"满意度",dataIndex:"satisfaction",key:"satisfaction",render:function(e){return void 0!==e?"".concat(e,"%"):"-"}},{title:"工时",dataIndex:"workingHours",key:"workingHours",render:function(e){return void 0!==e?"".concat(e,"h"):"-"}},{title:"转接率",dataIndex:"transferRate",key:"transferRate",render:function(e){return void 0!==e?"".concat(e,"%"):"-"}},{title:"一次解决率",dataIndex:"firstResolutionRate",key:"firstResolutionRate",render:function(e){return void 0!==e?"".concat(e,"%"):"-"}},{title:"超时数",dataIndex:"overdueCount",key:"overdueCount"}],vt=(0,u.useMemo)((function(){if(!C)return[];var e=C,t=Number(e.acceptedThreadCount||0),n=Number(e.transferredThreadCount||0),r=Number(e.onlineTime||0),i=Number(e.avgFirstResponseTime||0),a=Number(e.avgConversationTime||0),s=r>0?Math.round(r/3600*10)/10:0,o=i>0?Math.round(i/60):0,u=a>0?Math.round(a/60):0,c=de(e.satisfactionRate),l=t>0?de(n/t*100):0,d=void 0!==e.firstResolutionRate?de(e.firstResolutionRate):void 0,p=void 0!==e.overdueThreadCount?Number(e.overdueThreadCount):void 0;return[{key:"org-summary",name:(null==h?void 0:h.name)||"组织汇总",onlineTime:s,sessionCount:t,avgResponseTime:o,avgSessionTime:u,satisfaction:c,workingHours:s,transferRate:l,firstResolutionRate:d,overdueCount:p}]}),[C,null==h?void 0:h.name]);return(0,p.jsxs)(O.Z,{direction:"vertical",size:16,style:{width:"100%"},children:[(0,p.jsx)(P.Z,{variant:"borderless",styles:{body:{padding:16}},children:(0,p.jsxs)(q.Z,{justify:"space-between",align:"middle",gutter:[16,16],children:[(0,p.jsxs)(D.Z,{flex:"auto",children:[(0,p.jsx)(ue,{level:4,style:{margin:0},children:"运营概览"}),(0,p.jsx)(ce,{type:"secondary",children:"在线客服、工单、呼叫中心、知识库、AI助手 一体化总览"})]}),(0,p.jsx)(D.Z,{children:(0,p.jsxs)(O.Z,{children:[(0,p.jsx)(oe,{allowClear:!1,value:m,onChange:function(e){return e&&g([e[0].startOf("day"),e[1].endOf("day")])},presets:[{label:"今日",value:[Q()().startOf("day"),Q()().endOf("day")]},{label:"昨日",value:[Q()().subtract(1,"day").startOf("day"),Q()().subtract(1,"day").endOf("day")]},{label:"近7天",value:[Q()().startOf("day").subtract(6,"day"),Q()().endOf("day")]},{label:"近30天",value:[Q()().startOf("day").subtract(29,"day"),Q()().endOf("day")]}]}),(0,p.jsx)(d.ZP,{icon:(0,p.jsx)(N.Z,{}),onClick:ot,children:"刷新"}),(0,p.jsx)(A.Z,{trigger:["click"],open:$e,onOpenChange:et,title:(0,p.jsx)("b",{children:"显示设置"}),content:(0,p.jsxs)(O.Z,{direction:"vertical",size:8,children:[(0,p.jsx)(E.Z,{checked:_e.kpis,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{kpis:e.target.checked})}))},children:"KPI 指标"}),(0,p.jsx)(R.Z,{style:{margin:"4px 0"}}),(0,p.jsx)(E.Z,{checked:_e.ticketStatusPie,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{ticketStatusPie:e.target.checked})}))},children:"工单状态分布"}),(0,p.jsx)(E.Z,{checked:_e.aiTokenLine,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{aiTokenLine:e.target.checked})}))},children:"AI Token 今日使用趋势"}),(0,p.jsx)(R.Z,{style:{margin:"4px 0"}}),(0,p.jsx)(E.Z,{checked:_e.serviceStatusPie,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{serviceStatusPie:e.target.checked})}))},children:"会话状态分布"}),(0,p.jsx)(E.Z,{checked:_e.serviceDurationLine,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{serviceDurationLine:e.target.checked})}))},children:"会话时长分布"}),(0,p.jsx)(E.Z,{checked:_e.serviceHourlyLine,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{serviceHourlyLine:e.target.checked})}))},children:"会话请求时间点"}),(0,p.jsx)(R.Z,{style:{margin:"4px 0"}}),l&&(0,p.jsx)(E.Z,{checked:_e.recentCalls,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{recentCalls:e.target.checked})}))},children:"最近呼叫"}),(0,p.jsx)(E.Z,{checked:_e.articles,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{articles:e.target.checked})}))},children:"最近知识库文章"}),(0,p.jsx)(E.Z,{checked:_e.notices,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{notices:e.target.checked})}))},children:"平台动态"}),(0,p.jsx)(R.Z,{style:{margin:"4px 0"}}),(0,p.jsx)(E.Z,{checked:_e.agentPerformance,onChange:function(e){return Ve((function(t){return j()(j()({},t),{},{agentPerformance:e.target.checked})}))},children:"客服绩效统计"}),(0,p.jsxs)(O.Z,{size:8,children:[(0,p.jsx)(d.ZP,{size:"small",onClick:function(){return Ve(Ue)},children:"恢复默认"}),(0,p.jsx)(d.ZP,{size:"small",type:"primary",onClick:function(){return et(!1)},children:"完成"})]})]}),children:(0,p.jsx)(d.ZP,{children:"显示设置"})})]})})]})}),_e.kpis&&(0,p.jsxs)(q.Z,{gutter:[16,16],children:[(0,p.jsx)(D.Z,{xs:24,sm:12,md:8,lg:6,xl:4,children:(0,p.jsx)(P.Z,{loading:rt,children:(0,p.jsx)(F.Z,{title:(0,p.jsx)(M.Z,{title:"当前在线客服数量 / 总客服数",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/agent")},children:[(0,p.jsx)(z.Z,{})," 在线客服"]})}),value:null!==(e=null==C?void 0:C.onlineAgentCount)&&void 0!==e?e:0,suffix:"/ ".concat(Math.max(0,(null!==(t=null==C?void 0:C.onlineAgentCount)&&void 0!==t?t:0)+(null!==(n=null==C?void 0:C.offlineAgentCount)&&void 0!==n?n:0)))})})}),(0,p.jsx)(D.Z,{xs:24,sm:12,md:8,lg:6,xl:4,children:(0,p.jsx)(P.Z,{loading:rt,children:(0,p.jsx)(F.Z,{title:(0,p.jsx)(M.Z,{title:"当前排队中的会话数量",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(H.Z,{})," 排队会话"]})}),value:null!==(r=null==C?void 0:C.queuingThreadCount)&&void 0!==r?r:0})})}),(0,p.jsx)(D.Z,{xs:24,sm:12,md:8,lg:6,xl:4,children:(0,p.jsx)(P.Z,{loading:rt,children:(0,p.jsx)(F.Z,{title:(0,p.jsx)(M.Z,{title:"选定时间内已接入会话占比",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(L.Z,{})," 接通率"]})}),value:de(null==C?void 0:C.acceptRate),suffix:"%"})})}),(0,p.jsx)(D.Z,{xs:24,sm:12,md:8,lg:6,xl:4,children:(0,p.jsx)(P.Z,{loading:rt,children:(0,p.jsx)(F.Z,{title:(0,p.jsx)(M.Z,{title:"从用户发起到客服首次回复的平均时长",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(L.Z,{})," 平均首响"]})}),value:le(null==C?void 0:C.avgFirstResponseTime)})})}),(0,p.jsx)(D.Z,{xs:24,sm:12,md:8,lg:6,xl:4,children:(0,p.jsx)(P.Z,{loading:rt,children:(0,p.jsx)(F.Z,{title:(0,p.jsx)(M.Z,{title:"选定时间内创建的工单总量",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/ticket-service/overview")},children:[(0,p.jsx)(G.Z,{})," 工单总数"]})}),value:null!==(s=null==pe?void 0:pe.totalTickets)&&void 0!==s?s:0})})}),(0,p.jsx)(D.Z,{xs:24,sm:12,md:8,lg:6,xl:4,children:(0,p.jsx)(P.Z,{loading:rt,children:(0,p.jsx)(F.Z,{title:(0,p.jsx)(M.Z,{title:"客户评价的满意度比例",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/ticket-service/rating")},children:[(0,p.jsx)(Y.Z,{})," 满意度"]})}),value:de(null!==(o=null==pe?void 0:pe.customerSatisfactionRate)&&void 0!==o?o:null==C?void 0:C.satisfactionRate),suffix:"%"})})})]}),(_e.serviceStatusPie||_e.serviceDurationLine)&&(0,p.jsx)(q.Z,{gutter:[16,16],children:_e.serviceStatusPie&&_e.serviceDurationLine?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(D.Z,{xs:24,lg:10,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"在线客服会话的状态分布",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(z.Z,{})," 会话状态分布"]})}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(_.Z,{data:lt,angleField:"value",colorField:"type",radius:.9,legend:{position:"bottom"},height:300})})}),(0,p.jsx)(D.Z,{xs:24,lg:14,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"会话时长区间内的会话数量",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(L.Z,{})," 会话时长分布"]})}),extra:(0,p.jsx)(ce,{type:"secondary",children:"单位:会话数"}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(V.Z,{data:dt,xField:"bucket",yField:"value",smooth:!0,height:300,tooltip:{showMarkers:!1},xAxis:{label:{autoRotate:!1}}})})})]}):_e.serviceStatusPie?(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"在线客服会话的状态分布",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(z.Z,{})," 会话状态分布"]})}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(_.Z,{data:lt,angleField:"value",colorField:"type",radius:.9,legend:{position:"bottom"},height:300})})}):(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"会话时长区间内的会话数量",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(L.Z,{})," 会话时长分布"]})}),extra:(0,p.jsx)(ce,{type:"secondary",children:"单位:会话数"}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(V.Z,{data:dt,xField:"bucket",yField:"value",smooth:!0,height:300,tooltip:{showMarkers:!1},xAxis:{label:{autoRotate:!1}}})})})}),_e.serviceHourlyLine&&(0,p.jsx)(q.Z,{gutter:[16,16],children:(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"每小时发起会话请求的人次",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/thread")},children:[(0,p.jsx)(H.Z,{})," 在线客服会话请求时间点"]})}),extra:(0,p.jsx)(ce,{type:"secondary",children:"单位:人次/小时"}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(V.Z,{data:Ge,xField:"hour",yField:"count",smooth:!0,height:300,tooltip:{showMarkers:!1},xAxis:{tickCount:12}})})})}),_e.agentPerformance&&(0,p.jsx)(q.Z,{gutter:[16,16],children:(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"客服维度关键绩效指标汇总",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/online-service/agent")},children:[(0,p.jsx)(z.Z,{})," 客服绩效统计"]})}),extra:(0,p.jsx)(ce,{type:"secondary",children:"按客服汇总"}),loading:rt,children:(0,p.jsx)(X.Z,{rowKey:function(e){return e.key||"".concat(e.name)},size:"small",columns:xt,dataSource:vt,scroll:{x:!0},pagination:{pageSize:10},locale:{emptyText:"暂无数据"}})})})}),(_e.ticketStatusPie||_e.aiTokenLine)&&(0,p.jsx)(q.Z,{gutter:[16,16],children:_e.ticketStatusPie&&_e.aiTokenLine?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(D.Z,{xs:24,lg:10,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"选定时间内各状态工单数量占比",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/ticket-service/overview")},children:[(0,p.jsx)(G.Z,{})," 工单状态分布"]})}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(_.Z,{data:ut,angleField:"value",colorField:"type",radius:.9,legend:{position:"bottom"},height:300})})}),(0,p.jsx)(D.Z,{xs:24,lg:14,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"今日各小时 Token 消耗趋势",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/robot-service/token")},children:[(0,p.jsx)(U.Z,{})," AI Token 今日使用趋势"]})}),extra:(0,p.jsx)(ce,{type:"secondary",children:"单位Token"}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(V.Z,{data:ct,xField:"hour",yField:"tokens",smooth:!0,height:300,tooltip:{showMarkers:!1},xAxis:{tickCount:12}})})})]}):_e.ticketStatusPie?(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"选定时间内各状态工单数量占比",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/ticket-service/overview")},children:[(0,p.jsx)(G.Z,{})," 工单状态分布"]})}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(_.Z,{data:ut,angleField:"value",colorField:"type",radius:.9,legend:{position:"bottom"},height:300})})}):(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"今日各小时 Token 消耗趋势",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/robot-service/token")},children:[(0,p.jsx)(U.Z,{})," AI Token 今日使用趋势"]})}),extra:(0,p.jsx)(ce,{type:"secondary",children:"单位Token"}),loading:rt,children:rt?(0,p.jsx)(J.Z,{active:!0,paragraph:{rows:6}}):(0,p.jsx)(V.Z,{data:ct,xField:"hour",yField:"tokens",smooth:!0,height:300,tooltip:{showMarkers:!1},xAxis:{tickCount:12}})})})}),l&&_e.recentCalls&&(0,p.jsx)(q.Z,{gutter:[16,16],children:(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)(M.Z,{title:"FreeSWITCH 最近呼入/呼出记录(仅调试)",children:(0,p.jsxs)("span",{style:{cursor:"pointer"},onClick:function(){return c("/bi/callcenter-service/summary")},children:[(0,p.jsx)(W.Z,{})," 最近呼叫"]})}),extra:(0,p.jsxs)(ce,{type:"secondary",children:["共 ",we," 通"]}),children:(0,p.jsx)(X.Z,{rowKey:function(e){return e.uid},size:"small",loading:rt,columns:pt,dataSource:je,pagination:!1})})})}),(_e.articles||_e.notices)&&(0,p.jsx)(q.Z,{gutter:[16,16],children:_e.articles&&_e.notices?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(D.Z,{xs:24,lg:12,children:(0,p.jsx)(P.Z,{title:(0,p.jsxs)("span",{children:[(0,p.jsx)(K.Z,{})," 最近知识库文章"]}),extra:(0,p.jsxs)(ce,{type:"secondary",children:["共 ",qe," 篇"]}),children:(0,p.jsx)(X.Z,{rowKey:function(e){return e.uid},size:"small",loading:rt,columns:ht,dataSource:Me,pagination:!1})})}),(0,p.jsx)(D.Z,{xs:24,lg:12,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)("span",{children:"平台动态"}),extra:(0,p.jsxs)(ce,{type:"secondary",children:["共 ",Ne," 条"]}),children:(0,p.jsx)(X.Z,{rowKey:function(e){return e.uid},size:"small",loading:rt,columns:ft,dataSource:Re,pagination:!1})})})]}):_e.articles?(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsxs)("span",{children:[(0,p.jsx)(K.Z,{})," 最近知识库文章"]}),extra:(0,p.jsxs)(ce,{type:"secondary",children:["共 ",qe," 篇"]}),children:(0,p.jsx)(X.Z,{rowKey:function(e){return e.uid},size:"small",loading:rt,columns:ht,dataSource:Me,pagination:!1})})}):(0,p.jsx)(D.Z,{xs:24,children:(0,p.jsx)(P.Z,{title:(0,p.jsx)("span",{children:"平台动态"}),extra:(0,p.jsxs)(ce,{type:"secondary",children:["共 ",Ne," 条"]}),children:(0,p.jsx)(X.Z,{rowKey:function(e){return e.uid},size:"small",loading:rt,columns:ft,dataSource:Re,pagination:!1})})})})]})},he=n(75112),fe=function(){var e=(0,he.Z)().contentStyle,t=((0,o.useModel)("@@initialState").initialState||{}).userInfo,n=(0,a.u)((function(e){return e.setCurrentOrg})),r=(0,o.useIntl)(),l=(0,o.useAccess)();l.canDebug&&m.Z.log("Developing canDebug");var d=(0,u.useState)(!1),g=i()(d,2),j=g[0],k=g[1],Z=(0,u.useState)(!1),b=i()(Z,2),w=b[0],S=b[1];return(0,u.useEffect)((function(){!function(){if(t){if(!t.currentOrganization)return m.Z.log("before initOrganization",t),void k(!0);var e=t.currentOrganization.vipExpireDate;if(m.Z.log("vipExpireDate",e),e){var i=new Date;i.setHours(0,0,0,0);var a=new Date(e);a.setHours(0,0,0,0),i>a&&x.yw.error(r.formatMessage({id:"license.org.expired"}),3)}m.Z.log("after initOrganization"),n(t.currentOrganization)}}(),"true"!==localStorage.getItem("skipVerification")&&(!t||t.emailVerified||t.mobileVerified||S(!0)),setTimeout((function(){var e,t;(e=(0,v.NL)())!==y.OsQ&&e||(x.yw.error((0,p.jsxs)(p.Fragment,{children:[r.formatMessage({id:"license.error.invalid"}),"",r.formatMessage({id:"license.error.auto.logout"}),"。",(0,p.jsx)("a",{href:r.formatMessage({id:"license.apply.url"}),target:"_blank",rel:"noopener noreferrer",children:r.formatMessage({id:"license.apply.link"})})]}),3),setTimeout((function(){(0,s.NZ)()}),3e3)),((t=(0,v.Gv)())===y.OsQ||t)&&(x.yw.error((0,p.jsxs)(p.Fragment,{children:[r.formatMessage({id:"license.error.expired"}),"",r.formatMessage({id:"license.error.auto.logout"}),"。",(0,p.jsx)("a",{href:r.formatMessage({id:"license.apply.url"}),target:"_blank",rel:"noopener noreferrer",children:r.formatMessage({id:"license.apply.link"})})]}),3),setTimeout((function(){(0,s.NZ)()}),3e3))}),2e3)}),[t]),(0,p.jsxs)("div",{style:e,children:[(0,p.jsx)(o.Access,{accessible:l.canAdmin()&&!l.isCommunityEdition(),fallback:(0,p.jsx)("div",{style:{marginTop:100,textAlign:"center"},children:(0,p.jsx)(f.Z,{description:"企业版&&平台版在此显示统计数据等"})}),children:(0,p.jsx)(pe,{})}),(0,p.jsx)(c.Z,{open:j,onClose:function(){return k(!1)},onSuccess:function(e){n(e),window.location.reload()}}),(0,p.jsx)(h,{open:w,onClose:function(){return S(!1)}})]})}}}]);