沈斌
2018-02-26 9941fb08acca69ba8a48c0a8948027efd5750c61
src/app/routes/reports/excel/excel.component.ts
@@ -21,9 +21,9 @@
    mode: 'month'
  };
  private sensorOptions = [];
  private monitorPointOptions = [];
  private deviceOptions = [];
  public sensorOptions = [];
  public monitorPointOptions = [];
  public deviceOptions = [];
  constructor(
    public http: HttpClient,
@@ -84,7 +84,7 @@
  }
  private typeOptions = [
  public typeOptions = [
    {value: 'year', label: '年', mode: 'month', xAxisName: '月', format: 'yyyy', typeFormat: '%Y-%m'},
    {value: 'month', label: '月', mode: 'month', xAxisName: '日', format: 'yyyy-MM', typeFormat: '%Y-%m-%d'},
    {value: 'day', label: '日', mode: 'day', xAxisName: '时', format: 'yyyy-MM-dd', typeFormat: '%Y-%m-%d %H'},