feat(xumu): 新增投保申请功能
- 添加投保申请列表和新增页面 - 实现养殖场、承保公司、保险产品等选择功能 - 添加投保对象选择功能,支持耳标号选择 - 实现投保申请数据的查询、新增、编辑和删除 -优化表格组件,增加隐藏操作列的功能 - 更新耳标号选择组件,支持自定义请求地址
This commit is contained in:
		
							
								
								
									
										35
									
								
								project/xumu/AppInsuranceApply/AppInsuranceApply.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								project/xumu/AppInsuranceApply/AppInsuranceApply.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| <script> | ||||
| import add from "./add.vue"; | ||||
| import list from "./list.vue"; | ||||
|  | ||||
| export default { | ||||
|   name: "AppInsuranceApply", | ||||
|   label: "投保申请", | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: Object, | ||||
|     permissions: Function | ||||
|   }, | ||||
|   computed: { | ||||
|     currentPage() { | ||||
|       let {hash} = this.$route | ||||
|       return hash == "#add" ? add : list | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|     this.dict.load("auditStatus", "insureType", "insureStatus", "category", "variety") | ||||
|   }, | ||||
| } | ||||
| </script> | ||||
|  | ||||
| <template> | ||||
|   <section class="AppInsuranceApply"> | ||||
|     <component :is="currentPage" v-bind="$props"/> | ||||
|   </section> | ||||
| </template> | ||||
|  | ||||
| <style scoped lang="scss"> | ||||
| .AppInsuranceApply { | ||||
|   height: 100%; | ||||
| } | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user