You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
596 B

4 months ago
<template>
<div>
3 months ago
<!-- 企业端 -->
<div v-if="checkRole(['admin', 'company'])">
<qiyeduan />
4 months ago
</div>
3 months ago
<!-- 政务端 -->
<div v-if="checkRole(['admin', 'common'])">
<zhengwuduan />
4 months ago
</div>
</div>
</template>
<script>
3 months ago
import qiyeduan from '@/views/components/qiyexinxi/qiyexinxi.vue'
import zhengwuduan from '@/views/components/zhengwuxinxi/zhengwuxinxi.vue'
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
4 months ago
export default {
3 months ago
components: { qiyeduan, zhengwuduan },
4 months ago
methods: {
3 months ago
checkPermi,
checkRole
}
4 months ago
}
3 months ago
</script>