From b0e569de0b00aa3f89a79e2c908b6d4a13a47a10 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 10 Jan 2018 13:04:41 +0800 Subject: [PATCH] bug修改 --- src/app/core/entity/grid.ts | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/app/core/entity/grid.ts b/src/app/core/entity/grid.ts index 4567923..3a1ac82 100644 --- a/src/app/core/entity/grid.ts +++ b/src/app/core/entity/grid.ts @@ -1,5 +1,11 @@ import { Column } from '@core/entity/grid'; import { Types } from '@core/enum/types.enum'; + +export interface AreaNames { + provinceName?: string; + cityName?: string; + areaName?: string; +} export interface Column { text?: string; name?: string; @@ -7,6 +13,7 @@ sort?: string; isSort?: boolean; type?: DataType; + format?: (value: any, col: Column, row: any) => string; } export interface DataType { name: Types; -- Gitblit v1.8.0