|
@@ -4,7 +4,7 @@
|
|
4
|
<user-info :name="checkerName" :sub-title="subTitle" :hello="'欢迎您'" class="userInfo" />
|
4
|
<user-info :name="checkerName" :sub-title="subTitle" :hello="'欢迎您'" class="userInfo" />
|
|
5
|
|
5
|
|
|
6
|
<!-- 排名区块 -->
|
6
|
<!-- 排名区块 -->
|
|
7
|
- <div class="rank-container" v-if="!isZhanZhang">
|
|
|
|
|
|
7
|
+ <div class="rank-container" v-if="!isZhanZhang && !this.userInfo.includes('设备维修中心')">
|
|
8
|
<div v-for="(item, index) in rankItems" :key="index" class="rank-item">
|
8
|
<div v-for="(item, index) in rankItems" :key="index" class="rank-item">
|
|
9
|
<div class="rank-content">
|
9
|
<div class="rank-content">
|
|
10
|
<div class="rank-label">{{ item.label }}</div>
|
10
|
<div class="rank-label">{{ item.label }}</div>
|
|
@@ -15,7 +15,7 @@
|
|
15
|
</div>
|
15
|
</div>
|
|
16
|
|
16
|
|
|
17
|
<!-- 出勤信息区块 -->
|
17
|
<!-- 出勤信息区块 -->
|
|
18
|
- <div class="attendance-container">
|
|
|
|
|
|
18
|
+ <div class="attendance-container" v-if="!this.userInfo.includes('设备维修中心')">
|
|
19
|
<div class="attendance-grid">
|
19
|
<div class="attendance-grid">
|
|
20
|
<div v-for="(item, index) in attendanceItems" :key="index" class="attendance-item"
|
20
|
<div v-for="(item, index) in attendanceItems" :key="index" class="attendance-item"
|
|
21
|
@click="handleAttendanceClick(item)">
|
21
|
@click="handleAttendanceClick(item)">
|
|
@@ -31,9 +31,9 @@
|
|
31
|
</div>
|
31
|
</div>
|
|
32
|
|
32
|
|
|
33
|
<div class="content">
|
33
|
<div class="content">
|
|
34
|
- <ReportCarousel />
|
|
|
|
|
|
34
|
+ <ReportCarousel v-if="!this.userInfo.includes('设备维修中心')"/>
|
|
35
|
<Notice ref="notice" />
|
35
|
<Notice ref="notice" />
|
|
36
|
- <MessagePush ref="messagePush" />
|
|
|
|
|
|
36
|
+ <MessagePush v-if="!this.userInfo.includes('设备维修中心')" ref="messagePush" />
|
|
37
|
|
37
|
|
|
38
|
<!-- 当 currentDepartment === '设备维修中心' 时显示 SelfCheck 组件 -->
|
38
|
<!-- 当 currentDepartment === '设备维修中心' 时显示 SelfCheck 组件 -->
|
|
39
|
<SelfCheck v-if="this.userInfo.includes('设备维修中心')" />
|
39
|
<SelfCheck v-if="this.userInfo.includes('设备维修中心')" />
|