feat(xumu): 新增治疗登记功能
- 添加治疗登记管理模块,包括新增、编辑和查看治疗记录 - 实现治疗登记列表页面,支持筛选和导出功能 - 优化牲畜选择界面布局 - 初始化治疗登记日期为当前日期
This commit is contained in:
		
							
								
								
									
										35
									
								
								project/xumu/AppTreatmentManage/AppTreatmentManage.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								project/xumu/AppTreatmentManage/AppTreatmentManage.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| <script> | ||||
| import add from "./add.vue"; | ||||
| import list from "./list.vue"; | ||||
|  | ||||
| export default { | ||||
|   name: "AppTreatmentManage", | ||||
|   label: "治疗登记", | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: Object, | ||||
|     permissions: Function | ||||
|   }, | ||||
|   computed: { | ||||
|     currentPage() { | ||||
|       let {hash} = this.$route | ||||
|       return hash == "#add" ? add : list | ||||
|     } | ||||
|   }, | ||||
|   data() { | ||||
|     return {} | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  | ||||
| <template> | ||||
|   <section class="AppTreatmentManage"> | ||||
|     <component :is="currentPage" v-bind="$props"/> | ||||
|   </section> | ||||
| </template> | ||||
|  | ||||
| <style scoped lang="scss"> | ||||
| .AppTreatmentManage { | ||||
|   height: 100%; | ||||
| } | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user