mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-01-23 22:50:16 +00:00
1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[1163],{61107:function(e,t,a){a.d(t,{Z:function(){return d}});var i=a(77260),r=a(44194),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},s=a(54183),o=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:n}))};var d=r.forwardRef(o)},82690:function(e,t,a){a.d(t,{Z:function(){return d}});var i=a(77260),r=a(44194),n={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 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},s=a(54183),o=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:n}))};var d=r.forwardRef(o)},86994:function(e,t,a){var i=a(77260),r=a(44194),n=a(20614),s=a(54183),o=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:n.Z}))},d=r.forwardRef(o);t.Z=d},80556:function(e,t,a){a.d(t,{Z:function(){return d}});var i=a(77260),r=a(44194),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},s=a(54183),o=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:n}))};var d=r.forwardRef(o)},74840:function(e,t,a){a.d(t,{Z:function(){return d}});var i=a(77260),r=a(44194),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},s=a(54183),o=function(e,t){return r.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:n}))};var d=r.forwardRef(o)},97199:function(e,t,a){a.r(t);var i=a(90819),r=a.n(i),n=a(89933),s=a.n(n),o=a(45332),d=a.n(o),c=a(44194),l=a(62558),u=a(27904),f=a(49260),g=a(79401),h=a(49616),m=a(32973),v=a(5780),x=a(27473),p=a(53504),j=a(78875),M=a(20228),Z=a(65532),b=a(61155),y=a(80556),T=a(61107),R=a(82690),k=a(86994),w=a(10022),S=a(74840),Y=a(48004),D=a(72657),C=a(40629),z=a(94956),W=a(28977),F=a.n(W),I=a(34599),O=a(14870),U=a(5488),P=a(18580),B=a(31549),E=l.default.RangePicker,H=u.Z.Option;t.default=function(){var e=(0,O.useIntl)(),t=(0,c.useState)(!1),a=d()(t,2),i=a[0],n=a[1],o=(0,I.u)((function(e){return e.currentOrg})),l=(0,c.useState)([]),W=d()(l,2),q=W[0],A=W[1],L=(0,c.useState)({totalThreads:0,activeThreads:0,avgDuration:0,satisfaction:0,acceptRate:0,abandonRate:0,avgWaitingTime:0,avgFirstResponseTime:0}),V=d()(L,2),N=V[0],Q=V[1],G=(0,c.useState)(F()().startOf("day")),J=d()(G,2),_=J[0],K=J[1],X=(0,c.useState)(F()().endOf("day")),$=d()(X,2),ee=$[0],te=$[1],ae=(0,c.useState)("today"),ie=d()(ae,2),re=ie[0],ne=ie[1],se=(0,c.useState)([F()().startOf("day"),F()().endOf("day")]),oe=d()(se,2),de=oe[0],ce=oe[1],le=(0,c.useState)({current:1,pageSize:20,total:0}),ue=d()(le,2),fe=ue[0],ge=ue[1],he=(0,c.useState)(U.whQ),me=d()(he,2),ve=me[0],xe=me[1],pe=(0,c.useState)(),je=d()(pe,2),Me=je[0],Ze=je[1],be=(0,c.useState)(),ye=d()(be,2),Te=ye[0],Re=ye[1],ke=(0,c.useState)([]),we=d()(ke,2),Se=we[0],Ye=we[1],De=(0,c.useState)([]),Ce=d()(De,2),ze=Ce[0],We=Ce[1],Fe=[{label:(0,B.jsx)(O.FormattedMessage,{id:"ticket.statistic.timeRange.today"}),value:"today"},{label:(0,B.jsx)(O.FormattedMessage,{id:"ticket.statistic.timeRange.yesterday"}),value:"yesterday"},{label:(0,B.jsx)(O.FormattedMessage,{id:"ticket.statistic.timeRange.week"}),value:"week"},{label:(0,B.jsx)(O.FormattedMessage,{id:"ticket.statistic.timeRange.lastWeek"}),value:"lastWeek"},{label:(0,B.jsx)(O.FormattedMessage,{id:"ticket.statistic.timeRange.month"}),value:"month"},{label:(0,B.jsx)(O.FormattedMessage,{id:"ticket.statistic.timeRange.custom"}),value:"custom"}];(0,c.useEffect)((function(){null!=o&&o.uid&&((0,C.LE)({orgUid:o.uid,pageNumber:0,pageSize:100}).then((function(e){var t;200===e.code&&Ye((null===(t=e.data)||void 0===t?void 0:t.content)||[])})),(0,z._t)({orgUid:o.uid,pageNumber:0,pageSize:100}).then((function(e){var t;200===e.code&&We((null===(t=e.data)||void 0===t?void 0:t.content)||[])})))}),[o]);var Ie=function(){var e=s()(r()().mark((function e(){var t,a,i,s,d,c,l=arguments;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=l.length>0&&void 0!==l[0]?l[0]:1,a=l.length>1&&void 0!==l[1]?l[1]:20,n(!0),e.prev=3,i={pageNumber:t-1,pageSize:a,orgUid:null==o?void 0:o.uid,startDate:de[0].format("YYYY-MM-DD"),endDate:de[1].format("YYYY-MM-DD"),type:ve,workgroupUid:ve===U.v5D?Me:void 0,agentUid:ve===U.fyH?Te:void 0},e.next=7,(0,D.RU)(i);case 7:s=e.sent,console.log("queryStatisticServiceByDate response:",s.data,i),200===s.code&&s.data&&(d=s.data,ge({current:t,pageSize:a,total:1}),c=[{key:d.date||F()().format("YYYY-MM-DD"),date:d.date||F()().format("YYYY-MM-DD"),totalThreads:d.totalIncomingThreads||0,activeThreads:d.currentThreadCount||0,avgDuration:d.avgConversationTime?Math.round(d.avgConversationTime/60):0,satisfaction:d.satisfactionRate||0,acceptRate:d.acceptRate||0,abandonRate:d.abandonRate||0,avgWaitingTime:d.avgWaitingTime?Math.round(d.avgWaitingTime/60):0,avgFirstResponseTime:d.avgFirstResponseTime?Math.round(d.avgFirstResponseTime/60):0,transferRate:d.transferRate||0,avgMessagePerThread:d.avgMessagePerThread||0,queuingThreadCount:d.queuingThreadCount||0,maxWaitingTime:d.maxWaitingTime?Math.round(d.maxWaitingTime/60):0}],A(c)),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(3),f.ZP.error("获取会话数据失败"),console.error("获取会话数据失败:",e.t0);case 16:return e.prev=16,n(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[3,12,16,19]])})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){if("custom"===re)K(_),te(ee);else{var e=F()();"today"===re?(K(e.startOf("day")),te(e.endOf("day"))):"yesterday"===re?(K(e.subtract(1,"day").startOf("day")),te(e.subtract(1,"day").endOf("day"))):"week"===re?(K(e.startOf("week")),te(e.endOf("week"))):"lastWeek"===re?(K(e.subtract(1,"week").startOf("week")),te(e.subtract(1,"week").endOf("week"))):"month"===re&&(K(e.startOf("month")),te(e.endOf("month")))}}),[re]),(0,c.useEffect)((function(){ce([_,ee])}),[_,ee]);var Oe=function(){var e=s()(r()().mark((function e(){var t,a,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={orgUid:null==o?void 0:o.uid,startDate:de[0].format("YYYY-MM-DD"),endDate:de[1].format("YYYY-MM-DD"),type:ve,workgroupUid:ve===U.v5D?Me:void 0,agentUid:ve===U.fyH?Te:void 0},e.next=4,(0,D.RU)(t);case 4:a=e.sent,console.log("queryStatisticServiceByDate response:",a.data,t),200===a.code&&a.data&&(i=a.data,Q({totalThreads:i.totalIncomingThreads||0,activeThreads:i.currentThreadCount||0,avgDuration:i.avgConversationTime?Math.round(i.avgConversationTime/60):0,satisfaction:i.satisfactionRate||0,acceptRate:i.acceptRate||0,abandonRate:i.abandonRate||0,avgWaitingTime:i.avgWaitingTime?Math.round(i.avgWaitingTime/60):0,avgFirstResponseTime:i.avgFirstResponseTime?Math.round(i.avgFirstResponseTime/60):0})),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("获取统计数据失败:",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();(0,c.useEffect)((function(){Oe(),Ie()}),[de,ve,Me,Te]);var Ue=[{title:e.formatMessage({id:"bi.thread.table.date"}),dataIndex:"date",key:"date"},{title:e.formatMessage({id:"bi.thread.table.totalThreads"}),dataIndex:"totalThreads",key:"totalThreads"},{title:e.formatMessage({id:"bi.thread.table.activeThreads"}),dataIndex:"activeThreads",key:"activeThreads"},{title:e.formatMessage({id:"bi.thread.table.queuingThreads"}),dataIndex:"queuingThreadCount",key:"queuingThreadCount"},{title:e.formatMessage({id:"bi.thread.table.acceptRate"}),dataIndex:"acceptRate",key:"acceptRate",render:function(e){return"".concat(e,"%")}},{title:e.formatMessage({id:"bi.thread.table.abandonRate"}),dataIndex:"abandonRate",key:"abandonRate",render:function(e){return"".concat(e,"%")}},{title:e.formatMessage({id:"bi.thread.table.avgWaitingTime"}),dataIndex:"avgWaitingTime",key:"avgWaitingTime",render:function(t){return"".concat(t).concat(e.formatMessage({id:"bi.time.minute"}))}},{title:e.formatMessage({id:"bi.thread.table.avgFirstResponseTime"}),dataIndex:"avgFirstResponseTime",key:"avgFirstResponseTime",render:function(t){return"".concat(t).concat(e.formatMessage({id:"bi.time.minute"}))}},{title:e.formatMessage({id:"bi.thread.table.avgDuration"}),dataIndex:"avgDuration",key:"avgDuration",render:function(t){return"".concat(t).concat(e.formatMessage({id:"bi.time.minute"}))}},{title:e.formatMessage({id:"bi.thread.table.transferRate"}),dataIndex:"transferRate",key:"transferRate",render:function(e){return"".concat(e,"%")}},{title:e.formatMessage({id:"bi.thread.table.avgMessagePerThread"}),dataIndex:"avgMessagePerThread",key:"avgMessagePerThread"},{title:e.formatMessage({id:"bi.thread.table.satisfaction"}),dataIndex:"satisfaction",key:"satisfaction",render:function(t){return t>0?"".concat(t,"%"):e.formatMessage({id:"bi.common.noRating"})}}];return(0,B.jsxs)("div",{style:{padding:"24px"},children:[(0,B.jsxs)("div",{style:{marginBottom:"24px"},children:[(0,B.jsx)("h2",{children:e.formatMessage({id:"bi.thread.title"})}),(0,B.jsxs)("p",{children:[e.formatMessage({id:"bi.thread.description"}),"today"===re&&(0,B.jsxs)("span",{style:{color:"#666",marginLeft:8},children:["(",_.format("YYYY-MM-DD"),")"]}),"yesterday"===re&&(0,B.jsxs)("span",{style:{color:"#666",marginLeft:8},children:["(",_.format("YYYY-MM-DD"),")"]}),("week"===re||"lastWeek"===re||"month"===re||"custom"===re)&&(0,B.jsxs)("span",{style:{color:"#666",marginLeft:8},children:["(",_.format("YYYY-MM-DD")," ~ ",ee.format("YYYY-MM-DD"),")"]})]})]}),(0,B.jsx)(g.Z,{style:{marginBottom:"24px"},children:(0,B.jsx)(h.Z,{direction:"vertical",style:{width:"100%"},children:(0,B.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,B.jsxs)(h.Z,{wrap:!0,children:[(0,B.jsx)(m.ZP.Group,{value:re,onChange:function(e){return ne(e.target.value)},children:Fe.map((function(e){return(0,B.jsx)(m.ZP.Button,{value:e.value,children:e.label},e.value)}))}),"custom"===re&&(0,B.jsx)(E,{value:[_,ee],onChange:function(e){K(e[0]),te(e[1])}})]}),(0,B.jsxs)(h.Z,{wrap:!0,children:[(0,B.jsxs)(u.Z,{value:ve,style:{width:120},onChange:function(e){xe(e),Ze(void 0),Re(void 0)},children:[(0,B.jsx)(H,{value:U.whQ,children:e.formatMessage({id:"bi.statistic.level.organization"})}),(0,B.jsx)(H,{value:U.v5D,children:e.formatMessage({id:"bi.statistic.level.workgroup"})}),(0,B.jsx)(H,{value:U.fyH,children:e.formatMessage({id:"bi.statistic.level.agent"})})]}),ve===U.v5D&&(0,B.jsx)(u.Z,{value:Me,style:{width:150},onChange:Ze,placeholder:e.formatMessage({id:"bi.statistic.level.workgroup"}),allowClear:!0,children:Se.map((function(e){return(0,B.jsx)(H,{value:e.uid,children:e.nickname},e.uid)}))}),ve===U.fyH&&(0,B.jsx)(u.Z,{value:Te,style:{width:150},onChange:Re,placeholder:e.formatMessage({id:"bi.statistic.level.agent"}),allowClear:!0,children:ze.map((function(e){return(0,B.jsx)(H,{value:e.uid,children:e.nickname},e.uid)}))}),(0,B.jsx)(v.ZP,{type:"primary",icon:(0,B.jsx)(y.Z,{}),onClick:function(){return Ie()},loading:i,children:e.formatMessage({id:"bi.common.refresh"})}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"ticket.statistic.filter.export"}),children:(0,B.jsx)(v.ZP,{icon:(0,B.jsx)(T.Z,{}),onClick:function(){var e=localStorage.getItem(U.LA8);window.open((0,P.kG)()+"/api/v1/service/statistic/export?"+new URLSearchParams({type:ve,startDate:de[0].format("YYYY-MM-DD 00:00:00"),endDate:de[1].format("YYYY-MM-DD 23:59:59"),workgroupUid:ve===U.v5D?Me:"",agentUid:ve===U.fyH?Te:"",orgUid:(null==o?void 0:o.uid)||"",accessToken:e||""}).toString())},children:e.formatMessage({id:"ticket.statistic.filter.export"})})})]})]})})}),(0,B.jsxs)(p.Z,{spinning:i,children:[(0,B.jsxs)(j.Z,{gutter:16,style:{marginBottom:"24px"},children:[(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.totalThreads"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.totalThreads.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.totalThreads,prefix:(0,B.jsx)(k.Z,{}),valueStyle:{color:"#3f8600"}})})}),(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.activeThreads"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.activeThreads.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.activeThreads,prefix:(0,B.jsx)(w.Z,{}),valueStyle:{color:"#1890ff"}})})}),(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.acceptRate"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.acceptRate.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.acceptRate,prefix:(0,B.jsx)(S.Z,{}),valueStyle:{color:"#52c41a"},suffix:"%"})})}),(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.avgWaitingTime"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.avgWaitingTime.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.avgWaitingTime,prefix:(0,B.jsx)(Y.Z,{}),valueStyle:{color:"#fa8c16"},suffix:e.formatMessage({id:"bi.time.minute"})})})})]}),(0,B.jsxs)(j.Z,{gutter:16,style:{marginBottom:"24px"},children:[(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.avgDuration"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.avgDuration.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.avgDuration,prefix:(0,B.jsx)(Y.Z,{}),valueStyle:{color:"#722ed1"},suffix:e.formatMessage({id:"bi.time.minute"})})})}),(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.avgFirstResponseTime"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.avgFirstResponseTime.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.avgFirstResponseTime,prefix:(0,B.jsx)(Y.Z,{}),valueStyle:{color:"#13c2c2"},suffix:e.formatMessage({id:"bi.time.minute"})})})}),(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.abandonRate"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.abandonRate.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.abandonRate,prefix:(0,B.jsx)(w.Z,{}),valueStyle:{color:"#ff4d4f"},suffix:"%"})})}),(0,B.jsx)(M.Z,{span:6,children:(0,B.jsx)(g.Z,{children:(0,B.jsx)(Z.Z,{title:(0,B.jsxs)(h.Z,{children:[e.formatMessage({id:"bi.thread.card.satisfaction"}),(0,B.jsx)(x.Z,{title:e.formatMessage({id:"bi.thread.card.satisfaction.tooltip"}),children:(0,B.jsx)(R.Z,{style:{color:"#999",fontSize:"14px"}})})]}),value:N.satisfaction,prefix:(0,B.jsx)(S.Z,{}),valueStyle:{color:"#eb2f96"},suffix:"%"})})})]}),(0,B.jsx)(g.Z,{title:e.formatMessage({id:"bi.thread.detailData"}),children:(0,B.jsx)(b.Z,{columns:Ue,dataSource:q,pagination:{current:fe.current,pageSize:fe.pageSize,total:fe.total,showSizeChanger:!0,showQuickJumper:!0,showTotal:function(e,t){return"".concat(t[0],"-").concat(t[1]," of ").concat(e," items")}},onChange:function(e){Ie(e.current,e.pageSize)},size:"middle"})})]})]})}}}]); |