You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							174 lines
						
					
					
						
							3.6 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							174 lines
						
					
					
						
							3.6 KiB
						
					
					
				| export default { | |
|   list: [ | |
|     { | |
|       key: 'logo', | |
|       title: 'Logo', | |
|       display: ['table', 'model'], | |
|       fixed: false, | |
|       block: true, | |
|       width: 80, | |
|       tableType: 'image' | |
|     }, | |
|     { | |
|       key: 'customerName', | |
|       title: '客户名称', | |
|       display: ['formA', 'formU', 'table', 'model'], | |
|       type: 'input', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请输入客户名称', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
|       fixed: false, | |
|       block: true, | |
|       width: 100 | |
|     }, | |
|     { | |
|       key: 'organizationLevels', | |
|       title: '组织级别', | |
|       display: ['table', 'model'], | |
|       fixed: false, | |
|       block: true, | |
|       width: 50, | |
|       format: (cellValue, index) => { | |
|         // 客户组织级别:0.省级,1市级,2.区县级,3.乡镇街道级 字典表key:organizationlevel | |
|         if (cellValue === '0') { | |
|           return '省级' | |
|         } else if (cellValue === '1') { | |
|           return '市级' | |
|         } else if (cellValue === '2') { | |
|           return '区县级' | |
|         } else if (cellValue === '3') { | |
|           return '乡镇街道级' | |
|         } else { | |
|           return '未知' | |
|         } | |
|       } | |
|     }, | |
|     { | |
|       key: 'province', | |
|       title: '组织地区', | |
|       display: ['table', 'model'], | |
|       fixed: false, | |
|       block: true, | |
|       provinceKey: 'province', | |
|       cityKey: 'city', | |
|       countyKey: 'county', | |
|       format: 'address', | |
|       width: 150 | |
|     }, | |
|     { | |
|       key: 'gridNumber', | |
|       title: '网格数', | |
|       display: ['table', 'model'], | |
|       block: true, | |
|       width: 60 | |
|     }, | |
|     { | |
|       key: 'validityTime', | |
|       title: '有效期', | |
|       display: ['table', 'model'], | |
|       block: true, | |
|       width: 60 | |
|     }, | |
|     { | |
|       key: 'rootManageName', | |
|       title: '管理员', | |
|       display: ['table', 'model'], | |
|       type: 'input', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请输入管理员姓名', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
|       block: true, | |
|       width: 60 | |
|     }, | |
|     { | |
|       key: 'rootManagePhone', | |
|       title: '联系方式', | |
|       display: ['table', 'model'], | |
|       type: 'input', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请输入管理员联系方式', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
|       block: true, | |
|       width: 60 | |
|     } | |
|   ], | |
|   configForm: [ | |
|     { | |
|       key: 'customerName', | |
|       title: '客户名称', | |
|       display: ['formA', 'formU', 'table', 'model'], | |
|       type: 'input', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请输入客户名称', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
|       fixed: false, | |
|       block: true, | |
|       width: 100 | |
|     }, | |
|     { | |
|       key: 'validityTime', | |
|       title: '有效期', | |
|       display: ['formA', 'formU', 'table', 'model'], | |
|       type: 'date', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请选择有效期', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
| 
 | |
|       fixed: false, | |
|       block: true, | |
|       width: 100 | |
|     }, | |
|     { | |
|       key: 'createGridNumber', | |
|       title: '已创建网格数', | |
|       display: ['formA', 'formU', 'table', 'model'], | |
|       type: 'span', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请输入有效期', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
|       fixed: false, | |
|       block: true, | |
|       width: 100 | |
|     }, | |
|     { | |
|       key: 'gridNumber', | |
|       title: '最大网格数', | |
|       display: ['formA', 'formU', 'table', 'model'], | |
|       type: 'counter', | |
|       rule: [ | |
|         { | |
|           required: true, | |
|           message: '请输入最大网格数', | |
|           trigger: 'blur' | |
|         } | |
|       ], | |
|       fixed: false, | |
|       block: true, | |
|       width: 100 | |
|     } | |
|   ] | |
| }
 | |
| 
 |