2024-08-17 12:11:19 +08:00
|
|
|
<template>
|
2025-07-09 18:09:23 +08:00
|
|
|
<div class="app-container home">
|
|
|
|
|
<el-card class="nav-top">
|
|
|
|
|
<nav-top-unit />
|
|
|
|
|
<nav-top-att-worker-count />
|
|
|
|
|
<nav-top-att-online-count />
|
|
|
|
|
<nav-top-att-mgr-count />
|
|
|
|
|
<nav-top-att-real-count />
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
|
<el-card class="nav-body" style="margin-top: 20px">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<nav-attendance-rate />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<nav-att-laborer-rate />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<nav-att-manager-rate />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<nav-att-laborer-trend />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<nav-att-woker-prop />
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<nav-att-job-type-group />
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-card>
|
|
|
|
|
</div>
|
2024-08-17 12:11:19 +08:00
|
|
|
</template>
|
|
|
|
|
|
2025-07-09 18:09:23 +08:00
|
|
|
<script>
|
|
|
|
|
import navTopAttMgrCount from "./indexCompents/navTopAttMgrCount.vue";
|
|
|
|
|
import navTopAttWokerProp from "./indexCompents/navAttWokerProp.vue";
|
|
|
|
|
import navTopAttRealCount from "./indexCompents/navTopAttRealCount.vue";
|
|
|
|
|
import navTopAttWorkerCount from "./indexCompents/navTopAttWorkerCount.vue";
|
|
|
|
|
import navTopUnit from "./indexCompents/navTopUnit.vue";
|
2025-05-13 01:06:27 +08:00
|
|
|
|
2025-07-09 18:09:23 +08:00
|
|
|
import navAttendanceRate from "./indexCompents/navAttendanceRate.vue";
|
|
|
|
|
import navAttLaborerRate from "./indexCompents/navAttLaborerRate.vue";
|
|
|
|
|
import navAttManagerRate from "./indexCompents/navAttManagerRate.vue";
|
2024-08-17 12:11:19 +08:00
|
|
|
|
2025-07-09 18:09:23 +08:00
|
|
|
import navAttLaborerTrend from "./indexCompents/navAttLaborerTrend.vue";
|
|
|
|
|
import navAttWokerProp from "./indexCompents/navAttWokerProp.vue";
|
|
|
|
|
import navAttJobTypeGroup from "./indexCompents/navAttJobTypeGroup.vue";
|
|
|
|
|
import NavTopAttOnlineCount from "./indexCompents/navTopAttOnlineCount.vue";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
navTopAttMgrCount,
|
|
|
|
|
navTopAttWokerProp,
|
|
|
|
|
navTopAttRealCount,
|
|
|
|
|
navTopAttWorkerCount,
|
|
|
|
|
navTopUnit,
|
|
|
|
|
navAttendanceRate,
|
|
|
|
|
navAttLaborerRate,
|
|
|
|
|
navAttManagerRate,
|
|
|
|
|
navAttLaborerTrend,
|
|
|
|
|
navAttWokerProp,
|
|
|
|
|
navAttJobTypeGroup,
|
|
|
|
|
NavTopAttOnlineCount,
|
|
|
|
|
},
|
|
|
|
|
};
|
2024-08-17 12:11:19 +08:00
|
|
|
</script>
|
|
|
|
|
|
2025-07-09 18:09:23 +08:00
|
|
|
<style lang="scss">
|
2024-08-17 12:11:19 +08:00
|
|
|
.home {
|
2025-07-09 18:09:23 +08:00
|
|
|
.el-card__body {
|
|
|
|
|
padding: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
.nav-top {
|
|
|
|
|
.index-nav-top {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
width: calc(20% - 20px);
|
|
|
|
|
margin: 10px;
|
|
|
|
|
height: 100px;
|
|
|
|
|
background-color: #f0f3f8;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
max-width: 300px;
|
|
|
|
|
min-width: 220px;
|
|
|
|
|
.top-icon {
|
|
|
|
|
margin-left: 30px;
|
|
|
|
|
.svg-icon {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
fill: #6bc1da;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.top-data {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
width: calc(100% - 60px);
|
|
|
|
|
.data-title {
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #999;
|
2025-05-13 01:06:27 +08:00
|
|
|
}
|
2025-07-09 18:09:23 +08:00
|
|
|
.data-number {
|
|
|
|
|
line-height: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-08-17 12:11:19 +08:00
|
|
|
}
|
2025-07-09 18:09:23 +08:00
|
|
|
}
|
|
|
|
|
.nav-body {
|
|
|
|
|
.index-nav-body {
|
|
|
|
|
height: 400px;
|
|
|
|
|
background-color: #f0f3f8;
|
|
|
|
|
margin: 10px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
.index-nav-body-title {
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
padding: 6px 0px 0px 10px;
|
|
|
|
|
}
|
|
|
|
|
.chart-content {
|
|
|
|
|
height: calc(100% - 50px);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
.my-chart {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2025-05-13 01:06:27 +08:00
|
|
|
}
|
2025-07-09 18:09:23 +08:00
|
|
|
}
|
2024-08-17 12:11:19 +08:00
|
|
|
}
|
2025-07-09 18:09:23 +08:00
|
|
|
}
|
2024-08-17 12:11:19 +08:00
|
|
|
}
|
|
|
|
|
</style>
|