Files
weiyu/deploy/server/admin/p__Dashboard__Quality__smart__statistics.30392183.async.js
jack ning 4c7623244a update
2025-07-30 11:08:35 +08:00

1 line
10 KiB
JavaScript

"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9217],{94011:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(77260),r=n(44194),l={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"},i=n(5901),s=function(e,t){return r.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:l}))};var o=r.forwardRef(s)},35911:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(77260),r=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 r.createElement(i.Z,(0,a.Z)({},e,{ref:t,icon:l}))};var o=r.forwardRef(s)},57391:function(e,t,n){n.r(t);n(44194);var a=n(34251),r=n(41123),l=n(71373),i=n(63065),s=n(43413),o=n(77407),c=n(5858),d=n(9248),u=n(14318),p=n(68525),f=n(35911),m=n(94011),x=n(31549),v=a.Z.Option,g=r.default.RangePicker;t.default=function(){var e=[{title:"质检方案",dataIndex:"qualityPlan",key:"qualityPlan"},{title:"质检总数",dataIndex:"totalInspections",key:"totalInspections"},{title:"平均分",dataIndex:"averageScore",key:"averageScore"},{title:"平均置信度",dataIndex:"averageConfidence",key:"averageConfidence",render:function(e){return(0,x.jsx)(l.Z,{percent:e,size:"small"})}},{title:"优秀率",dataIndex:"excellentRate",key:"excellentRate"},{title:"良好率",dataIndex:"goodRate",key:"goodRate"},{title:"待改进率",dataIndex:"poorRate",key:"poorRate"},{title:"人工复核率",dataIndex:"manualReviewRate",key:"manualReviewRate"}];return(0,x.jsx)("div",{style:{padding:"20px"},children:(0,x.jsxs)(i.Z,{title:"智能质检统计",extra:(0,x.jsxs)(s.Z,{children:[(0,x.jsx)(o.ZP,{icon:(0,x.jsx)(f.Z,{}),children:"刷新"}),(0,x.jsx)(o.ZP,{icon:(0,x.jsx)(m.Z,{}),type:"primary",children:"导出报表"})]}),children:[(0,x.jsxs)(c.Z,{gutter:16,style:{marginBottom:24},children:[(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"总质检数",value:856})}),(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"平均分",value:87.2,suffix:"分"})}),(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"平均置信度",value:82.3,suffix:"%"})}),(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"人工复核率",value:12.1,suffix:"%"})})]}),(0,x.jsxs)(c.Z,{gutter:16,style:{marginBottom:24},children:[(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"本月质检数",value:156})}),(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"本月平均分",value:89.5,suffix:"分"})}),(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"本月置信度",value:85.2,suffix:"%"})}),(0,x.jsx)(d.Z,{span:6,children:(0,x.jsx)(u.Z,{title:"本月复核率",value:9.8,suffix:"%"})})]}),(0,x.jsxs)(c.Z,{gutter:16,style:{marginBottom:24},children:[(0,x.jsx)(d.Z,{span:8,children:(0,x.jsx)(i.Z,{size:"small",title:"评分分布",children:(0,x.jsxs)("div",{style:{textAlign:"center"},children:[(0,x.jsx)(l.Z,{type:"circle",percent:68.2,format:function(){return"优秀"}}),(0,x.jsx)("div",{style:{marginTop:8},children:"68.2% 优秀 (90-100分)"})]})})}),(0,x.jsx)(d.Z,{span:8,children:(0,x.jsx)(i.Z,{size:"small",title:"置信度分布",children:(0,x.jsxs)("div",{style:{textAlign:"center"},children:[(0,x.jsx)(l.Z,{type:"circle",percent:82.3,format:function(){return"高"}}),(0,x.jsx)("div",{style:{marginTop:8},children:"82.3% 高置信度 (80-100%)"})]})})}),(0,x.jsx)(d.Z,{span:8,children:(0,x.jsx)(i.Z,{size:"small",title:"效率提升",children:(0,x.jsxs)("div",{style:{textAlign:"center"},children:[(0,x.jsx)(l.Z,{type:"circle",percent:87.9,format:function(){return"提升"}}),(0,x.jsx)("div",{style:{marginTop:8},children:"87.9% 效率提升"})]})})})]}),(0,x.jsx)("div",{style:{marginBottom:16},children:(0,x.jsxs)(s.Z,{wrap:!0,children:[(0,x.jsxs)(a.Z,{placeholder:"选择质检方案",style:{width:200},children:[(0,x.jsx)(v,{value:"all",children:"全部方案"}),(0,x.jsx)(v,{value:"standard",children:"标准会话质检方案"}),(0,x.jsx)(v,{value:"advanced",children:"高级会话质检方案"}),(0,x.jsx)(v,{value:"call",children:"通话质检方案"})]}),(0,x.jsx)(g,{placeholder:["开始时间","结束时间"]}),(0,x.jsx)(o.ZP,{type:"primary",children:"查询"})]})}),(0,x.jsx)(i.Z,{title:"质检方案统计",size:"small",children:(0,x.jsx)(p.Z,{columns:e,dataSource:[{key:"1",qualityPlan:"标准会话质检方案",totalInspections:456,averageScore:87.5,averageConfidence:82.3,excellentRate:"68.2%",goodRate:"25.4%",poorRate:"6.4%",manualReviewRate:"12.5%"},{key:"2",qualityPlan:"高级会话质检方案",totalInspections:234,averageScore:89.2,averageConfidence:85.7,excellentRate:"72.6%",goodRate:"22.1%",poorRate:"5.3%",manualReviewRate:"8.9%"},{key:"3",qualityPlan:"通话质检方案",totalInspections:166,averageScore:84.8,averageConfidence:78.9,excellentRate:"61.4%",goodRate:"30.1%",poorRate:"8.5%",manualReviewRate:"15.2%"}],pagination:!1})})]})})}},14318:function(e,t,n){n.d(t,{Z:function(){return E}});var a=n(44194),r=n(99026),l=n(59644),i=n(26867),s=n(51865),o=n.n(s),c=n(53230),d=n(81424),u=n(83043);var p=e=>{const{value:t,formatter:n,precision:r,decimalSeparator:l,groupSeparator:i="",prefixCls:s}=e;let o;if("function"==typeof n)o=n(t);else{const e=String(t),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(n&&"-"!==e){const e=n[1];let t=n[2]||"0",c=n[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,i),"number"==typeof r&&(c=c.padEnd(r,"0").slice(0,r>0?r:0)),c&&(c=`${l}${c}`),o=[a.createElement("span",{key:"int",className:`${s}-content-value-int`},e,t),c&&a.createElement("span",{key:"decimal",className:`${s}-content-value-decimal`},c)]}else o=e}return a.createElement("span",{className:`${s}-content-value`},o)},f=n(15273),m=n(81254),x=n(10750);const v=e=>{const{componentCls:t,marginXXS:n,padding:a,colorTextDescription:r,titleFontSize:l,colorTextHeading:i,contentFontSize:s,fontFamily:o}=e;return{[t]:Object.assign(Object.assign({},(0,f.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:r,fontSize:l},[`${t}-skeleton`]:{paddingTop:a},[`${t}-content`]:{color:i,fontSize:s,fontFamily:o,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var g=(0,m.I$)("Statistic",(e=>{const t=(0,x.IX)(e,{});return[v(t)]}),(e=>{const{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}})),j=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};const y=a.forwardRef(((e,t)=>{const{prefixCls:n,className:r,rootClassName:l,style:i,valueStyle:s,value:f=0,title:m,valueRender:x,prefix:v,suffix:y,loading:h=!1,formatter:Z,precision:S,decimalSeparator:R=".",groupSeparator:b=",",onMouseEnter:w,onMouseLeave:O}=e,E=j(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:k,direction:$,className:I,style:C}=(0,d.dj)("statistic"),z=k("statistic",n),[P,N,M]=g(z),T=a.createElement(p,{decimalSeparator:R,groupSeparator:b,prefixCls:z,formatter:Z,precision:S,value:f}),B=o()(z,{[`${z}-rtl`]:"rtl"===$},I,r,l,N,M),F=a.useRef(null);a.useImperativeHandle(t,(()=>({nativeElement:F.current})));const H=(0,c.Z)(E,{aria:!0,data:!0});return P(a.createElement("div",Object.assign({},H,{ref:F,className:B,style:Object.assign(Object.assign({},C),i),onMouseEnter:w,onMouseLeave:O}),m&&a.createElement("div",{className:`${z}-title`},m),a.createElement(u.Z,{paragraph:!1,loading:h,className:`${z}-skeleton`},a.createElement("div",{style:s,className:`${z}-content`},v&&a.createElement("span",{className:`${z}-content-prefix`},v),x?x(T):T,y&&a.createElement("span",{className:`${z}-content-suffix`},y)))))}));var h=y;const Z=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function S(e,t,n){const{format:a=""}=t,r=new Date(e).getTime(),l=Date.now();return function(e,t){let n=e;const a=/\[[^\]]*]/g,r=(t.match(a)||[]).map((e=>e.slice(1,-1))),l=t.replace(a,"[]"),i=Z.reduce(((e,[t,a])=>{if(e.includes(t)){const r=Math.floor(n/a);return n-=r*a,e.replace(new RegExp(`${t}+`,"g"),(e=>{const t=e.length;return r.toString().padStart(t,"0")}))}return e}),l);let s=0;return i.replace(a,(()=>{const e=r[s];return s+=1,e}))}(n?Math.max(r-l,0):Math.max(l-r,0),a)}var R=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};var b=e=>{const{value:t,format:n="HH:mm:ss",onChange:s,onFinish:o,type:c}=e,d=R(e,["value","format","onChange","onFinish","type"]),u="countdown"===c,[p,f]=a.useState(null),m=(0,r.zX)((()=>{const e=Date.now(),n=function(e){return new Date(e).getTime()}(t);f({});return null==s||s(u?n-e:e-n),!(u&&n<e)||(null==o||o(),!1)}));a.useEffect((()=>{let e;const t=()=>{e=(0,l.Z)((()=>{m()&&t()}))};return t(),()=>l.Z.cancel(e)}),[t,u]),a.useEffect((()=>{f({})}),[]);return a.createElement(h,Object.assign({},d,{value:t,valueRender:e=>(0,i.Tm)(e,{title:void 0}),formatter:(e,t)=>p?S(e,Object.assign(Object.assign({},t),{format:n}),u):"-"}))};const w=e=>a.createElement(b,Object.assign({},e,{type:"countdown"}));var O=a.memo(w);h.Timer=b,h.Countdown=O;var E=h}}]);