- 添加 AppOutAudit组件作为淘汰审核的主入口- 实现 add.vue 页面,用于展示和编辑淘汰审核详情 - 创建 list.vue 页面,用于展示淘汰审核列表 - 在 AppOutManage 中将淘汰日期字段从 createTime改为 outTime
36 lines
636 B
Vue
36 lines
636 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", "category", "variety")
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<section class="AppSellAudit">
|
|
<component :is="currentPage" v-bind="$props"/>
|
|
</section>
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
.AppSellAudit {
|
|
height: 100%;
|
|
}
|
|
</style>
|