From 8b3fbce45058894a76aefbf11b3a199f60d487d6 Mon Sep 17 00:00:00 2001 From: xuxj <hugeinfo123> Date: Sun, 26 Apr 2020 09:40:15 +0800 Subject: [PATCH] bug修改 --- SunshineIns/src/page/LawSubscribe.jsx | 20 ++++---------------- 1 files changed, 4 insertions(+), 16 deletions(-) diff --git a/SunshineIns/src/page/LawSubscribe.jsx b/SunshineIns/src/page/LawSubscribe.jsx index ea15bff..716036f 100644 --- a/SunshineIns/src/page/LawSubscribe.jsx +++ b/SunshineIns/src/page/LawSubscribe.jsx @@ -14,18 +14,6 @@ import Fetch from '../fetch'; import TableView from '../view/TableView'; const Option = Select.Option; -function typeOfName(type) { - switch (type) { - case 1: - return "涉黑涉恶违法犯罪行为"; - case 2: - return "涉黑涉恶违法犯罪保护伞"; - case 3: - return "其他"; - default: - return "Unkonw"; - } -} export default class LawSubscribe extends React.Component { constructor(props) { super(props); @@ -141,7 +129,7 @@ <Divider type="vertical" /> </span> : null } - <label className='theme-color' onClick={() => this.onClick(record.id, 'see')} style={{ cursor: 'pointer' }}>查看</label> + <label className='theme-color' onClick={() => this.onClick(record.id, 'do')} style={{ cursor: 'pointer' }}>查看</label> </span> ), }]; @@ -149,10 +137,10 @@ return ( <div className="app-page"> <HeadView history={this.props.history} /> - {/* <Breadcrumb style={{ padding: '20px' }}> + <Breadcrumb style={{ padding: '20px' }}> <Breadcrumb.Item><a href="">后台中心</a></Breadcrumb.Item> - <Breadcrumb.Item>扫黑除恶</Breadcrumb.Item> - </Breadcrumb> */} + <Breadcrumb.Item>普法预约</Breadcrumb.Item> + </Breadcrumb> <TableBtnView name={''} key={resetKey}> <Input placeholder="联系人模糊查询" style={{ width: "200px" }} name='contactName' onChange={this.onInputChange} /> <Input placeholder="联系电话模糊查询" style={{ width: "200px" }} name='contactPhone' onChange={this.onInputChange} /> -- Gitblit v1.8.0