feat(xumu): 新增淘汰审核功能

- 添加 AppOutAudit组件作为淘汰审核的主入口- 实现 add.vue 页面,用于展示和编辑淘汰审核详情
- 创建 list.vue 页面,用于展示淘汰审核列表
- 在 AppOutManage 中将淘汰日期字段从 createTime改为 outTime
This commit is contained in:
aixianling
2025-01-07 16:50:48 +08:00
parent f5085b1cb3
commit 75d5971e42
4 changed files with 306 additions and 3 deletions

View File

@@ -0,0 +1,35 @@
<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", "category", "variety")
},
}
</script>
<template>
<section class="AppSellAudit">
<component :is="currentPage" v-bind="$props"/>
</section>
</template>
<style scoped lang="scss">
.AppSellAudit {
height: 100%;
}
</style>