- 新增 AppAuthManage组件作为认证审核的路由组件- 添加 authAdd 和 authList两个子组件分别用于添加认证和认证列表 - 实现了认证列表的展示、搜索和分页功能 - 添加了认证材料的查看和上传功能 - 优化了表单布局,增加了 row 类样式
33 lines
568 B
Vue
33 lines
568 B
Vue
<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>
|