Files
dvcp_v2_webapp/project/xumu/AppBreedArchive/AppBreedArchive.vue
aixianling d1a8800a9b feat(AppBreedArchive): 优化档案查询页面
- 新增免疫记录、治疗记录、淘汰记录、死亡记录、设备检测、贷款信息、保险信息等模块
-优化列表展示方式,使用 tabs进行分类展示
-调整列表列宽和对齐
2025-01-08 10:14:51 +08:00

36 lines
685 B
Vue

<script>
import add from "./add.vue";
import list from "./list.vue";
export default {
name: "AppBreedArchive",
label: "电子档案",
props: {
instance: Function,
dict: Object,
permissions: Function
},
computed: {
currentPage() {
let {hash} = this.$route
return hash == "#add" ? add : list
}
},
created() {
this.dict.load("archiveStatus", "category", "variety", "insuranceType", "deathReason", "dataSources", "yesOrNo")
}
}
</script>
<template>
<section class="AppBreedArchive">
<component :is="currentPage" v-bind="$props"/>
</section>
</template>
<style scoped lang="scss">
.AppBreedArchive {
height: 100%;
}
</style>