首页优化

This commit is contained in:
BianLzhaoMin 2025-09-18 13:28:40 +08:00
parent feba0428da
commit dbec005722
3 changed files with 10 additions and 9 deletions

View File

@ -36,9 +36,10 @@ export const importDishonestyPersonAPI = (data) => {
}
// 红绿灯统计 下载模板
export const downloadDishonestyPersonTemplateAPI = () => {
export const downloadDishonestyPersonTemplateAPI = (data) => {
return request({
url: '/bmw/download/workerEinTemplate',
url: '/bonus-file/download',
method: 'GET',
params: data,
})
}

View File

@ -4,7 +4,7 @@
<el-card>
<TitleTip :titleText="'在场人员'" />
<el-row :gutter="10" class="person-presence-content">
<el-col :span="4">
<el-col :span="6">
<div class="item item-1">
<div class="item-title"> 性别分布 </div>
<SexRatio
@ -13,7 +13,7 @@
/>
</div>
</el-col>
<el-col :span="5">
<el-col :span="6">
<div class="item item-2">
<div class="item-title"> 工种分布 </div>
<ItemPie
@ -22,7 +22,7 @@
/>
</div>
</el-col>
<el-col :span="5">
<el-col :span="6">
<div class="item item-3">
<div class="item-title"> 年龄分布 </div>
<ItemPie
@ -31,7 +31,7 @@
/>
</div>
</el-col>
<el-col :span="5">
<el-col :span="6">
<div class="item item-4">
<div class="item-title"> 红黄绿灯占比 </div>
<ItemPie
@ -40,7 +40,7 @@
/>
</div>
</el-col>
<el-col :span="5">
<!-- <el-col :span="5">
<div class="item item-5">
<div class="item-title"> 固定临时人员 </div>
<PersonRatio
@ -48,7 +48,7 @@
@handleOpenDialog="handleOpenDialogFive"
/>
</div>
</el-col>
</el-col> -->
</el-row>
</el-card>

View File

@ -14,7 +14,7 @@
<DataOverviewProject :selectCompany="selectCompany" />
<!-- 人员考勤 -->
<PersonAttendance :selectCompany="selectCompany" />
<!-- <PersonAttendance :selectCompany="selectCompany" /> -->
<!-- 工程信息 -->
<ProjectInfo :selectCompany="selectCompany" />