"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9685],{48224:function(A,l,e){e.r(l);var i=e(57213),c=e.n(i),m=e(54306),E=e.n(m),s=e(93236),v=e(92750),p=e(33081),O=e(90627),n=e(62086),D=O.Z.DeviceLogsController.reportkw;l.default=function(a){var _=a.values,M=a.type,f=a.modalOpenState,r=a.onModalOpenState,h=(0,s.useState)(null),u=E()(h,2),P=u[0],j=u[1],C={data:P,xField:"name",yField:"value",seriesField:"category",xAxis:{},yAxis:{label:{formatter:function(o){return"".concat(o).replace(/\d{1,3}(?=(\d{3})+$)/g,function(d){return"".concat(d,",")})}}}};return(0,s.useEffect)(function(){D({device_id:_==null?void 0:_.device_id,order_id:M==1?_==null?void 0:_.id:""}).then(function(t){var o=t.data,d=t.success;d&&j(o||[])}).catch(function(){})},[_]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(v.Z,{width:"800px",title:"\u529F\u7387\u56FE",open:f,onOk:function(){r(!1)},onCancel:function(){r(!1)},children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(p.Z,c()({},C))})})})}}}]);
