上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: const tabsData=[...this.state.tabsData] this.setState({ tabsData: tabsData.map((o,index)=> index == this.activeKey?{...o,num:Math.random()*10}:o) }) 阅读全文
posted @ 2020-08-09 19:14 lipu1993 阅读(286) 评论(0) 推荐(0)
摘要: <Tabs className={styles.tabs} activeKey={`${activeTab}`} onChange={tab => { this.setState({ activeTab: tab }); }} > {tabsData.map((o, index) => ( <Tab 阅读全文
posted @ 2020-08-07 20:06 lipu1993 阅读(791) 评论(0) 推荐(0)
摘要: <Table rowKey="id" checkable dataSource={reImportList} columns={this.getColumns()} selectedRowKeys={selectedRowKeys} paginationProps={{ showPagination 阅读全文
posted @ 2020-08-06 20:28 lipu1993 阅读(196) 评论(0) 推荐(0)
摘要: lipu@lipudeMacBook-Air ZSmartSafeWeb % git add --all lipu@lipudeMacBook-Air ZSmartSafeWeb % git commit -m "采集传输安全管理" 阅读全文
posted @ 2020-08-06 20:25 lipu1993 阅读(69) 评论(0) 推荐(0)
摘要: let a=data let b=[1,2,3] for(let i = 0; i < a.length;i++){ for(let s = 0; s<b.length;s++){ if(a[i].id == b[s]){ a.splice(i,1) } } } 阅读全文
posted @ 2020-08-05 22:52 lipu1993 阅读(126) 评论(0) 推荐(0)
摘要: //下载模版 downLoadTemplate = () => { downloadFile('smartsafe/DatColWhiteListController/getTemplate', {}); }; //////////////////////////////////////////// 阅读全文
posted @ 2020-08-03 17:25 lipu1993 阅读(61) 评论(0) 推荐(0)
摘要: //导入模版 handleUploadFile = info => { const { status, response } = info.file; const { pageIndex, pageSize, queryValue } = this.state if ( status 'done' 阅读全文
posted @ 2020-08-03 17:22 lipu1993 阅读(2439) 评论(0) 推荐(0)
摘要: <Table rowKey="whiteListId" checkable loading={loading} dataSource={list} pagination={pageInfo} columns={this.getColumns()} onChange={(pageIndex,pageS 阅读全文
posted @ 2020-08-01 11:55 lipu1993 阅读(291) 评论(0) 推荐(0)
摘要: { dataIndex: 'state', title: formatMessage({ id: 'approval.status', defaultMessage: '审批状态' }), render:state=> { const obj = APPROVAL_STATES.find(o => 阅读全文
posted @ 2020-07-24 17:29 lipu1993 阅读(117) 评论(0) 推荐(0)
摘要: <Pagination pagination={pagination} pageAllCount={list.length} selectKeysList={selectedRowKeys} selectAllChange={e => this.handleSelectAll(e.target.ch 阅读全文
posted @ 2020-07-24 10:04 lipu1993 阅读(174) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页