|  | @@ -35,6 +35,15 @@ TreeGrid.initColumn = function () {
 | 
	
		
			
				|  |  |      var columns = [
 | 
	
		
			
				|  |  |          {field: 'selectItem', radio: true},
 | 
	
		
			
				|  |  |          {title: 'id', field: 'id', align: 'id', width: '50px'},
 | 
	
		
			
				|  |  | +        // {title: '类型', field: 'type', align: 'center', valign: 'middle', width: '50px'},
 | 
	
		
			
				|  |  | +        {title: '级别', field: 'level', align: 'center', valign: 'middle', width: '50px',formatter: function (item, index) {
 | 
	
		
			
				|  |  | +            if (item.level == 'L1') {
 | 
	
		
			
				|  |  | +                return '一级分类';
 | 
	
		
			
				|  |  | +            } else if (item.level == 'L2') {
 | 
	
		
			
				|  |  | +                return '二级分类';
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            return '-';
 | 
	
		
			
				|  |  | +        }},
 | 
	
		
			
				|  |  |          {title: '分类名称', field: 'name', align: 'center', valign: 'middle', width: '100px'},
 | 
	
		
			
				|  |  |          {title: '描述', field: 'frontDesc', align: 'center', valign: 'middle', width: '150px'},
 | 
	
		
			
				|  |  |          {title: '首页展示', field: 'showIndex', align: 'center', valign: 'middle', width: '50px'},
 | 
	
	
		
			
				|  | @@ -47,9 +56,7 @@ TreeGrid.initColumn = function () {
 | 
	
		
			
				|  |  |              formatter: function (item, index) {
 | 
	
		
			
				|  |  |                  return transIsNot(item.show)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        // {title: '类型', field: 'type', align: 'center', valign: 'middle', width: '50px'},
 | 
	
		
			
				|  |  | -        {title: '级别', field: 'level', align: 'center', valign: 'middle', width: '50px'}]
 | 
	
		
			
				|  |  | +        }]
 | 
	
		
			
				|  |  |      return columns;
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  |  
 |