Files
dvcp_v2_webapp/project/xumu/AppOutAudit/AppOutAudit.vue
aixianling 25010984f9 feat(AppOutAudit): 增加字典加载项
- 在 created 钩子中添加了 "outReason" 字典加载项
- 此修改扩展了 AppOutAudit 组件的字典加载功能,支持新的审核原因字典
2025-01-07 17:02:22 +08:00

36 lines
648 B
Vue

<script>
import add from "./add.vue";
import list from "./list.vue";
export default {
name: "AppSellAudit",
label: "淘汰审核",
props: {
instance: Function,
dict: Object,
permissions: Function
},
computed: {
currentPage() {
let {hash} = this.$route
return ["#audit", "#add"].includes(hash) ? add : list
}
},
created() {
this.dict.load("auditStatus","outReason", "category", "variety")
},
}
</script>
<template>
<section class="AppSellAudit">
<component :is="currentPage" v-bind="$props"/>
</section>
</template>
<style scoped lang="scss">
.AppSellAudit {
height: 100%;
}
</style>