feat(xumu): 添加认证审核功能
- 新增 AppAuthManage组件作为认证审核的路由组件- 添加 authAdd 和 authList两个子组件分别用于添加认证和认证列表 - 实现了认证列表的展示、搜索和分页功能 - 添加了认证材料的查看和上传功能 - 优化了表单布局,增加了 row 类样式
This commit is contained in:
32
project/xumu/AppAuthManage/AppAuthManage.vue
Normal file
32
project/xumu/AppAuthManage/AppAuthManage.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<script>
|
||||
import authAdd from "./authAdd.vue";
|
||||
import authList from "./authList.vue";
|
||||
|
||||
export default {
|
||||
name: "AppAuthManage",
|
||||
label: "认证审核",
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
currentPage() {
|
||||
let {hash} = this.$route
|
||||
return hash == "#add" ? authAdd : authList
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="AppAuthManage">
|
||||
<component :is="currentPage" v-bind="$props"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.AppAuthManage {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user