提交代码
This commit is contained in:
1 parent
dee854ab07
commit
562180de0e
23 files changed
+455
-83
No files matched your search
@@ -74,7 +74,7 @@
|
||||
<GridLayout :columns="3" gap="16px">
|
||||
<!-- 卡片开始 -->
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:info:list'])"
|
||||
v-if="hasPermi(['student:info:listapp'])"
|
||||
title="学生信息"
|
||||
@click="handleServiceClick"
|
||||
>
|
||||
@@ -87,7 +87,7 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
<!-- 卡片结束 -->
|
||||
<ServiceItem
|
||||
<!-- <ServiceItem
|
||||
v-if="hasPermi(['student:dorm:list'])"
|
||||
title="宿舍管理"
|
||||
@click="handleServiceClick"
|
||||
@@ -95,10 +95,10 @@
|
||||
<template #icon>
|
||||
<u-icon name="home" size="24" />
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</ServiceItem> -->
|
||||
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:leave:list'])"
|
||||
v-if="hasPermi(['student:leave:listapp'])"
|
||||
title="学生请假"
|
||||
@click="gotoStudentLeave"
|
||||
>
|
||||
@@ -111,7 +111,7 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
|
||||
<ServiceItem
|
||||
<!-- <ServiceItem
|
||||
v-if="hasPermi(['student:psychology:list'])"
|
||||
title="心理健康"
|
||||
@click="handleServiceClick"
|
||||
@@ -119,9 +119,9 @@
|
||||
<template #icon>
|
||||
<u-icon name="heart" size="24" />
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</ServiceItem> -->
|
||||
|
||||
<ServiceItem
|
||||
<!-- <ServiceItem
|
||||
v-if="hasPermi(['student:club:list'])"
|
||||
title="社团管理"
|
||||
@click="handleServiceClick"
|
||||
@@ -129,9 +129,9 @@
|
||||
<template #icon>
|
||||
<u-icon name="star" size="24" />
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</ServiceItem> -->
|
||||
|
||||
<ServiceItem
|
||||
<!-- <ServiceItem
|
||||
v-if="hasPermi(['student:counsel:list'])"
|
||||
title="心理咨询"
|
||||
@click="handleServiceClick"
|
||||
@@ -139,10 +139,10 @@
|
||||
<template #icon>
|
||||
<u-icon name="chat" size="24" />
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</ServiceItem> -->
|
||||
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:info:edit'])"
|
||||
v-if="hasPermi(['student:info:editapp'])"
|
||||
title="学生信息完善"
|
||||
@click="gotoStudentInfoComplete"
|
||||
>
|
||||
@@ -182,7 +182,7 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:dormviolation:list'])"
|
||||
v-if="hasPermi(['student:dormviolation:listapp'])"
|
||||
title="宿舍违纪"
|
||||
@click="gotoDormViolation"
|
||||
>
|
||||
@@ -195,7 +195,7 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:dormhygiene:list'])"
|
||||
v-if="hasPermi(['student:dormhygiene:listapp'])"
|
||||
title="宿舍卫生检查"
|
||||
@click="gotoDormHygiene"
|
||||
>
|
||||
@@ -208,7 +208,7 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:dormhygiene:studentlist'])"
|
||||
v-if="hasPermi(['student:dormhygiene:studentlistapp'])"
|
||||
title="宿舍卫生检查(学生)"
|
||||
@click="gotoStudentDormHygiene"
|
||||
>
|
||||
@@ -236,7 +236,7 @@
|
||||
</ServiceItem>
|
||||
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:violation:list'])"
|
||||
v-if="hasPermi(['student:violation:listapp'])"
|
||||
title="违纪记录(学生)"
|
||||
@click="gotoStudentViolation"
|
||||
>
|
||||
@@ -250,7 +250,7 @@
|
||||
</ServiceItem>
|
||||
|
||||
<ServiceItem
|
||||
v-if="hasPermi(['student:assessment:apply'])"
|
||||
v-if="hasPermi(['student:assessment:applyapp'])"
|
||||
title="考核申请"
|
||||
@click="gotoAssessmentApply"
|
||||
>
|
||||
@@ -266,7 +266,7 @@
|
||||
</Card>
|
||||
|
||||
<!-- 后勤管理 -->
|
||||
<Card v-if="hasLogisticsServices">
|
||||
<!-- <Card v-if="hasLogisticsServices">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="setting" size="18" color="#52c41a" />
|
||||
@@ -334,10 +334,10 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</GridLayout>
|
||||
</Card>
|
||||
</Card> -->
|
||||
|
||||
<!-- 招生就业 -->
|
||||
<Card v-if="hasRecruitmentServices">
|
||||
<!-- <Card v-if="hasRecruitmentServices">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="trophy" size="18" color="#fa8c16" />
|
||||
@@ -375,10 +375,10 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</GridLayout>
|
||||
</Card>
|
||||
</Card> -->
|
||||
|
||||
<!-- 人事管理 -->
|
||||
<Card v-if="hasHRServices">
|
||||
<!-- <Card v-if="hasHRServices">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="friends" size="18" color="#722ed1" />
|
||||
@@ -416,10 +416,10 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</GridLayout>
|
||||
</Card>
|
||||
</Card> -->
|
||||
|
||||
<!-- 财务管理 -->
|
||||
<Card v-if="hasFinanceServices">
|
||||
<!-- <Card v-if="hasFinanceServices">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="rmb-circle" size="18" color="#13c2c2" />
|
||||
@@ -457,10 +457,10 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</GridLayout>
|
||||
</Card>
|
||||
</Card> -->
|
||||
|
||||
<!-- 系统管理 -->
|
||||
<Card v-if="hasSystemServices">
|
||||
<!-- <Card v-if="hasSystemServices">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="setting" size="18" color="#f5222d" />
|
||||
@@ -532,14 +532,14 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</GridLayout>
|
||||
</Card>
|
||||
</Card> -->
|
||||
|
||||
<!-- 工作流 -->
|
||||
<Card v-if="hasWorkflowServices">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="share" size="18" color="#eb2f96" />
|
||||
<text class="card-title">工作流</text>
|
||||
<text class="card-title">请销假待办</text>
|
||||
</view>
|
||||
</template>
|
||||
<GridLayout :columns="2" gap="16px">
|
||||
@@ -586,7 +586,7 @@
|
||||
</Card>
|
||||
|
||||
<!-- 微信SDK测试 -->
|
||||
<Card v-if="hasWechatTestAccess">
|
||||
<!-- <Card v-if="hasWechatTestAccess">
|
||||
<template #header>
|
||||
<view class="section-header">
|
||||
<u-icon name="chat" size="18" color="#07c160" />
|
||||
@@ -606,7 +606,7 @@
|
||||
</template>
|
||||
</ServiceItem>
|
||||
</GridLayout>
|
||||
</Card>
|
||||
</Card> -->
|
||||
|
||||
<!-- 底部间距 -->
|
||||
<view class="bottom-spacer"></view>
|
||||
@@ -677,20 +677,20 @@ export default {
|
||||
// 检查各模块是否有权限
|
||||
hasStudentServices() {
|
||||
return (
|
||||
this.hasPermi(['student:info:list']) ||
|
||||
this.hasPermi(['student:info:listapp']) ||
|
||||
this.hasPermi(['student:dorm:list']) ||
|
||||
this.hasPermi(['student:leave:list']) ||
|
||||
this.hasPermi(['student:leave:listapp']) ||
|
||||
this.hasPermi(['student:psychology:list']) ||
|
||||
this.hasPermi(['student:club:list']) ||
|
||||
this.hasPermi(['student:counsel:list']) ||
|
||||
this.hasPermi(['student:info:edit']) ||
|
||||
this.hasPermi(['student:info:editapp']) ||
|
||||
this.hasPermi(['student:internship:list']) ||
|
||||
this.hasPermi(['student:dorm:violation:list']) ||
|
||||
this.hasPermi(['student:dormviolation:listapp']) ||
|
||||
this.hasPermi(['student:visit:list']) ||
|
||||
this.hasPermi(['student:dorm:hygiene:list']) ||
|
||||
this.hasPermi(['student:dormhygiene:listapp']) ||
|
||||
this.hasPermi(['student:workstudy:list']) ||
|
||||
this.hasPermi(['student:violation:list']) ||
|
||||
this.hasPermi(['student:assessment:apply'])
|
||||
this.hasPermi(['student:violation:listapp']) ||
|
||||
this.hasPermi(['student:assessment:applyapp'])
|
||||
);
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user