1(self["webpackChunkapplication"]=self["webpackChunkapplication"]||[]).push([[30108],{35074:function(e,t,n){"use strict";n.r(t);n(66456);var i=n(56690),l=(n(57663),n(71577)),a=(n(47673),n(4107)),s=(n(9715),n(92080)),r=n(2824),d=(n(43358),n(34041)),o=n(67294),u=n(42004),c=n(39704),p=n(72709),h=n(83647),x=n(30198),v=n(85893);const m=d.Z.Option,y=()=>{let e=(0,c.v9)((e=>null===e||void 0===e?void 0:e.nowClient));const t=(0,x.MO)("dashboardSize"),n={eventType:"",eventRid:"",status:""},y=(0,o.useState)(""),g=(0,r.Z)(y,2),Z=g[0],f=g[1],j=(0,o.useState)(1),I=(0,r.Z)(j,2),T=I[0],b=I[1],S=(0,o.useState)(0),k=(0,r.Z)(S,2),w=k[0],z=k[1],C=(0,o.useState)([]),F=(0,r.Z)(C,2),O=F[0],R=F[1],_=(0,o.useState)(!1),D=(0,r.Z)(_,2),E=D[0],N=D[1],P=s.Z.useForm(),Q=(0,r.Z)(P,1),V=Q[0],K=[{title:"\u4e8b\u4ef6ID",dataIndex:"eventRid",key:"eventRid",align:"center"},{title:"\u4e8b\u4ef6\u7c7b\u578b",dataIndex:"eventType",key:"eventType",align:"center"},{title:"\u63a5\u6536\u4e8b\u4ef6\u65f6\u95f4",dataIndex:"eventTime",key:"eventTime",align:"center"},{title:"\u8fd4\u56de\u72b6\u6001",dataIndex:"status",key:"status",align:"center",render:e=>1===e?"\u6210\u529f":"\u5931\u8d25"},{title:"\u9519\u8bef\u4fe1\u606f",dataIndex:"errorInfo",key:"errorInfo",align:"center"},{title:"\u91cd\u8bd5\u6b21\u6570",dataIndex:"retryNum",key:"retryNum",align:"center"}],M=(0,u.QT)(p.Ccl,{debounceInterval:600,manual:!0,onSuccess:({data:e})=>{R(null===e||void 0===e?void 0:e.rows),z(null===e||void 0===e?void 0:e.total)},onError:()=>{R([]),z(0)}});return(0,o.useEffect)((()=>{const n=e.rid;n&&Z!=n&&(f(n),V.resetFields(),M.run({page:1,size:t,user_type:0}).then())}),[e]),(0,o.useEffect)((()=>{if(Z&&T){let e={};E&&(e=(0,h.Qn)(null===V||void 0===V?void 0:V.getFieldsValue())),M.run({...e,page:T,size:t}).then()}}),[T]),(0,v.jsxs)("div",{children:[(0,v.jsx)("div",{className:"global_base_flex",children:(0,v.jsxs)(s.Z,{layout:"inline",initialValues:n,form:V,onFinish:e=>{N(!0),b(1),1==T&&M.run({...e,page:1,size:t}).then()},children:[(0,v.jsx)(s.Z.Item,{label:"\u4e8b\u4ef6\u7c7b\u578b",name:"eventType",style:{marginTop:"10px"},children:(0,v.jsx)(a.Z,{placeholder:"\u8bf7\u8f93\u5165\u4e8b\u4ef6\u7c7b\u578b",autoComplete:"off"})}),(0,v.jsx)(s.Z.Item,{label:"\u4e8b\u4ef6ID",name:"eventRid",style:{marginTop:"10px"},children:(0,v.jsx)(a.Z,{placeholder:"\u8bf7\u8f93\u5165\u4e8b\u4ef6ID"})}),(0,v.jsx)(s.Z.Item,{label:"\u8fd4\u56de\u72b6\u6001",style:{marginTop:"10px"},name:"status",children:(0,v.jsxs)(d.Z,{style:{width:"80px"},children:[(0,v.jsx)(m,{value:"",children:"\u5168\u90e8"}),(0,v.jsx)(m,{value:"1",children:"\u6210\u529f"}),(0,v.jsx)(m,{value:"2",children:"\u5931\u8d25"})]})}),(0,v.jsx)(s.Z.Item,{style:{marginTop:"10px"},children:(0,v.jsx)(l.Z,{type:"primary",htmlType:"submit",children:"\u67e5\u8be2"})})]})}),(0,v.jsx)("span",{style:{display:"inline-block",width:"100%",color:"#757575",fontSize:"14px",marginTop:"15px"},children:"\u4ec5\u652f\u63017\u5929\u5185\u7684\u8c03\u7528\u65e5\u5fd7"}),(0,v.jsx)("div",{style:{marginTop:"15px"},children:(0,v.jsx)(i.Z,{columns:K,rowKey:e=>(null===e||void 0===e?void 0:e.device_id)+(0,h.O1)(8),loading:M.loading,bordered:!0,dataSource:O,pagination:{current:T,defaultPageSize:t,onChange:e=>b(e),total:w,showTotal:e=>`\u5171${e}\u6761`,showSizeChanger:!1,hideOnSinglePage:!0}})})]})};t["default"]=y}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.