fengxiang
2017-12-28 55da782025f5728051fea9fff49f9e6b6f602a1e
src/app/core/pipe/tyep-handle.pipe.ts
@@ -19,15 +19,15 @@
  transform(value: any, col?: Column): any {
       const t = Types.Date;
       const type  = col.type;
       if(type!=null&&type.name!=null){
         value = this.transformHandle(value,type.name,type.format);
       if (type != null && type.name != null) {
         value = this.transformHandle(value, type.name, type.format);
       }
       return value;
  }
  private transformHandle(value:any,type: Types,format:any):any{
        switch(type){
  private transformHandle(value: any, type: Types, format: any): any{
        switch (type) {
           case Types.Date:
           return this.dateService.date_format(value,format);
           return this.dateService.date_format(value, format);
        }
  }
}