|  | @@ -16,7 +16,7 @@ class CompilationModel extends BaseModel {
 | 
	
		
			
				|  |  |       *
 | 
	
		
			
				|  |  |       * @var {Array}
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  | -    sectionList = ['suggestion', 'feasibility', 'rough', 'bill', 'ration'];
 | 
	
		
			
				|  |  | +    sectionList = ['suggestion', 'feasibility', 'rough', 'bill', 'ration', 'estimation'];
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
		
			
				|  |  |       * 构造函数
 | 
	
	
		
			
				|  | @@ -36,11 +36,14 @@ class CompilationModel extends BaseModel {
 | 
	
		
			
				|  |  |       */
 | 
	
		
			
				|  |  |      async getCompilationList(fields = null) {
 | 
	
		
			
				|  |  |          // 筛选字段
 | 
	
		
			
				|  |  | -        let field = fields == null ?{_id: 1, name: 1, is_release: 1,release_time:1, defaultLocation:1,categoryID: 1, description: 1,overWriteUrl: 1,example: 1, "ration_valuation.id": 1, "ration_valuation.name": 1, "ration_valuation.enable": 1,
 | 
	
		
			
				|  |  | +        let field = fields == null ? {_id: 1, name: 1, is_release: 1,release_time:1, defaultLocation:1,categoryID: 1, description: 1,overWriteUrl: 1,example: 1,
 | 
	
		
			
				|  |  | +            "ration_valuation.id": 1, "ration_valuation.name": 1, "ration_valuation.enable": 1,
 | 
	
		
			
				|  |  |              "suggestion_valuation.id": 1, "suggestion_valuation.name": 1, "suggestion_valuation.enable": 1,
 | 
	
		
			
				|  |  |              "feasibility_valuation.id": 1, "feasibility_valuation.name": 1, "feasibility_valuation.enable": 1,
 | 
	
		
			
				|  |  |              "rough_valuation.id": 1, "rough_valuation.name": 1, "rough_valuation.enable": 1,
 | 
	
		
			
				|  |  | -            "bill_valuation.id": 1, "bill_valuation.name": 1, "bill_valuation.enable": 1}:fields;
 | 
	
		
			
				|  |  | +            "bill_valuation.id": 1, "bill_valuation.name": 1, "bill_valuation.enable": 1,
 | 
	
		
			
				|  |  | +            "estimation_valuation.id": 1, "estimation_valuation.name": 1, "estimation_valuation.enable": 1
 | 
	
		
			
				|  |  | +            } : fields;
 | 
	
		
			
				|  |  |          let compilationData = await this.findDataByCondition({name: {$ne: ''}}, field, false);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          return compilationData === null ? [] : compilationData;
 | 
	
	
		
			
				|  | @@ -189,6 +192,7 @@ class CompilationModel extends BaseModel {
 | 
	
		
			
				|  |  |          let insertData = {};
 | 
	
		
			
				|  |  |          data.id = uuidV1();
 | 
	
		
			
				|  |  |          insertData[section + '_valuation'] = data;
 | 
	
		
			
				|  |  | +        console.log(insertData);
 | 
	
		
			
				|  |  |          let result = await this.db.addToSet(condition, insertData);
 | 
	
		
			
				|  |  |          return result.ok === undefined ? false : data.id;
 | 
	
		
			
				|  |  |      }
 |