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

1 line
6.6 KiB
JavaScript
Raw 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([[262],{58203:function(e,l,a){a.d(l,{Z:function(){return c}});var n=a(77260),r=a(44194),t={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=a(54183),s=function(e,l){return r.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:t}))};var c=r.forwardRef(s)},80556:function(e,l,a){a.d(l,{Z:function(){return c}});var n=a(77260),r=a(44194),t={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=a(54183),s=function(e,l){return r.createElement(i.Z,(0,n.Z)({},e,{ref:l,icon:t}))};var c=r.forwardRef(s)},48021:function(e,l,a){a.r(l);var n=a(45332),r=a.n(n),t=a(44194),i=a(27259),s=a(27904),c=a(72207),d=a(20903),o=a(88344),p=a(49616),u=a(5780),x=a(79401),h=a(78875),j=a(20228),Z=a(65532),m=a(61155),f=a(68349),v=a(58203),g=a(80556),y=a(90727),k=a(31549),I=i.Z.Search,w=s.Z.Option,S=c.default.RangePicker,C=i.Z.TextArea;l.default=function(){var e=t.useState(!1),l=r()(e,2),a=l[0],n=l[1],i=t.useState(null),c=r()(i,2),D=c[0],R=c[1],b=d.Z.useForm(),z=r()(b,1)[0],P=[{title:"申诉ID",dataIndex:"appealId",key:"appealId"},{title:"通话ID",dataIndex:"callId",key:"callId"},{title:"申诉人",dataIndex:"appealer",key:"appealer"},{title:"通话时长",dataIndex:"callDuration",key:"callDuration"},{title:"原评分",dataIndex:"originalScore",key:"originalScore",render:function(e){return(0,k.jsxs)(o.Z,{color:"red",children:[e,"分"]})}},{title:"申诉理由",dataIndex:"appealReason",key:"appealReason",ellipsis:!0},{title:"申诉状态",dataIndex:"appealStatus",key:"appealStatus",render:function(e){var l="待审核"===e?"orange":"通过"===e?"green":"red";return(0,k.jsx)(o.Z,{color:l,children:e})}},{title:"申诉时间",dataIndex:"appealTime",key:"appealTime"},{title:"操作",key:"action",render:function(e,l){return(0,k.jsxs)(p.Z,{size:"middle",children:[(0,k.jsx)(u.ZP,{type:"link",size:"small",icon:(0,k.jsx)(v.Z,{}),children:"听录音"}),(0,k.jsx)(u.ZP,{type:"link",size:"small",children:"查看详情"}),"待审核"===l.appealStatus&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(u.ZP,{type:"link",size:"small",onClick:function(){return F(l,"approve")},children:"通过"}),(0,k.jsx)(u.ZP,{type:"link",size:"small",onClick:function(){return F(l,"reject")},children:"驳回"})]})]})}}],F=function(e,l){R(e),n(!0),z.setFieldsValue({action:l,reviewComment:""})};return(0,k.jsx)("div",{style:{padding:"20px"},children:(0,k.jsxs)(x.Z,{title:"通话质检申诉审核",extra:(0,k.jsxs)(p.Z,{children:[(0,k.jsx)(u.ZP,{icon:(0,k.jsx)(g.Z,{}),children:"刷新"}),(0,k.jsx)(u.ZP,{type:"primary",children:"导出"})]}),children:[(0,k.jsxs)(h.Z,{gutter:16,style:{marginBottom:16},children:[(0,k.jsx)(j.Z,{span:6,children:(0,k.jsx)(Z.Z,{title:"总申诉数",value:15})}),(0,k.jsx)(j.Z,{span:6,children:(0,k.jsx)(Z.Z,{title:"待审核",value:3})}),(0,k.jsx)(j.Z,{span:6,children:(0,k.jsx)(Z.Z,{title:"已通过",value:8})}),(0,k.jsx)(j.Z,{span:6,children:(0,k.jsx)(Z.Z,{title:"已驳回",value:4})})]}),(0,k.jsx)("div",{style:{marginBottom:16},children:(0,k.jsxs)(p.Z,{wrap:!0,children:[(0,k.jsx)(I,{placeholder:"搜索申诉ID/通话ID/申诉人",style:{width:300}}),(0,k.jsxs)(s.Z,{placeholder:"申诉状态",style:{width:120},children:[(0,k.jsx)(w,{value:"all",children:"全部"}),(0,k.jsx)(w,{value:"pending",children:"待审核"}),(0,k.jsx)(w,{value:"approved",children:"已通过"}),(0,k.jsx)(w,{value:"rejected",children:"已驳回"})]}),(0,k.jsx)(S,{placeholder:["开始时间","结束时间"]}),(0,k.jsx)(u.ZP,{type:"primary",icon:(0,k.jsx)(y.Z,{}),children:"搜索"})]})}),(0,k.jsx)(m.Z,{columns:P,dataSource:[{key:"1",appealId:"CA001",callId:"C001",appealer:"张三",callDuration:"5分32秒",originalScore:78,appealReason:"通话过程中客户情绪激动,但服务态度良好,专业解答到位",appealStatus:"待审核",appealTime:"2025-01-16 16:30:00"},{key:"2",appealId:"CA002",callId:"C002",appealer:"李四",callDuration:"3分15秒",originalScore:82,appealReason:"通话质量良好,评分偏低",appealStatus:"通过",appealTime:"2025-01-16 17:20:00"}]}),(0,k.jsx)(f.Z,{title:"通话申诉审核",open:a,onOk:function(){z.validateFields().then((function(e){console.log("Review values:",e),n(!1),z.resetFields()}))},onCancel:function(){n(!1),z.resetFields()},width:600,children:(0,k.jsxs)(d.Z,{form:z,layout:"vertical",children:[(0,k.jsx)(d.Z.Item,{label:"申诉信息",children:(0,k.jsxs)("div",{style:{background:"#f5f5f5",padding:"12px",borderRadius:"4px"},children:[(0,k.jsxs)("p",{children:[(0,k.jsx)("strong",{children:"申诉人:"}),null==D?void 0:D.appealer]}),(0,k.jsxs)("p",{children:[(0,k.jsx)("strong",{children:"通话ID"}),null==D?void 0:D.callId]}),(0,k.jsxs)("p",{children:[(0,k.jsx)("strong",{children:"通话时长:"}),null==D?void 0:D.callDuration]}),(0,k.jsxs)("p",{children:[(0,k.jsx)("strong",{children:"原评分:"}),null==D?void 0:D.originalScore,"分"]}),(0,k.jsxs)("p",{children:[(0,k.jsx)("strong",{children:"申诉理由:"}),null==D?void 0:D.appealReason]})]})}),(0,k.jsx)(d.Z.Item,{name:"reviewComment",label:"审核意见",rules:[{required:!0,message:"请输入审核意见"}],children:(0,k.jsx)(C,{rows:4,placeholder:"请输入审核意见..."})})]})})]})})}}}]);