|
@@ -299,7 +299,7 @@
|
|
<!-- <el-table-column prop="workingTime" label="加班时长" width="180"></el-table-column> -->
|
|
<!-- <el-table-column prop="workingTime" label="加班时长" width="180"></el-table-column> -->
|
|
<el-table-column prop="overtimeHours" 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 prop="cost" label="成本" width="180" v-if="permissions.reportCost"></el-table-column>
|
|
- <el-table-column prop="cost" label="操作" width="180" v-if="permissions.reportCost">
|
|
|
|
|
|
+ <el-table-column prop="cost" label="操作" width="180">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
<el-button icon="el-icon-search" size="mini" circle @click="costBtn(scope.row)"></el-button>
|
|
<el-button icon="el-icon-search" size="mini" circle @click="costBtn(scope.row)"></el-button>
|
|
@@ -431,7 +431,7 @@
|
|
<el-table-column prop="workingTime" label="当天工作时长(h)" width="160"></el-table-column>
|
|
<el-table-column prop="workingTime" label="当天工作时长(h)" width="160"></el-table-column>
|
|
<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="overtimeHours" label="加班时长(h)" width="130"></el-table-column>
|
|
<el-table-column prop="overtimeHours" label="加班时长(h)" width="130"></el-table-column>
|
|
- <el-table-column prop="cost" label="加班成本" width="120"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="cost" label="加班成本" width="120" v-if="permissions.reportCost"></el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|