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