Files
dvcp_v2_webapp/project/xumu/AppWeightManage/AppWeightManage.vue
aixianling e11d504f18 feat(xumu): 新增体重管理功能
- 添加体重管理列表和新增页面
- 实现体重数据的查询、新增和编辑功能- 优化表格展示和搜索过滤
2024-12-26 18:01:44 +08:00

36 lines
579 B
Vue

<script>
import add from "./add.vue";
import list from "./list.vue";
export default {
name: "AppWeightManage",
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="AppWeightManage">
<component :is="currentPage" v-bind="$props"/>
</section>
</template>
<style scoped lang="scss">
.AppWeightManage {
height: 100%;
}
</style>