Merge branch 'feature/new-sys' into 'master'
字段管理调整必填项 See merge request workbench/y-code!15
This commit is contained in:
		
						commit
						703ddf2b9f
					
				
							
								
								
									
										7
									
								
								components.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								components.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -10,9 +10,6 @@ declare module 'vue' { | ||||
|     ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] | ||||
|     ABreadcrumbItem: typeof import('ant-design-vue/es')['BreadcrumbItem'] | ||||
|     AButton: typeof import('ant-design-vue/es')['Button'] | ||||
|     ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] | ||||
|     ACheckboxGroup: typeof import('ant-design-vue/es')['CheckboxGroup'] | ||||
|     ACol: typeof import('ant-design-vue/es')['Col'] | ||||
|     AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider'] | ||||
|     ADropdown: typeof import('ant-design-vue/es')['Dropdown'] | ||||
|     AFloatButton: typeof import('ant-design-vue/es')['FloatButton'] | ||||
| @ -26,13 +23,9 @@ declare module 'vue' { | ||||
|     APagination: typeof import('ant-design-vue/es')['Pagination'] | ||||
|     APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] | ||||
|     ARadio: typeof import('ant-design-vue/es')['Radio'] | ||||
|     ARadioButton: typeof import('ant-design-vue/es')['RadioButton'] | ||||
|     ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] | ||||
|     ARangePicker: typeof import('ant-design-vue/es')['RangePicker'] | ||||
|     ARow: typeof import('ant-design-vue/es')['Row'] | ||||
|     ASelect: typeof import('ant-design-vue/es')['Select'] | ||||
|     ASpace: typeof import('ant-design-vue/es')['Space'] | ||||
|     ASpin: typeof import('ant-design-vue/es')['Spin'] | ||||
|     ASwitch: typeof import('ant-design-vue/es')['Switch'] | ||||
|     ATable: typeof import('ant-design-vue/es')['Table'] | ||||
|     RouterLink: typeof import('vue-router')['RouterLink'] | ||||
|  | ||||
| @ -243,6 +243,8 @@ const handleSave = (record) => { | ||||
|     is_search: record.is_search, | ||||
|     field_type_id: record.field_type_id, | ||||
|     modular_id: props.modularId, | ||||
|     original_type: record.original_type, | ||||
|     original_sql: record.original_sql, | ||||
|   }; | ||||
|   // 检验必填参数 | ||||
|   const validateFields = [ | ||||
| @ -250,8 +252,6 @@ const handleSave = (record) => { | ||||
|     { field: 'field_name', msg: "请填写字段名称" }, | ||||
|     { field: 'field_numerical_type_id', msg: "请选择字段类型" }, | ||||
|     { field: 'belong_to_table', msg: "请填写关联表" }, | ||||
|     { field: 'original_type', msg: '请选择数据源类型' }, | ||||
|     { field: 'original_sql', msg: "请填写sql数据源" }, | ||||
|   ] | ||||
|   for(let i = 0; i < validateFields.length; i++) { | ||||
|     const curr = validateFields[i]; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 林梓阳
						林梓阳