Files
dvcp_v2_webapp/project/xumu/AppTreatmentManage/AppTreatmentManage.vue
aixianling 9f02c2d011 feat(xumu): 新增治疗登记功能
- 添加治疗登记管理模块,包括新增、编辑和查看治疗记录
- 实现治疗登记列表页面,支持筛选和导出功能
- 优化牲畜选择界面布局
- 初始化治疗登记日期为当前日期
2024-12-27 15:18:47 +08:00

36 lines
588 B
Vue

<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>