|
@@ -7,6 +7,7 @@ import apis from '../../../services/apis';
|
7
|
7
|
import StatsChart from './component/StatsChart';
|
8
|
8
|
import BuildSelect from '../../../components/SelectButton/BuildSelect'
|
9
|
9
|
import router from 'umi/router';
|
|
10
|
+import AuthButton from '@/components/AuthButton';
|
10
|
11
|
|
11
|
12
|
|
12
|
13
|
const { RangePicker } = DatePicker;
|
|
@@ -211,7 +212,9 @@ class buildingStats extends React.Component {
|
211
|
212
|
<BuildSelect slot='action' onChange={(e => this.handleBuildingChange(e))} value={this.state.buildingId}></BuildSelect>
|
212
|
213
|
</Col>
|
213
|
214
|
<Col span={2}>
|
|
215
|
+ <AuthButton name="admin.statistical.building.export" noRight={null}>
|
214
|
216
|
<Button type="primary" onClick={this.exportBuildingStats}>导出</Button>
|
|
217
|
+ </AuthButton>
|
215
|
218
|
</Col>
|
216
|
219
|
</Row>
|
217
|
220
|
|