mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 10:57:10 +08:00 
			
		
		
		
	fix: 统一性别约束/统一上级部门必填
This commit is contained in:
		
							
								
								
									
										4
									
								
								src/types/global.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								src/types/global.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -23,5 +23,5 @@ export interface DictState { | ||||
| /** 状态(1:启用;2:禁用) */ | ||||
| type Status = 1 | 2 | ||||
|  | ||||
| /** 性别(1:男;2:女;3:未知) */ | ||||
| type Gender = 1 | 2 | 3 | ||||
| /** 性别(1:男;2:女;0:未知) */ | ||||
| type Gender = 1 | 2 | 0 | ||||
|   | ||||
| @@ -50,7 +50,8 @@ const columns: Columns = [ | ||||
|         } | ||||
|         return false | ||||
|       } | ||||
|     } | ||||
|     }, | ||||
|     rules: [{ required: true, message: '请选择上级部门' }] | ||||
|   }, | ||||
|   { label: '名称', field: 'name', type: 'input', rules: [{ required: true, message: '请输入名称' }] }, | ||||
|   { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 kils
					kils