mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-20 06:07:53 +00:00
1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
|
|
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[3143],{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)},83462:function(e,t,n){n.r(t);var a=n(45332),r=n.n(a),l=n(44194),i=n(25950),s=n(34251),o=n(41123),c=n(34651),d=n(43443),p=n(43413),u=n(77407),m=n(63065),f=n(5858),x=n(9248),v=n(14318),g=n(68525),h=n(35129),j=n(35911),y=n(12715),S=n(31549),Z=i.Z.Search,b=s.Z.Option,I=o.default.RangePicker,O=i.Z.TextArea;t.default=function(){var e=l.useState(!1),t=r()(e,2),n=t[0],a=t[1],i=l.useState(null),o=r()(i,2),k=o[0],w=o[1],E=c.Z.useForm(),$=r()(E,1)[0],C=[{title:"申诉ID",dataIndex:"appealId",key:"appealId"},{title:"会话ID",dataIndex:"sessionId",key:"sessionId"},{title:"申诉人",dataIndex:"appealer",key:"appealer"},{title:"原评分",dataIndex:"originalScore",key:"originalScore",render:function(e){return(0,S.jsxs)(d.Z,{color:"red",children:[e,"分"]})}},{title:"申诉理由",dataIndex:"appealReason",key:"appealReason",ellipsis:!0},{title:"申诉状态",dataIndex:"appealStatus",key:"appealStatus",render:function(e){var t="待审核"===e?"orange":"通过"===e?"green":"red";return(0,S.jsx)(d.Z,{color:t,children:e})}},{title:"申诉时间",dataIndex:"appealTime",key:"appealTime"},{title:"操作",key:"action",render:function(e,t){return(0,S.jsxs)(p.Z,{size:"middle",children:[(0,S.jsx)(u.ZP,{type:"link",size:"small",children:"查看详情"}),"待审核"===t.appealStatus&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(u.ZP,{type:"link",size:"small",onClick:function(){return R(t,"approve")},children:"通过"}),(0,S.jsx)(u.ZP,{type:"link",size:"small",onClick:function(){return R(t,"reject")},children:"驳回"})]})]})}}],R=function(e,t){w(e),a(!0),$.setFieldsValue({action:t,reviewComment:""})};return(0,S.jsx)("div",{style:{padding:"20px"},children:(0,S.jsxs)(m.Z,{title:"会话质检申诉审核",extra:(0,S.jsxs)(p.Z,{children:[(0,S.jsx)(u.ZP,{icon:(0,S.jsx)(j.Z,{}),children:"刷新"}),(0,S.jsx)(u.ZP,{type:"primary",children:"导出"})]}),children:[(0,S.jsxs)(f.Z,{gutter:16,style:{marginBottom:16},children:[(0,S.jsx)(x.Z,{span:6,children:(0,S.jsx)(v.Z,{title:"总申诉数",value:25})}),(0,S.jsx)(x.Z,{span:6,children:(0,S.jsx)(v.Z,{title:"待审核",value:8})}),(0,S.jsx)(x.Z,{span:6,children:(0,S.jsx)(v.Z,{title:"已通过",value:12})}),(0,S.jsx)(x.Z,{span:6,children:(0,S.jsx)(v.Z,{title:"已驳回",value:5})})]}),(0,S.jsx)("div",{style:{marginBottom:16},children:(0,S.jsxs)(p.Z,{wrap:!0,children:[(0,S.jsx)(Z,{placeholder:"搜索申诉ID/会话ID/申诉人",style:{width:300}}),(0,S.jsxs)(s.Z,{placeholder:"申诉状态",style:{width:120},children:[(0,S.jsx)(b,{value:"all",children:"全部"}),(0,S.jsx)(b,{value:"pending",children:"待审核"}),(0,S.jsx)(b,{value:"approved",children:"已通过"}),(0,S.jsx)(b,{value:"rejected",children:"已驳回"})]}),(0,S.jsx)(I,{placeholder:["开始时间","结束时间"]}),(0,S.jsx)(u.ZP,{type:"primary",icon:(0,S.jsx)(y.Z,{}),children:"搜索"})]})}),(0,S.jsx)(g.Z,{columns:C,dataSource:[{key:"1",appealId:"A001",sessionId:"S001",appealer:"张三",originalScore:75,appealReason:"客户问题描述不清晰,导致回答不够准确,但服<EFBFBD>
|