|
@@ -323,24 +323,6 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<el-table v-if="ins == 6" :key="ins" border :data="overTimeList" highlight-current-row v-loading="listLoading" :height="tableHeight - 30" style="width: 100%;">
|
|
<el-table v-if="ins == 6" :key="ins" border :data="overTimeList" highlight-current-row v-loading="listLoading" :height="tableHeight - 30" style="width: 100%;">
|
|
- <!-- <el-table-column prop="projectCode" label="序号" width="180">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div>
|
|
|
|
- {{scope.$index + 1}}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="projectCode" label="项目编号" width="180"></el-table-column>
|
|
|
|
- <el-table-column prop="username" label="姓名" width="180"></el-table-column>
|
|
|
|
- <el-table-column prop="overtimeHours" label="加班时长" width="180"></el-table-column>
|
|
|
|
- <el-table-column prop="cost" label="成本" width="180" v-if="permissions.reportCost"></el-table-column>
|
|
|
|
- <el-table-column label="操作" width="180">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div>
|
|
|
|
- <el-button icon="el-icon-search" size="mini" circle @click="costBtn(scope.row)"></el-button>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column> -->
|
|
|
|
<el-table-column prop="projectCode" label="序号" width="80">
|
|
<el-table-column prop="projectCode" label="序号" width="80">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
@@ -354,9 +336,21 @@
|
|
<el-table-column prop="username" label="姓名" width="120"></el-table-column>
|
|
<el-table-column prop="username" label="姓名" width="120"></el-table-column>
|
|
<el-table-column prop="departmentName" label="部门" width="140"></el-table-column>
|
|
<el-table-column prop="departmentName" label="部门" width="140"></el-table-column>
|
|
<el-table-column prop="createDate" label="工作日期" width="120"></el-table-column>
|
|
<el-table-column prop="createDate" label="工作日期" width="120"></el-table-column>
|
|
- <el-table-column prop="workingTime" label="工作时长(h)" width="100"></el-table-column>
|
|
|
|
- <el-table-column prop="overtimeHours" label="加班时长(h)" width="100" fixed="right"></el-table-column>
|
|
|
|
- <el-table-column prop="cost" label="加班成本" width="80" v-if="permissions.reportCost" fixed="right"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="workingTime" label="工作时长(h)" width="100" align="right">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span style="padding-right: 15px;">{{scope.row.workingTime.toFixed(1)}}h</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="overtimeHours" label="加班时长(h)" width="100" fixed="right" align="right">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span style="padding-right: 15px;">{{scope.row.overtimeHours.toFixed(1)}}h</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="cost" label="加班成本" width="100" v-if="permissions.reportCost" fixed="right" align="right">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span>¥{{scope.row.cost | numberToCurrency}}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
|
|
|