|
@@ -233,7 +233,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="cardHours" :label="$t('workAttendance') + '(h)'" v-if="user.timeType.showCorpwxCardtime==1||user.timeType.showDdCardtime==1">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.cardHours?scope.row.cardHours.toFixed(1):'-'}}
|
|
|
+ <span :style="scope.row.cardHours != scope.row.reportTime?'color:red':''">{{scope.row.cardHours?scope.row.cardHours.toFixed(1):'-'}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
@@ -242,12 +242,12 @@
|
|
|
<span v-for="(projItem, projIndex) in scope.row.data">{{ projItem.project+'('+projItem.time+'h)' + (projIndex < scope.row.data.length-1?',':'')}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="工作内容" v-if="user.companyId == 469">
|
|
|
+ <el-table-column label="工作内容" v-if="user.companyId == 469" width="480">
|
|
|
<template slot-scope="scope">
|
|
|
- {{scope.row.data.length == 0?'':scope.row.data[0].content}}
|
|
|
+ <span v-for="(item, index) in scope.row.data" style="margin-right:10px;"><b>{{item.project}}</b>{{ ':'+item.content }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="state" :label="$t('state.states')" sortable>
|
|
|
+ <el-table-column prop="state" :label="$t('state.states')" sortable width="200">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.state == 0" style="color:#DAA520;">
|
|
|
<span v-if="user.timeType.reportAuditType == 7">{{ $t('state.WaitingAudit') }}</span>
|