Files
weiyu/deploy/server/admin/p__Dashboard__Quality__thread__result.8d2cd2cf.async.js

1 line
8.8 KiB
JavaScript
Raw Normal View History

2025-07-30 11:08:32 +08:00
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[5385],{35911:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(77260),a=n(44194),l={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"},i=n(5901),s=function(e,t){return a.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:l}))};var o=a.forwardRef(s)},91003:function(e,t,n){n.r(t);n(44194);var r=n(25950),a=n(34251),l=n(41123),i=n(43443),s=n(43413),o=n(77407),c=n(63065),u=n(5858),d=n(9248),p=n(14318),m=n(68525),f=n(58896),x=n(35911),y=n(12715),v=n(31549),g=r.Z.Search,h=a.Z.Option,j=l.default.RangePicker;t.default=function(){var e=[{title:"会话ID",dataIndex:"sessionId",key:"sessionId"},{title:"客服",dataIndex:"agent",key:"agent"},{title:"客户",dataIndex:"customer",key:"customer"},{title:"质检评分",dataIndex:"score",key:"score",render:function(e){return(0,v.jsxs)(i.Z,{color:e>=90?"green":e>=80?"orange":"red",children:[e,"分"]})}},{title:"质检项目",dataIndex:"qualityItems",key:"qualityItems",render:function(e){return(0,v.jsx)(s.Z,{children:e.map((function(e,t){return(0,v.jsx)(i.Z,{color:"blue",children:e},t)}))})}},{title:"质检员",dataIndex:"inspector",key:"inspector"},{title:"质检时间",dataIndex:"qualityTime",key:"qualityTime"},{title:"操作",key:"action",render:function(){return(0,v.jsxs)(s.Z,{size:"middle",children:[(0,v.jsx)(o.ZP,{type:"link",size:"small",icon:(0,v.jsx)(f.Z,{}),children:"查看详情"}),(0,v.jsx)(o.ZP,{type:"link",size:"small",children:"申诉"})]})}}];return(0,v.jsx)("div",{style:{padding:"20px"},children:(0,v.jsxs)(c.Z,{title:"会话质检结果查询",extra:(0,v.jsxs)(s.Z,{children:[(0,v.jsx)(o.ZP,{icon:(0,v.jsx)(x.Z,{}),children:"刷新"}),(0,v.jsx)(o.ZP,{type:"primary",children:"导出"})]}),children:[(0,v.jsxs)(u.Z,{gutter:16,style:{marginBottom:16},children:[(0,v.jsx)(d.Z,{span:6,children:(0,v.jsx)(p.Z,{title:"总质检数",value:1128})}),(0,v.jsx)(d.Z,{span:6,children:(0,v.jsx)(p.Z,{title:"平均分",value:87.5,suffix:"分"})}),(0,v.jsx)(d.Z,{span:6,children:(0,v.jsx)(p.Z,{title:"优秀率",value:68.2,suffix:"%"})}),(0,v.jsx)(d.Z,{span:6,children:(0,v.jsx)(p.Z,{title:"待申诉",value:12})})]}),(0,v.jsx)("div",{style:{marginBottom:16},children:(0,v.jsxs)(s.Z,{wrap:!0,children:[(0,v.jsx)(g,{placeholder:"搜索会话ID/客服/客户",style:{width:300}}),(0,v.jsxs)(a.Z,{placeholder:"质检状态",style:{width:120},children:[(0,v.jsx)(h,{value:"all",children:"全部"}),(0,v.jsx)(h,{value:"completed",children:"已质检"}),(0,v.jsx)(h,{value:"pending",children:"待质检"})]}),(0,v.jsxs)(a.Z,{placeholder:"评分范围",style:{width:120},children:[(0,v.jsx)(h,{value:"all",children:"全部"}),(0,v.jsx)(h,{value:"excellent",children:"优秀(90-100)"}),(0,v.jsx)(h,{value:"good",children:"良好(80-89)"}),(0,v.jsx)(h,{value:"poor",children:"待改进(0-79)"})]}),(0,v.jsx)(j,{placeholder:["开始时间","结束时间"]}),(0,v.jsx)(o.ZP,{type:"primary",icon:(0,v.jsx)(y.Z,{}),children:"搜索"})]})}),(0,v.jsx)(m.Z,{columns:e,dataSource:[{key:"1",sessionId:"S001",agent:"张三",customer:"客户A",score:95,qualityItems:["服务态度","专业能力","响应速度"],inspector:"质检员A",qualityTime:"2025-01-16 10:30:00"},{key:"2",sessionId:"S002",agent:"李四",customer:"客户B",score:85,qualityItems:["服务态度","专业能力"],inspector:"质检员B",quality