|  | @@ -9,6 +9,7 @@ import DDPhotoField from './DDPhotoField';
 | 
	
		
			
				|  |  |  import DDSelectField from './DDSelectField';
 | 
	
		
			
				|  |  |  import DDDateField from './DDDateField';
 | 
	
		
			
				|  |  |  import DDDateRangeField from './DDDateRangeField';
 | 
	
		
			
				|  |  | +import DDAttachment from './DDAttachment';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const { Option } = Select;
 | 
	
		
			
				|  |  |  const { RangePicker } = DatePicker;
 | 
	
	
		
			
				|  | @@ -95,13 +96,8 @@ export default function DDComponents(props) {
 | 
	
		
			
				|  |  |        component = <TableField item={item} />;
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |      case 'DDAttachment': //附件
 | 
	
		
			
				|  |  | -      // component = (
 | 
	
		
			
				|  |  | -      //   <Upload>
 | 
	
		
			
				|  |  | -      //     <Button icon={<PlusOutlined />}>添加附件</Button>
 | 
	
		
			
				|  |  | -      //   </Upload>
 | 
	
		
			
				|  |  | -      // );
 | 
	
		
			
				|  |  | -      console.info('附件控件未渲染!');
 | 
	
		
			
				|  |  | -      console.log(item);
 | 
	
		
			
				|  |  | +      // component = <DDAttachment />
 | 
	
		
			
				|  |  | +      component = '附件控件未渲染!'
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |      case 'InnerContactField': //联系人控件
 | 
	
		
			
				|  |  |        component = <InnerContactField onChange={onChange}></InnerContactField>;
 | 
	
	
		
			
				|  | @@ -110,20 +106,16 @@ export default function DDComponents(props) {
 | 
	
		
			
				|  |  |        component = <DepartmentField onChange={onChange} />;
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |      case 'RelateField': //关联审批单
 | 
	
		
			
				|  |  | -      console.info('关联审批单控件未渲染!');
 | 
	
		
			
				|  |  | -      console.log(item);
 | 
	
		
			
				|  |  | +      component = '关联审批单控件未渲染!'
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |      case 'AddressField': //省市区控件
 | 
	
		
			
				|  |  | -      console.info('省市区控件未渲染!');
 | 
	
		
			
				|  |  | -      console.log(item);
 | 
	
		
			
				|  |  | +      component = '省市区控件未渲染!'
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |      case 'StarRatingField': //评分控件
 | 
	
		
			
				|  |  | -      console.info('评分控件未渲染!');
 | 
	
		
			
				|  |  | -      console.log(item);
 | 
	
		
			
				|  |  | +      component = '评分控件未渲染!'
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |      case 'FormRelateField': //关联控件
 | 
	
		
			
				|  |  | -      console.info('关联控件未渲染!');
 | 
	
		
			
				|  |  | -      console.log(item);
 | 
	
		
			
				|  |  | +      component = '关联控件未渲染!'
 | 
	
		
			
				|  |  |        break;
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 |