薪资管理和考勤分析

This commit is contained in:
砂糖
2025-08-09 14:39:14 +08:00
parent 996e8d3258
commit 7e160a1623
22 changed files with 1871 additions and 222 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="96px">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="96px">
<el-form-item label="报工人" prop="nickName">
<el-input
v-model="queryParams.nickName"
@@ -87,21 +87,8 @@
<el-table v-loading="loading" :data="projectReportList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center"/>
<el-table-column label="项目代号" prop="projectCode" width="100" align="center">
<template slot-scope="scope">
<el-tag v-if="scope.row.projectCode==null" type="danger"></el-tag>
<el-tag v-else>{{ scope.row.projectCode }}</el-tag>
</template>
</el-table-column>
<el-table-column label="项目名称" align="center" width="150" prop="projectName">
<template slot-scope="scope">
<span v-if="scope.row.prePay>0"></span>
<span>{{ scope.row.projectName }}</span>
</template>
</el-table-column>
<el-table-column label="项目编号" align="left" prop="projectNum"/>
<el-table-column label="经办人" align="center" prop="nickName">
<template slot-scope="scope">
<template #default="scope">
<span>{{ scope.row.nickName }}
<template v-if="scope.row.deptName!=null">
({{ scope.row.deptName }})
@@ -111,19 +98,19 @@
</el-table-column>
<el-table-column label="工作地点" align="center" prop="workPlace"/>
<el-table-column label="国内/国外" align="center" prop="workType">
<template slot-scope="scope">
<template #default="scope">
<el-tag :type="scope.row.workType===0?'':'warning'">{{ scope.row.workType===0?'国内':'国外' }}
</el-tag>
</template>
</el-table-column>
<el-table-column label="报工时间" align="center" prop="createTime">
<template slot-scope="scope">
<template #default="scope">
<span>{{parseTime(scope.row.createTime,'{y}-{m}-{d}')}}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<template #default="scope">
<el-button
size="mini"
type="text"
@@ -338,7 +325,6 @@ export default {
this.projectReportList = response.rows;
this.total = response.total;
this.loading = false;
this.getProjectList()
this.getDeptList();
});