|
@@ -68,7 +68,7 @@ export default class StandardTableList extends PureComponent {
|
|
|
getListHeader = () => {
|
|
|
const {
|
|
|
showStatusSelect,
|
|
|
- header: { basicSearch, onAdvanceFilterClick, onCreateClick, onDownload, onOverdue },
|
|
|
+ header: { basicSearch, onAdvanceFilterClick, onCreateClick, onDownload, onOverdue, campusAmount },
|
|
|
footer: { pagination },
|
|
|
} = this.props;
|
|
|
const { keys } = basicSearch;
|
|
@@ -120,6 +120,12 @@ export default class StandardTableList extends PureComponent {
|
|
|
>高级筛选
|
|
|
</a>
|
|
|
)}
|
|
|
+ {campusAmount !== undefined && (
|
|
|
+ <span
|
|
|
+ style={{ marginLeft: 5, marginRight: 10, }}
|
|
|
+ >当前共有<span style={{fontWeight:600, color:'#5E8732'}}>{campusAmount}</span>个校区
|
|
|
+ </span>
|
|
|
+ )}
|
|
|
<Button icon="sync" onClick={this.handleRefreshBtnClick}>刷新</Button>
|
|
|
{/* noCreate 参数控制是否显示新建按钮 */}
|
|
|
{onCreateClick !== undefined && (
|