text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[7],{SuB2:function(e,t,a){"use strict";a.r(t);a("IzEo");var s,i,n,r=a("bx4M"),d=(a("g9YV"),a("wCAj")),c=a("d6i3"),o=a.n(c),l=(a("miYZ"),a("tsqr")),m=a("p0pE"),p=a.n(m),h=a("1l/V"),g=a.n(h),u=a("q1tI"),v=a.n(u),w=(a("bZMm"),a("LLXN")),b=a("MuoO"),f=(a("20nU"),a("yusu")),E=a("iZdv"),M=a("wd/R"),k=a.n(M),x=a("0vJj"),y=a.n(x),j=e=>[{title:Object(w["formatMessage"])({id:"trs.id"}),dataIndex:"transaction_id",sorter:!1,width:"20%",render:e=>v.a.createElement(E["a"],{link:"/transactions/",target:"_blank",title:e})},{title:Object(w["formatMessage"])({id:"account.address"}),dataIndex:"address",sorter:!1,width:"20%"},{title:Object(w["formatMessage"])({id:"evidence.type"}),dataIndex:"type",sorter:!1,width:"10%"},{title:Object(w["formatMessage"])({id:"evidence.hash"}),dataIndex:"hash",sorter:!1,width:"15%",render:(e,t,a)=>v.a.createElement(E["a"],{link:"/assets/",target:"_blank",title:e})},{title:Object(w["formatMessage"])({id:"trs.timestamp"}),dataIndex:"timestamp",width:"20%",render:e=>k()(f["a"].getRealTime(Number(e))).format("YYYY-MM-DD HH:mm:ss")}],D=(s=Object(b["connect"])(e=>{var t=e.assert;return{evidenceListData:t.evidenceListData,certificate:t.certificate}}),s((n=class extends u["Component"]{constructor(){var e;super(...arguments),e=this,this.state={loading:!1,searchText:"",aweekData:{}},this.handleTableChange=((e,t,a)=>{this.getEvidence({current:e.current,limit:e.pageSize,offset:(e.current-1)*e.pageSize,orderBy:"t_timestamp:desc"})}),this.getEvidence=g()(o.a.mark(function t(){var a,s=arguments;return o.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:a=s.length>0&&void 0!==s[0]?s[0]:{},e.props.dispatch({type:"assert/getEvidenceList",payload:p()({},a),callback:t=>{!0!==t.success&&l["a"].error(t.error),e.setState({loading:!1})}});case 2:case"end":return t.stop()}},t)}))}componentDidMount(){this.getEvidence({offset:0,limit:10,orderBy:"t_timestamp:desc"})}render(){var e=this.props.evidenceListData;return console.log("this state evidenceListData",e,this.state.pagination),v.a.createElement("div",{className:y.a.pageWrap},v.a.createElement(r["a"],null,v.a.createElement(d["a"],{columns:j(this),rowKey:e=>e.id,dataSource:e.evidenceList,pagination:e.pagination,loading:this.state.loading,onChange:this.handleTableChange,rowClassName:y.a.rowStyle})))}},i=n))||i);t["default"]=D}}]);