Files
weiyu/deploy/server/admin/p__Dashboard__Bi__Call__Summary.b681c77e.async.js
jack ning b5cf424209 update
2025-09-25 20:41:30 +08:00

1 line
7.9 KiB
JavaScript

"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[650],{93689:function(e,t,l){l.d(t,{Z:function(){return c}});var n=l(77260),s=l(44194),a={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"},i=l(54183),r=function(e,t){return s.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var c=s.forwardRef(r)},48004:function(e,t,l){l.d(t,{Z:function(){return c}});var n=l(77260),s=l(44194),a={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},i=l(54183),r=function(e,t){return s.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var c=s.forwardRef(r)},58203:function(e,t,l){l.d(t,{Z:function(){return c}});var n=l(77260),s=l(44194),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"},i=l(54183),r=function(e,t){return s.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var c=s.forwardRef(r)},84426:function(e,t,l){l.r(t);l(44194);var n=l(63628),s=l(88344),a=l(78875),i=l(20228),r=l(79401),c=l(65532),o=l(61155),d=l(58203),x=l(93689),h=l(48004),u=l(10022),f=l(31549);t.default=function(){var e=[{title:"日期",dataIndex:"date",key:"date"},{title:"总通话数",dataIndex:"totalCalls",key:"totalCalls",sorter:function(e,t){return e.totalCalls-t.totalCalls}},{title:"已接听",dataIndex:"answeredCalls",key:"answeredCalls",render:function(e,t){return(0,f.jsxs)("div",{children:[(0,f.jsx)("span",{children:e}),(0,f.jsx)(n.Z,{percent:Math.round(e/t.totalCalls*100),size:"small",showInfo:!1,strokeColor:"#52c41a"})]})}},{title:"未接听",dataIndex:"missedCalls",key:"missedCalls",render:function(e,t){return(0,f.jsxs)("div",{children:[(0,f.jsx)("span",{children:e}),(0,f.jsx)(n.Z,{percent:Math.round(e/t.totalCalls*100),size:"small",showInfo:!1,strokeColor:"#ff4d4f"})]})}},{title:"平均通话时长",dataIndex:"avgCallDuration",key:"avgCallDuration"},{title:"平均等待时间",dataIndex:"avgWaitTime",key:"avgWaitTime"},{title:"满意度",dataIndex:"satisfaction",key:"satisfaction",render:function(e){return(0,f.jsxs)(s.Z,{color:e>=4?"green":e>=3?"orange":"red",children:[e,"/5"]})}}];return(0,f.jsxs)("div",{style:{padding:"24px"},children:[(0,f.jsxs)("div",{style:{marginBottom:"24px"},children:[(0,f.jsx)("h2",{children:"服务总结统计"}),(0,f.jsx)("p",{children:"查看呼叫中心客服的整体服务情况和统计数据"})]}),(0,f.jsxs)(a.Z,{gutter:16,style:{marginBottom:"24px"},children:[(0,f.jsx)(i.Z,{span:6,children:(0,f.jsx)(r.Z,{children:(0,f.jsx)(c.Z,{title:"今日总通话数",value:156,prefix:(0,f.jsx)(d.Z,{}),valueStyle:{color:"#3f8600"}})})}),(0,f.jsx)(i.Z,{span:6,children:(0,f.jsx)(r.Z,{children:(0,f.jsx)(c.Z,{title:"已接听通话",value:142,prefix:(0,f.jsx)(x.Z,{}),valueStyle:{color:"#1890ff"}})})}),(0,f.jsx)(i.Z,{span:6,children:(0,f.jsx)(r.Z,{children:(0,f.jsx)(c.Z,{title:"平均通话时长",value:"8.5分钟",prefix:(0,f.jsx)(h.Z,{}),valueStyle:{color:"#722ed1"}})})}),(0,f.jsx)(i.Z,{span:6,children:(0,f.jsx)(r.Z,{children:(0,f.jsx)(c.Z,{title:"在线客服数",value:8,prefix:(0,f.jsx)(u.Z,{}),valueStyle:{color:"#eb2f96"}})})})]}),(0,f.jsxs)(a.Z,{gutter:16,style:{marginBottom:"24px"},children:[(0,f.jsx)(i.Z,{span:12,children:(0,f.jsx)(r.Z,{title:"通话类型分布",children:(0,f.jsx)("div",{style:{height:300},children:[{type:"咨询类",count:67,percentage:42.9,color:"#1890ff"},{type:"投诉类",count:34,percentage:21.8,color:"#ff4d4f"},{type:"技术支持",count:28,percentage:17.9,color:"#52c41a"},{type:"订单查询",count:27,percentage:17.4,color:"#faad14"}].map((function(e,t){return(0,f.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:12},children:[(0,f.jsx)("span",{children:e.type}),(0,f.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,f.jsx)("div",{style:{width:12,height:12,backgroundColor:e.color,marginRight:8,borderRadius:2}}),(0,f.jsx)("span",{style:{marginRight:8},children:e.count}),(0,f.jsxs)("span",{style:{color:"#666"},children:["(",e.percentage,"%)"]})]})]},t)}))})})}),(0,f.jsx)(i.Z,{span:12,children:(0,f.jsx)(r.Z,{title:"客服工作状态",children:(0,f.jsx)("div",{style:{height:300},children:[{status:"在线",count:8,percentage:66.7,color:"#52c41a"},{status:"通话中",count:3,percentage:25,color:"#1890ff"},{status:"离线",count:1,percentage:8.3,color:"#666"}].map((function(e,t){return(0,f.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:12},children:[(0,f.jsx)("span",{children:e.status}),(0,f.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,f.jsx)("div",{style:{width:12,height:12,backgroundColor:e.color,marginRight:8,borderRadius:2}}),(0,f.jsx)("span",{style:{marginRight:8},children:e.count}),(0,f.jsxs)("span",{style:{color:"#666"},children:["(",e.percentage,"%)"]})]})]},t)}))})})})]}),(0,f.jsxs)(a.Z,{gutter:16,style:{marginBottom:"24px"},children:[(0,f.jsx)(i.Z,{span:8,children:(0,f.jsx)(r.Z,{title:"接听率",children:(0,f.jsxs)("div",{style:{textAlign:"center",padding:"20px 0"},children:[(0,f.jsx)("div",{style:{fontSize:"32px",fontWeight:"bold",color:"#52c41a"},children:"91.0%"}),(0,f.jsx)("div",{style:{color:"#666",marginTop:8},children:"今日接听率"})]})})}),(0,f.jsx)(i.Z,{span:8,children:(0,f.jsx)(r.Z,{title:"平均等待时间",children:(0,f.jsxs)("div",{style:{textAlign:"center",padding:"20px 0"},children:[(0,f.jsx)("div",{style:{fontSize:"32px",fontWeight:"bold",color:"#1890ff"},children:"2.3分钟"}),(0,f.jsx)("div",{style:{color:"#666",marginTop:8},children:"平均等待时间"})]})})}),(0,f.jsx)(i.Z,{span:8,children:(0,f.jsx)(r.Z,{title:"客户满意度",children:(0,f.jsxs)("div",{style:{textAlign:"center",padding:"20px 0"},children:[(0,f.jsx)("div",{style:{fontSize:"32px",fontWeight:"bold",color:"#faad14"},children:"4.2/5"}),(0,f.jsx)("div",{style:{color:"#666",marginTop:8},children:"平均满意度"})]})})})]}),(0,f.jsx)(r.Z,{title:"通话详细数据",children:(0,f.jsx)(o.Z,{columns:e,dataSource:[{key:"1",date:"2025-02-11",totalCalls:156,answeredCalls:142,missedCalls:14,avgCallDuration:"8.5分钟",avgWaitTime:"2.3分钟",satisfaction:4.2},{key:"2",date:"2025-02-10",totalCalls:134,answeredCalls:121,missedCalls:13,avgCallDuration:"7.8分钟",avgWaitTime:"2.8分钟",satisfaction:4},{key:"3",date:"2025-02-09",totalCalls:178,answeredCalls:165,missedCalls:13,avgCallDuration:"9.2分钟",avgWaitTime:"1.9分钟",satisfaction:4.4}],pagination:!1,size:"middle"})})]})}}}]);