forked from Gitlink/forgeplus-react
后台改版issue
This commit is contained in:
parent
b34fea03c8
commit
15116be32a
|
@ -83,7 +83,7 @@ export default (props) => {
|
|||
} else {
|
||||
return (
|
||||
<Menu.Item title={title} key={item.key}>
|
||||
{item.location ? <Link to={item.location} onClick={() => { itemClick(item) }}>{item.title}</Link>
|
||||
{item.location ? <Link to={item.location} onClick={() => { itemClick(item) }}>{title}</Link>
|
||||
: title}
|
||||
</Menu.Item>
|
||||
);
|
||||
|
|
|
@ -261,7 +261,7 @@ function Competition(props){
|
|||
// 修改路由,跳转到第几页
|
||||
function updateUrl(page){
|
||||
setCurPage(page);
|
||||
window.location.href=`/managements/expert/competition/#page=${page}`;
|
||||
window.location.href=`/managements/expert/competition#page=${page}`;
|
||||
}
|
||||
|
||||
function hashDate(hash) {
|
||||
|
|
|
@ -620,12 +620,6 @@ export default Form.create()(({ form, showNotification, match, history, state })
|
|||
</Select>,
|
||||
'-1'
|
||||
)}
|
||||
<div className="button-div">
|
||||
{/* <a href="/admin/tasks.xlsx" class="fr edu-default-btn edu-blueback-btn plr30">导出</a> */}
|
||||
<Button className="mr10" type="primary" onClick={onSearch}>搜索</Button>
|
||||
<Button className="mr10" onClick={clearSearch}>清除</Button>
|
||||
<Button className="mr10" type="primary" onClick={downloadFile}>导出</Button>
|
||||
</div>
|
||||
{/* <div className='center-right-but search'> */}
|
||||
{helper(
|
||||
"显示状态",
|
||||
|
@ -670,6 +664,12 @@ export default Form.create()(({ form, showNotification, match, history, state })
|
|||
</Select>,
|
||||
'createdAt'
|
||||
)}
|
||||
<div className="button-div">
|
||||
{/* <a href="/admin/tasks.xlsx" class="fr edu-default-btn edu-blueback-btn plr30">导出</a> */}
|
||||
<Button className="mr10" type="primary" onClick={onSearch}>搜索</Button>
|
||||
<Button className="mr10" onClick={clearSearch}>清除</Button>
|
||||
<Button className="mr10" type="primary" onClick={downloadFile}>导出</Button>
|
||||
</div>
|
||||
<span className={classNames({ "sort-active": sort === 'Desc', 'sort-icon': true, 'mt5': true })} onClick={() => { changeSort('Desc') }}>
|
||||
<i className="fa fa-long-arrow-down font-16 "></i>
|
||||
</span>
|
||||
|
|
|
@ -54,9 +54,6 @@
|
|||
|
||||
}
|
||||
}
|
||||
.button-div {
|
||||
margin: 0.2rem 0 0 11.4rem;
|
||||
}
|
||||
.ant-row .ant-form-item-label{
|
||||
margin-right: 20px;
|
||||
label::after{
|
||||
|
@ -153,7 +150,6 @@
|
|||
|
||||
.sort-active {
|
||||
color: #29bd8b;
|
||||
margin-left: -1.5rem;
|
||||
}
|
||||
|
||||
.gary_span{
|
||||
|
|
Loading…
Reference in New Issue